Experiencing the Grub Error 17

Paul Smith phhs80 at gmail.com
Mon Oct 22 18:50:48 UTC 2007


On 10/22/07, Michael Schwendt <mschwendt at gmail.com> wrote:
> > Inside the grub prompt, I
> > run, as suggested, the command 'find /grub/grub.conf' and I get
> > (h0,1). Then I run
> >
> > configfile /grub/grub.conf
> >
> > and I get the correct dialog panel to choose the kernel to boot, and
> > it goes though until a kernel panic emerges. My grub.conf file is now:
> >
> > # more /mnt/sdc2/grub/grub.conf
> > default=0
> > timeout=5
> > splashimage=(hd0,1)/grub/splash.xpm.gz
> > hiddenmenu
> > title Fedora (2.6.22.9-91.fc7)
> >         root (hd2,1)
> >         kernel /vmlinuz-2.6.22.9-91.fc7 ro root=/dev/sdc2 rhgb
> >         initrd /initrd-2.6.22.9-91.fc7.img
> > title Fedora (2.6.22.7-85.fc7)
> >         root (hd2,1)
> >         kernel /vmlinuz-2.6.22.7-85.fc7 ro root=/dev/sdc2 rhgb
> >         initrd /initrd-2.6.22.7-85.fc7.img
> >
> > where should I insert
> >
> > map (hd0) (hd2)
> > map (hd2) (hd0)
>
> after each of the "title" lines.
>
> > and what should I do to avoid the kernel panic? I suspect that
> > something is wrong with 'root=/dev/sdc2'.
>
> This root= is a Linux kernel parameter and must point to your system's
> root partition, which is LVM (on sdc3). It is not sdc2, which is only
> your /boot partition.

With replacing

kernel /vmlinuz-2.6.22.9-91.fc7 ro root=/dev/sdc2 rhgb

with

kernel /vmlinuz-2.6.22.9-91.fc7 ro root=/dev/sda1 rhgb

I could boot in /dev/sda1 where there is a copy of /dev/sdc3.

I would prefer to use /dev/sda for F7 instead of using /dev/sdc, as
/dev/sda is much larger. If I make a copy of the partition /dev/sdc2
in a partition inside /dev/sda, should I expect F7 working fine fully
on /dev/sda? If so, where should I configure that the two partitions
in /dev/sda are two logical volumes?

Paul




More information about the users mailing list