"My Linux machine at home has 2 hard disks - /dev/hda is a 630MB
disk that came with the machine when I bought it. /dev/hda2 is a
8.1GB disk that I added last year. When I added the new disk, I
moved /home and /usr to the /dev/hdb, leaving / and swap on the
first disk, where they always were. Things were perfect until
recently, when the the smaller disk started showing signs of age
and the machine threw up ominous messages from the IDE driver -
Unrecoverable error on such and such a disk block, this LBA, etc.
etc. Nothing fatal - I could still compose articles and access the
net when the phone and the ISP let me. But I decided to be
proactive and move the / to /dev/hdb before the Unrecoverable error
truly became unrecoverable."
"When you are installing / for the first time, the setup
program copies stuff from CD/floppy/hard disk to the intended /
partition. When you are moving /, you have to do the copying
yourself. Choose the partition you want to make the new /,
make sure there's enough space, make an ext2 file system on it,
then copy stuff from old / to the new partition; tar cvf here and
tar xvf there. That's all? Well, not exactly."
"The next step is trivial, a lull before the storm. You need to
edit the future /etc/fstab and modify the entry for /. All you''ve
achieved so far is to setup the files in your new /. You now need
to arrange things so that your machine will boot into the new
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.