First install: Grub doesn't find partitions

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bertram Scharpf
Date: Sunday, October 28, 2007 - 6:38 pm

Hi,


I just installed OpenBSD on a i386 from cd41.iso as
described in the FAQ, chapter 4.

When I restart the system from the CD all OpenBSD partitions
show up properly and I can chroot into /mnt after I mounted
them.

However, Grub refuses to recognize any of the OpenBSD
partitions. A Linux resides on the same disk that cannot
mount any of these partitions either.

Grub's error messages are

  grub> root (hd1,^I
   Possible partitions are:
     Partition num: 0,  Filesystem type is ext2fs, partition type 0x83
     Partition num: 1,  Filesystem type unknown, partition type 0x82
     Partition num: 4,  Filesystem type is ext2fs, partition type 0x83
     Partition num: 5,  No BSD sub-partition found, partition type 0xa6
     Partition num: 6,  Filesystem type unknown, partition type 0x8e

  grub> root (hd1,5,a)

  Error 5: Partition table invalid or corrupt

  grub> rootnoverify (hd1,5,a)

  grub> cat /

  Error 17: Cannot mount selected partition

Here is a `sfdisk' (Linux) output:

  /dev/hdb1 : start=        1, size=    32255, Id=83
  /dev/hdb2 : start=    32256, size=  2096640, Id=82
  /dev/hdb3 : start=  2128896, size=117974304, Id= 5
  /dev/hdb4 : start=        0, size=        0, Id= 0
  /dev/hdb5 : start=  2128897, size=  4194287, Id=83
  /dev/hdb6 : start=  6323185, size= 37748591, Id=a6, bootable
  /dev/hdb7 : start= 44071777, size= 76031423, Id=8e

And here is what I entered into `disklabel':

          start       size     mountpoint
  wd1a   6323185     524159    /
  wd1b   6847344     524160    (swap)
  wd1d   7371504     524160    /tmp
  wd1e   7895664   12582864    /usr
  wd1f  20478528    8388576    /home

_All_ quantities are in sectors.

Could someone please enlighten me

  - where disklabel stores the partition information
    (The mountpoint information appears in /tmp/fdisk.wd1),
  - where Grub expects to find it,
  - what further goes wrong here?

Thanks in advance,

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
First install: Grub doesn't find partitions, Bertram Scharpf, (Sun Oct 28, 6:38 pm)
Re: First install: Grub doesn't find partitions, Bertram Scharpf, (Mon Oct 29, 2:44 am)
Re: First install: Grub doesn't find partitions, Pau Amaro-Seoane, (Mon Oct 29, 3:01 am)
Re: First install: Grub doesn't find partitions, Bertram Scharpf, (Mon Oct 29, 4:36 am)
Re: First install: Grub doesn't find partitions, michael hamerski, (Mon Oct 29, 8:13 am)
Re: First install: Grub doesn't find partitions, Pau Amaro-Seoane, (Mon Oct 29, 9:15 am)
Re: First install: Grub doesn't find partitions, Andrew Daugherity, (Mon Oct 29, 9:54 am)
Re: First install: Grub doesn't find partitions, Pau Amaro-Seoane, (Mon Oct 29, 10:08 am)
Re: First install: Grub doesn't find partitions, Bertram Scharpf, (Mon Oct 29, 12:01 pm)
Re: First install: Grub doesn't find partitions, Pau Amaro-Seoane, (Mon Oct 29, 1:12 pm)
Re: First install: Grub doesn't find partitions, Bertram Scharpf, (Mon Oct 29, 4:35 pm)