You are not logged in.
Pages: 1
My current install of arch takes up only 3 Gigs (not counting personal data), and I was wondering, if I just partition and install grub on my USB, would I be able to copy over the root partition to the USB?
If the above is indeed possible, what is the safest/quickest/most reliable method for the copying to be done?
Offline
Well, RedScare, you'd have to edit fstab for one thing. Plus there are probably other things I'm not thinking of. I think your best bet is to d/l the aif installer and just install new from your desktop, copy whatever you need from there.
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline
if I just partition and install grub on my USB, would I be able to copy over the root partition to the USB? If the above is indeed possible, what is the safest/quickest/most reliable method for the copying to be done?
Have a look at the Tips section under Arch Linux on my page at http://appstogo.mcfadzean.org.uk/eeepc.html ignoring, of course, the Eee-specific stuff.
Offline
First time I've seen your site ninian. Thanks for the link.
Last edited by Gen2ly (2009-09-15 18:46:04)
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline
Apart from partition and installing grub in the USB, is there anything else that needs to be done in order to make it "bootable"?
Thanks a lot for your help so far.
Offline
Aside from setting up GRUB, if you are using a custom kernel (no initrd), you need to build your kernel with USB and USB Mass Storage device support compiled statically into the kernel. If you are using the stock kernel, or you wish to use initrd, then you need to edit the HOOKS array /etc/mkinitcpio.conf to have the usb hook load after udev. You may want to also add elevator=noop to your kernel parameters in GRUB to increase the performance of the system on your USB stick, as the other schedulers are meant for use on mechanical hard drives.
Offline
My current install of arch takes up only 3 Gigs (not counting personal data), and I was wondering, if I just partition and install grub on my USB, would I be able to copy over the root partition to the USB?
If the above is indeed possible, what is the safest/quickest/most reliable method for the copying to be done?
rsync -a / /path/to/mounted/usb
then edit the fstab
EDIT: Also you might want to use the UUID in fstab and grub, since it won't be system dependent
Last edited by some-guy94 (2009-09-15 23:37:37)
Offline
Well, everything worked wonderfully. I'm just nervous about coming to a system that does not support a 64-bit OS, but those seem relatively rare now.
Offline
Pages: 1