goflex net doesn't boot if sata drive is plugged in..

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

goflex net doesn't boot if sata drive is plugged in..

Postby TheDurtch » Sun May 06, 2012 6:54 am

i am using a usb as rootfs and i have a sata drive plugged in as storage and contains a swapfile, when i try to boot if i have the sata drive plugged in it doesn't boot, maybe i am not giving it enough time to boot (5 -10 min), but i am thinking that i may be trying to make the sata drive be sda and rootfs sdb. my goflex is a ftp server for my eye-fi card, and i am planning on going to japan for a few years and so if the power fails i can't really go a pull out the drive and remount it while i am on the other side of the planet. i am still very new at this so any help and/or advice would be very appreciated.
TheDurtch
 
Posts: 28
Joined: Wed May 02, 2012 2:59 pm

Re: goflex net doesn't boot if sata drive is plugged in..

Postby WarheadsSE » Sun May 06, 2012 4:51 pm

1) I'd suggest a UPS then, definitely.
2) You're probably quite right. Look at the advanced tab on the installation instructions for debugging bootup.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: goflex net doesn't boot if sata drive is plugged in..

Postby kmihelich » Sun May 06, 2012 5:58 pm

If you have a SATA drive there, use that for the rootfs too. That flash drive is far more likely to fail on you than the spinning disk. If I was trusting a plug to do something while I was gone, it definitely wouldn't be running from a flash drive.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: goflex net doesn't boot if sata drive is plugged in..

Postby TheDurtch » Tue May 08, 2012 6:36 am

$this->bbcode_second_pass_quote('WarheadsSE', '1')) I'd suggest a UPS then, definitely.


good idea

$this->bbcode_second_pass_quote('kmihelich', 'I')f you have a SATA drive there, use that for the rootfs too. That flash drive is far more likely to fail on you than the spinning disk. If I was trusting a plug to do something while I was gone, it definitely wouldn't be running from a flash drive.


how would i move it over to the other drive without having to reinstall everything. i'll just take the stuff on it and put in to the folder that it will be mounted too, and i do have another computer running linux, and my SATA is ext2 i have been reading how to convert it over to ext3.
TheDurtch
 
Posts: 28
Joined: Wed May 02, 2012 2:59 pm

Re: goflex net doesn't boot if sata drive is plugged in..

Postby kmihelich » Tue May 08, 2012 6:52 am

Converting to ext3 is just as simple as running `tune2fs -j /dev/sdxx`. For best results in migrating, pop both drives into another computer running linux, assume root (su or sudo su), mount both drives, then `cp -a /old/* /new` and wait. Once everything from the flash drive is on the hard drive, label the partition so the GFN bootloader will pick it up, `tune2fs -L "rootfs" /dev/sdxx`. Pop the SATA drive into the right slot (looking from the front) and power on. Should be right where you left off.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: goflex net doesn't boot if sata drive is plugged in..

Postby tomcheng76 » Tue May 08, 2012 11:07 am

$this->bbcode_second_pass_quote('kmihelich', 'C')onverting to ext3 is just as simple as running `tune2fs -j /dev/sdxx`. For best results in migrating, pop both drives into another computer running linux, assume root (su or sudo su), mount both drives, then `cp -a /old/* /new` and wait. Once everything from the flash drive is on the hard drive, label the partition so the GFN bootloader will pick it up, `tune2fs -L "rootfs" /dev/sdxx`. Pop the SATA drive into the right slot (looking from the front) and power on. Should be right where you left off.


A little off topic. I want to know when a 'sync' command should be used ? sometimes i see this command happens, is it for drives that are using write cache? should i call the sync command before umount if thousands of files is copied before ?
tomcheng76
 
Posts: 130
Joined: Mon Dec 13, 2010 11:24 am
Top

Re: goflex net doesn't boot if sata drive is plugged in..

Postby WarheadsSE » Tue May 08, 2012 12:37 pm

Unless I am mistaken, sync causes a flush, which is also caused by unmount.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: goflex net doesn't boot if sata drive is plugged in..

Postby TheDurtch » Tue May 08, 2012 4:30 pm

$this->bbcode_second_pass_quote('kmihelich', 'C')onverting to ext3 is just as simple as running `tune2fs -j /dev/sdxx`. For best results in migrating, pop both drives into another computer running linux, assume root (su or sudo su), mount both drives, then `cp -a /old/* /new` and wait. Once everything from the flash drive is on the hard drive, label the partition so the GFN bootloader will pick it up, `tune2fs -L "rootfs" /dev/sdxx`. Pop the SATA drive into the right slot (looking from the front) and power on. Should be right where you left off.


so the right slot is the #1 and left is #2? I will be add a bigger drive to it and i don't want to run to the same problem later on.
TheDurtch
 
Posts: 28
Joined: Wed May 02, 2012 2:59 pm
Top

Re: goflex net doesn't boot if sata drive is plugged in..

Postby kmihelich » Tue May 08, 2012 4:33 pm

That's correct, when looking from the front.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: goflex net doesn't boot if sata drive is plugged in..

Postby TheDurtch » Tue May 08, 2012 6:03 pm

how do i make a "shortcut" of a directory cause i had my SATA drive mounted in 2 places
TheDurtch
 
Posts: 28
Joined: Wed May 02, 2012 2:59 pm

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 9 guests