[Bug 27513] Re: grub error 22 when trying to boot to hde

dino99 27513 at bugs.launchpad.net
Fri Jan 2 16:18:59 UTC 2015


outdated report & no more maintained distro; please send a new one if
that issue still exist (using ubuntu-bug)

** Changed in: grub (Ubuntu)
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub in Ubuntu.
https://bugs.launchpad.net/bugs/27513

Title:
  grub error 22 when trying to boot to hde

Status in grub package in Ubuntu:
  Invalid

Bug description:
  Grub was working without any bother when I had Gentoo Linux installed on the
  very same machine.

  The computer has 2 * standard IDE plus 2 * Highpoint IDE controller.  I have
  CDROM on hda and mirrored hard disks on hde and hdg (the Highpoint).  Disks have
  just 3 primary partitions each: /boot, swap, /.

  /boot/grub/device.map says:-

  (fd0) /dev/fd0
  (hd0) /dev/hde
  (hd1) /dev/hdg

  This is what I do with grub to make a boot floppy on a floppy that has an empty
  ext2 fs on it:-

  grub> root (

   Possible disks are:  fd0 hd0 hd1

  grub> root (hd0,0)
   Filesystem type is ext2fs, partition type 0xfd

  grub> kernel /vmlinuz-2.6.12-9-386 root=/dev/md2
     [Linux-bzImage, setup=0x1c00, size=0x124b0e]

  grub> initrd /initrd.img-2.6.12-9-386

  Error 16: Inconsistent filesystem structure  {I didn't always get this message
  and sometimes still don't}

  grub> setup (fd0)
   Checking if "/boot/grub/stage1" exists... no
   Checking if "/grub/stage1" exists... yes
   Checking if "/grub/stage2" exists... yes
   Checking if "/grub/e2fs_stage1_5" exists... yes
   Running "embed /grub/e2fs_stage1_5 (fd0)"... failed (this is not fatal) Running
  "embed /grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal) Running "install
  /grub/stage1 d (fd0) /grub/stage2 p /grub/menu.lst "...
  succeeded
  Done.

  grub>

  This works fine and the computer boots up from floppy.

  If I do exactly the same except:-

  grub>setup (hd0)

  grub says that it has installed the bootloader successfully just as above, but
  when I try to boot without the floppy I get:-

  GRUB Loading stage1.5.
  GRUB loading, please wait...
  Error 22

  I have tried changing the device.map so that (hd4) is /dev/hde and guess some
  different (hdx) to try to get it to work, but without success.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/27513/+subscriptions



More information about the foundations-bugs mailing list