How to reinstall on SATA after installing on USB

This forum is for all other ARMv5 devices

How to reinstall on SATA after installing on USB

Postby jrinco11 » Tue May 22, 2012 3:03 pm

Hi all,

I have a POGO-B01 and I originally installed onto a USB drive. After using it for a few months and realizing that I have to manually boot the pogoplug back up (due to my flash drive not always being first boot/sda), I've now added an eSata port to install from. However, I'm not entirely sure what I need to do to do this - at first I thought I would just plug in the eSata drive and start from the beginning, but as there's the "DO NOT re-run the installer script if you have already done so" warning at the beginning of the install guide, I wasn't sure where I would need to start... (do I indeed start at step 6 and/or do I skip some of the intermediate steps?)

any suggestions?

thanks!
jrinco11
 
Posts: 6
Joined: Tue May 22, 2012 2:59 pm

Re: How to reinstall on SATA after installing on USB

Postby WarheadsSE » Tue May 22, 2012 3:17 pm

First, let me thank you for reading!

Second: Honestly, it's quite easy, and you don't have to fully re-install.

The only question comes down to: would you like to boot entirely from SATA, including the ability to overclock, simple use the system as is, with the SATA as the rootfs?
- If you simply want to replace the rootfs, then you can simply attach both to another system & use a `cp -ar /path/to/original/ /path/to/new/`
- If you want to have all the bells and whistles, then that process is outlined in the appropriate thread.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: How to reinstall on SATA after installing on USB

Postby jrinco11 » Tue May 22, 2012 9:50 pm

ah perfect - thanks!

for any other noobs like myself, I simply booted a knoppix live cd, plugged in my usb drive and esata drive, used gparted to delete all the old partitions on the esata drive and create a new, single, primary, ext3 partition.

Then from the command line, from within the root of the usb drive (/media/sdd1) I ran the command [media/sdd1] "cp -aR * /media/sbc1" to copy everything to the eSata drive (/media/sbc1). Then, I simply plugged the eSata drive into the pogo plug, along with my existing 2tb usb drive I use for storage, and it started up w/out issue!

thanks WarheadSE
jrinco11
 
Posts: 6
Joined: Tue May 22, 2012 2:59 pm

Re: How to reinstall on SATA after installing on USB

Postby darth » Mon May 28, 2012 6:31 pm

I did half and half. I followed Warheads great instructions to create 2 partitions, one for the kernel and the other for the rootfs. I loaded the kernel as instructed, but I just copied my existing rootfs from my usb key to the second partition. I used my Ubuntu VM and dd rather than cp -ar, but it worked fine, The SATA ssd booted right up and I did not have to reinstall anything. It boots by itself and seems to always boot first no matter what other drives I plug in... nice.

I did have one problem, I don't know if it is related. I tried to install minidlna and pacman replaced udev-oxnas with udev. I had this issue before, but could clear it up by exhaustively running pacman -Syu until it stopped whining. This time, however, after I did that, the SATA drive would not boot, the pogo would not respond via ssh or webmin. Fortunately, I was able to restore the rootfs from my usb key again. I then used the sage advice of Henny Youngman to fix my problem.

Henny: "Doctor, it hurts when I do this!"

Doctor: "Don't do that!"...

I installed minidlna manually and life is good.

Being a complete noob to all things Linux, i have no idea whether I have committed some sort of Cardinal sin in my way of doing this, I can only say that a week of continuous operation has come and gone without any undo grief.
darth
 
Posts: 15
Joined: Thu Apr 05, 2012 1:45 am

Re: How to reinstall on SATA after installing on USB

Postby WarheadsSE » Mon May 28, 2012 7:40 pm

For the moment, when udev replaces udev-oxnas, just run pacman -Syu until its done, then PRIOR to reboot, pacman -Sf udev-oxnas. Initscripts is the the big problem at the moment though.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: How to reinstall on SATA after installing on USB

Postby darth » Tue May 29, 2012 4:57 am

Thank you Warheads. I suspected it was something that simple, My move to a SATA SSD went so smooth, I expected the gods to punish me somewhere! :lol: BTW, the overclocking is working splendid. My pogo is pummeling little 1s and 0s about 1/3 faster without any complaints. My system is far faster due to the overclocking and the SSD, but I have noticed I am running out of real memory. I will need to create a swapfile at some point, I just can't work up much enthusiasm for a usb swap file or partition... sigh.

Thanks again, I doubt I would have accomplished much at all without all your sage advice on this board. You can't imagine the number of crisis' I managed to solve by reading the forums and simply following instructions... who'd a thunk? :mrgreen:
darth
 
Posts: 15
Joined: Thu Apr 05, 2012 1:45 am


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 2 guests