[prev in list] [next in list] [prev in thread] [next in thread]
List: opensuse
Subject: SPAM: Re: [opensuse] Changing the root partition to a different LVM
From: Kenneth Schneider <suse-list3 () bout-tyme ! net>
Date: 2006-10-15 15:52:55
Message-ID: 1160927575.1330.2.camel () pc5 ! bout-tyme ! net
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic