On Sun, 2006-10-15 at 22:24 +1300, David Harrison wrote:
Hello, I am running OpenSUSE 10 with an LVM root partition named /dev/sys/ system. I want to change my root partition from the /dev/sys/system volume to /dev/sys/primary.
The /dev/sys/primary partition is all setup and the required files exist on it. I have edited grub so the entry looks like the following:
title SUSE LINUX 10.0 root (hd0,0) kernel /vmlinuz root=/dev/sys/primary selinux=0 splash=silent showopts initrd /initrd
On rebooting I receive a kernel panic saying "could not find record for sys/primary in database". This is strange because the message just beforehand states that the volume group sys has been activated and the correct number of volumes (6) found.
I am guessing it is an issue with the initrd file. I have rebuilt the initrd file using the command: mkinitrd -k vmlinuz-2.6.13-15.12-default -i initrd-2.6.13-15.12- default -d /dev/sys/primary
The rebuild had no effect, the system will happily boot into /dev/sys/ system if asked to but will not recognize /dev/sys/primary.
I'm sure that I'm missing out a step or mkinitrd switch, can anyone help?
This is just a long shot as I don't use LVM. Try using: chroot /dev/sys/primary before issuing the mkinitrd command. There may be other underlying files that have to be modified as well. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org