volume group problem (migrating to new disk)
Petr Fischer
petr.fischer at praguesoft.cz
Thu Jan 26 19:11:43 UTC 2006
Hi!
I need to migrate to new notebook hard-disk.
My steps:
1) booted FC4 install CD and created LVM structures with anaconda
100MB boot ext3 partision
100GB LVM partition named "PFNOTES"
4GB logical volume for swap named "SWAP"
96GB logical volume for root filesystem named "ROOT"
2) reformated root parition with reiserfs (/dev/PFNOTES/ROOT)
3) copied old boot and root filesystem to new disk with: cp -ax
4) edited NEW_ROOT/etc/fstab
-----------------------------------
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/PFNOTES/ROOT / reiser defaults 1 1
LABEL=/boot /boot ext3 defaults
1 2
/dev/devpts /dev/pts devpts gid=5,mode=620
0 0
/dev/shm /dev/shm tmpfs defaults
0 0
/dev/proc /proc proc defaults
0 0
/dev/sys /sys sysfs defaults
0 0
/dev/PFNOTES/SWAP swap swap defaults
0 0
/dev/hdb /media/cdrecorder auto
pamconsole,exec,noauto,managed 0 0
-----------------------------------
5) edited NEW_BOOT/grub/grub.conf
-----------------------------------
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
password --md5 $1$E.NaSZHj$t9d9ohA.NZvrnF0oUuM3R.
title Fedora Core (2.6.14-1.1644_FC4)
root (hd0,0)
kernel /vmlinuz-2.6.14-1.1644_FC4 ro root=/dev/PFNOTES/ROOT rhgb
quiet reboot=b
initrd /initrd-2.6.14-1.1644_FC4.img
-----------------------------------
6) unplugged old disk and rebooted - on reboot, error occurs - boot
process was trying to find the old volume group (VolGroup00)
See this screenshot:
http://pf.praguesoft.cz/fotky/temp/boot-VG-search-failed.jpg
What is wrong? Any other config files need to be edited (not only
grub.conf and fstab)? Thanks very much, pf
More information about the fedora-list
mailing list