home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] Re: [oclug] PANIC, My Suse 9.1 Update did not work.....

  • Subject: Re: [OCLUG-Tech] Re: [oclug] PANIC, My Suse 9.1 Update did not work.....
  • From: Martin Hicks <mort [ at ] bork [ dot ] org>
  • Date: Sun, 19 Mar 2006 16:33:49 -0500
On Sun, Mar 19, 2006 at 03:43:18PM -0500, Charles MacDonald wrote:
> >
> >That's what refers to the partition.
> >So, the kernel line only has to say
> >
> >    kernel /boot/vmlinuz
> 
> 
> Trying that at the GRUB prompt gives
> 
> Error 17: Cannot mount Selected partition.
> 

It sounds to me like grub doesn't have the support for the filesystem
that is on /boot.  You need a stage1.5 file for the type of root
filesystem that you're using.  For instance, my /boot/grub:

mort@socrates:~$ ls /boot/grub/
device.map     fat_stage1_5  menu.lst	minix_stage1_5	   stage1  xfs_stage1_5
e2fs_stage1_5  jfs_stage1_5  menu.lst~	reiserfs_stage1_5  stage2

You can see that there are stage 1.5's for ext2, fat, jfs, minix,
reiserfs and xfs.  Check that you've got the correct file for your
filesystem.  Otherwise, maybe you need to do some rescuing and
re-install grub.  I would boot the rescue, and then mount your
partitions,

mkdir /mkroot
mount /dev/hda6 /mkroot   (you might need a "-t reiserfs" or something)
mount /dev/hda1 /mkroot/boot

Then, try chrooting,

chroot /mkroot /bin/bash

Which, should chroot you into your normal root.  And finally, reinstall
grub:

/sbin/grub-install

If that doesn't work, then maybe re-installing the grub RPM wouldn't be
a bad idea.  Do it after you chroot....

rpm -Uvh /path/to/the/rpm/grub-foo..i386.rpm

All of this is totally untested, but it should get you going in the
right direction...

mh

-- 
Martin Hicks || mort [ at ] bork [ dot ] org || PGP/GnuPG: 0x4C7F2BEE