I have installed kubuntu 8.10 on a small partition on a USB drive, and now I want to move the whole system to a different drive and partition. These will both be external USB drives. I have the internal hard drive configured with grub so I can specify whatever boot device I want. I can copy all the system files over with no problem also. The problem is that if I set the system up on, say, /dev/sda4, and now I want to move it to /dev/sdb1, even though I can get grub to look there, the /dev/sda4 part is apparently hard-coded into the boot files, so it hangs after loading the initrdfs. What I have had to do in the past is reinstall, from scratch, on the new device/parition, and copy the original system files over the top of the new system (except for the boot files). That works, but not very elegant.
So this is really a more general question: How do I generate a new set of boot files, using the same kernel and options I currently have, but specifying that the file system is located on another drive/partition?
(PS I originally posted this on the wrong forum, so I deleted it and moved it here. Sorry if that causes anyone confusion.)
So this is really a more general question: How do I generate a new set of boot files, using the same kernel and options I currently have, but specifying that the file system is located on another drive/partition?
(PS I originally posted this on the wrong forum, so I deleted it and moved it here. Sorry if that causes anyone confusion.)
Comment