How to move my / partition

g geleem at bellsouth.net
Wed Feb 17 00:49:30 UTC 2010


> Chris Tyler wrote:
> 
>>> 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.
<snip>
> But unfortunately these are not LVM partitions, as I should have said.

to be *terse*:

read;
 man rsync { note -a -u -v options
 man mkinitrd
 man fstab
 man grub.conf { if there was one :)
 man chroot

with /dev/sda5 mounted, 'rsync' / to /mnt/sda6 [or how ever you have it
mounted].

if you have '/home' on a separate partition, note in 'man rsync' how to
eliminate '/home'. same applies to '/boot'.

after copy, make changes to '/boot/grub/grub.conf' and '/etc/fstab' to
reflect new locations.

'cd' to mounted directory for new '/', run 'chroot', cd to '/boot' and
run 'mkinitrd'.

reboot.

it has been a while that i last ran such, but i do believe that is it.


hth.


-- 

peace out.

tc,hago.

g
.

****
in a free world without fences, who needs gates.
**
help microsoft stamp out piracy - give linux to a friend today.
**
to mess up a linux box, you need to work at it.
to mess up an ms windows box, you just need to *look* at it.
**
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/
****

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 545 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100217/87890904/attachment.bin 


More information about the users mailing list