>>> I want to move the / partition on a (very ancient) Fedora-12 desktop
>>> from one SCSI disk to another (/dev/sdb3 to /dev/sda6),
>>> because the second disk is showing some signs of sickness.
>>> Any help or suggestions gratefully received.
>> You may want to take a look at the gparted project - they have hard
>> drive install documentation as well, as CD/USB/PXE boot images.
> I followed this advice, which enabled me to run the gparted Live CD
> from my hard disk.
> I found I had to choose the command-line interface,
> as if I chose the default X interface I was asked for the root password,
> which I did not know. (Pressing Return did not work.)
> However, the command-line interface opened with root as user.
> I copied my current / to the new partition with "cp -a".
> I then added a new stanza to grub.conf with root=UUID=<new UUID>,
> and made a similar change to fstab.
> To my surprise, when I re-booted I found it was with the old / ,
> and /etc/fstab had been re-written with the old UUID.
> (/boot/grub/grub.conf still had the new UUID, but this was ignored.)
The system, with / on the new partition, seems to be working fine.
[I followed Mikkel's advice, and used the gparted Live CD on the hard disk,
copying the old system to its new place with "cp -a".]
I found that I had made a silly mistake;
I had modified the old /etc/fstab rather than the new one.
However, I am surprised that the root=UUID=... in the kernel line
in /boot/grub/grub.conf does not seem to have any effect;
if there is a conflict with /etc/fstab it is the latter that is followed.
Also, there did not seem to be any need to modify initrd in any way -
I am using the same one with no change.
I'm not sure why it should be necessary to modify initrd?
I opened mine up, and it did not seem to contain any mention of sda or sdb .
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
users mailing list
To unsubscribe or change subscription options: