Boot disk moved from front to back. Fix?

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

Re: Boot disk moved from front to back. Fix?

Postby yazyazoo » Sat Mar 02, 2013 4:20 am

Socaltom,

I followed your directions to reinstall on the USB drive but am having a problem now. I can get to the install and do the reboot and login with root/root and get to the alarm prompt.

However if I unplug the Pogoplug it loses everything and I can only SSH in with root/ceadmin. I thought I was done and tried to move the Pogoplug where I needed it and found out it wasn't working. I tried to install again and same thing. I can use reboot command and get to alarm prompt. If I unplug then it is as if it was never installed on the USB stick.

Thanks.
yazyazoo
 
Posts: 78
Joined: Fri Sep 07, 2012 5:19 pm

Re: Boot disk moved from front to back. Fix?

Postby moonman » Sat Mar 02, 2013 9:47 am

On a V2 the recommended port is the back-bottom because in case you have multiple storage devices connected that port gets initialized first. I see you created ext3 filesystem with mke2fs -j. Did you change U-Boot environment variable "usb_rootfstype" to tell kernel that your boot device is ext3?

$this->bbcode_second_pass_code('', '/usr/sbin/fw_setenv usb_rootfstype 'ext3'')

It theory you can mount ext3 as ext2, but it doesn't hurt to make it right and this should avoid some other errors due to using a plain ext2
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Boot disk moved from front to back. Fix?

Postby yazyazoo » Sat Mar 02, 2013 6:51 pm

Ok moved it to the back and typed in that command for ext3 moonman. Worked even after unplugging the power and rebooting. Thanks!
yazyazoo
 
Posts: 78
Joined: Fri Sep 07, 2012 5:19 pm

Re: Boot disk moved from front to back. Fix?

Postby guiyoforward » Tue Mar 05, 2013 9:10 pm

Hi, this seems to be a very common problem, shouldn't this be made into a sticky and/or put into the arch linux install page?

BTW, having to reinstall because of removing a usb key is kind of annoying. Is there a fix to this?

Thanks
guiyoforward
 
Posts: 15
Joined: Tue Mar 05, 2013 8:45 pm

Re: Boot disk moved from front to back. Fix?

Postby yazyazoo » Tue Mar 05, 2013 9:26 pm

What I wish was a way to subscribe to threads on this forum that way we could save threads that are useful to use.
yazyazoo
 
Posts: 78
Joined: Fri Sep 07, 2012 5:19 pm

Re: Boot disk moved from front to back. Fix?

Postby pepedog » Tue Mar 05, 2013 10:36 pm

There is, second line from bottom
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Boot disk moved from front to back. Fix?

Postby yazyazoo » Wed Mar 06, 2013 12:48 am

Thanks! I thought I looked the whole page and couldn't see that option!
yazyazoo
 
Posts: 78
Joined: Fri Sep 07, 2012 5:19 pm

Re: Boot disk moved from front to back. Fix?

Postby bugnmui » Thu Mar 07, 2013 7:29 am

$this->bbcode_second_pass_quote('', 'T')he SSH key of your device will be different, so you need to tell Mac OS X or Linux to remove it from ~/.ssh/known_hosts before using SSH again:
ssh-keygen -R 192.168.1.123 # Use your device's IP


Hi, so I just tried to install archlinux on the E02 but now I can't get back in to SSH. I see the SSH key is different now. Does that mean new username/password? How do I remove it from the known hosts if I can't get into SSH?

Thanks in advance.
bugnmui
 
Posts: 1
Joined: Thu Mar 07, 2013 7:23 am

Re: Boot disk moved from front to back. Fix?

Postby moonman » Thu Mar 07, 2013 8:31 am

That's normal, just update they key locally. known_hosts is a local file and on linux/mac only.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Previous

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 16 guests