Can't access original file system to do fresh install

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Can't access original file system to do fresh install

Postby redhydralisk » Wed Jul 04, 2012 9:59 am

Hi,

I installed Linux Arch Linux ARM install years ago on my dockstar, and I'd like to update it to the latest version. Here's what I have now:

$this->bbcode_second_pass_code('', '[root@Arch Linux ARM install ~]# uname -a
Linux Arch Linux ARM install 2.6.38 #1 PREEMPT Tue May 17 00:39:39 MDT 2011 armv5tel Feroceon 88FR131 rev 1 (v5l) Marvell SheevaPlug Reference Board GNU/Linux')

I installed it to a usb stick. When I try to boot the dockstar without the usb stick, it doesn't get an IP (starts out flashing green, then flashes yellow). Is there a way for me to access the original file system to see if I had set a static IP in a different subnet than my LAN?

Thanks.
redhydralisk
 
Posts: 10
Joined: Mon Apr 26, 2010 11:23 am

Re: Can't access original file system to do fresh install

Postby pepedog » Wed Jul 04, 2012 11:24 am

Is your original stick gone?
When you said
$this->bbcode_second_pass_quote('', 'H')ere's what I have now:

the info was available, but take note that setting static has changed in rc.conf
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Can't access original file system to do fresh install

Postby redhydralisk » Wed Jul 04, 2012 6:43 pm

Sorry for the confusion. I'd like to boot to the original out-of-the-box OS so that I can follow the steps to install the latest archlinux OS located here:

http://archlinuxarm.org/platforms/armv5 ... e-dockstar

I can only access my system when I have my USB connected with the old Arch Linux ARM install linux OS. When I remove the USB stick to try to access the original out-of-the-box OS, I am unable to access it.

Thanks.
redhydralisk
 
Posts: 10
Joined: Mon Apr 26, 2010 11:23 am

Re: Can't access original file system to do fresh install

Postby pepedog » Wed Jul 04, 2012 7:12 pm

you can boot the old stick an complete the rootfs install from that (slightly changed).

$this->bbcode_second_pass_code('', 'sbin/fdisk /dev/sdb

5.At the fdisk prompt, delete old partitions and create a new one:

a.Type o. This will clear out any partitions on the drive.
b.Type p to list partitions. There should be no partitions left.
c.Now type n, then p for primary, 1 for the first partition on the drive, and then press ENTER, accepting default values.
d.Exit by typing w.

6.Create the ext2 filesystem:
mkfs.ext3 /dev/sdb1
mkdir usb
mount /dev/sdb1 usb

7.Download and install Arch Linux ARM:
cd usb
wget http://archlinuxarm.org/os/ArchLinuxARM-armv5te-latest.tar.gz
tar -xzvf ArchLinuxARM-armv5te-*.tar.gz # This will take a long time
rm ArchLinuxARM-armv5te-*.tar.gz
sync # Takes a while when using a flash drive

8.Reboot into Arch Linux ARM after halting and removing old stick')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Can't access original file system to do fresh install

Postby redhydralisk » Wed Jul 04, 2012 7:30 pm

Thanks pepedog. Stupid question...so I can perform an installation on the same usb stick that I booted from? To me, that doesn't seem possible as the installation could overwrite necessary files needed by the currently running old OS. But I might be missing some key factor that makes this possible.
redhydralisk
 
Posts: 10
Joined: Mon Apr 26, 2010 11:23 am

Re: Can't access original file system to do fresh install

Postby pepedog » Wed Jul 04, 2012 7:47 pm

No, your old stick is sda, new one is sdb.
When you boot new stick, it will be sda
2 sticks
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Can't access original file system to do fresh install

Postby redhydralisk » Wed Jul 04, 2012 8:11 pm

Got it. Will try it. Thanks again! :)
redhydralisk
 
Posts: 10
Joined: Mon Apr 26, 2010 11:23 am

Re: Can't access original file system to do fresh install

Postby redhydralisk » Thu Jul 05, 2012 5:25 pm

Worked like a charm, thanks a bunch! :mrgreen:
redhydralisk
 
Posts: 10
Joined: Mon Apr 26, 2010 11:23 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 2 guests

cron