Bug#236093: Further information

Paul Schulz Paul Schulz <pschulz@foursticks.com>, 236093@bugs.debian.org
Mon, 15 Mar 2004 14:05:30 +1030


--=-kra7jwVe1ToJ8u+FXnVV
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi Gustavo,

Some more information.. (sorry for taking so long about this.)=20
See later in file for the results from the test you asked for..

Looks like the missing step with the new package is '--recheck'
The installation works if I do this.

Cheers,
Paul
--
I installed grub onto target machine from deb, after installation
process mentioned previously..

# dpkg -P grub
# dpkg -i grub_0.93+cvs20031021-8_i386.deb

Run Grub..

  grub> root (hd0,0)
   Filesystem type is ext2fs, partition type 0x83
                                                                           =
   =20
  grub> setup (hd0)
   Checking if "/boot/grub/stage1" exists... yes
   Checking if "/boot/grub/stage2" exists... yes
   Checking if "/boot/grub/e2fs_stage1_5" exists... yes
   Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... failed (this is not
fatal)
   Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this is
not fatal)
   Running "install /boot/grub/stage1 (hd0) /boot/grub/stage2 p
/boot/grub/menu.l
st "... succeeded
  Done.

System did not boot.
---
[Aside]
I tryed to build 'grub' from debian sources.. (on a different machine)
> dpkg-buildpackage -rfakeroot -uc

Doing the above again.. I get the same install messages, but=20
when I reboot, I get 'Unrecognised partition: 0x82'
Has my partition table been messed up?

---
I reinstalled, booted from a grub floppy, and=20
used the stable version of 'grub_0.91-2_i386.deb'=20

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

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

This works, and the machine boots correctly.
---
Install unstable version of grub (again).. and try your suggestions.

  # dpkg -P grub
  # dpkg -i grub_0.93+cvs20031021-8_i386.deb

  # grub-install /dev/sda1
  /dev/sda1 does not have any corresponding BIOS drive.

  # grub-install --recheck /dev/sda1
  Probing devices to guess BIOS drives. This may take a long time.
  Installation finished. No error reported.
  This is the contents of the device map /boot/grub/device.map.
  Check if this is correct or not. If any of the lines is incorrect,
  fix it and re-run the script `grub-install'.
=20
  (fd0)   /dev/fd0
  (hd0)   /dev/sda
  (hd1)   /dev/sdb

  # grub-install /dev/sda1
  Installation finished. No error reported.
  This is the contents of the device map /boot/grub/device.map.
  Check if this is correct or not. If any of the lines is incorrect,
  fix it and re-run the script `grub-install'.
=20
  (fd0)   /dev/fd0
  (hd0)   /dev/sda
  (hd1)   /dev/sdb

Reboot.. now it gets as far as diplaying:

  GRUB=20

Powercycle and boot from floppy..
Run grub:
 =20
   grub> root (hd0,0)
   grub> setup (hd0)

(Same messages as previously seen)

Boot now works correctly!=20
[Success.. so is this still a bug?]
--
Does it need an additional comment for 'README.Debian.gz'?

 after installing the package:
=20
 1) grub-install /dev/hda
    or if /boot is a separate partition
    grub-install --root-directory=3D/boot /dev/hda
 =20
    using in place of /dev/hda the device that you boot from=20

+   You may also need to use 'grub-install --recheck /dev/<device>'
+   to recreate the device map after installation.


--=-kra7jwVe1ToJ8u+FXnVV
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBAVSSCR7GbvP4HDg8RAmAEAKDg8r0gQLfx8WNrEmGRhqaIAAnhxgCeIvGA
TeHqTOMHoiqQEr3NEx+1zwg=
=7bIe
-----END PGP SIGNATURE-----

--=-kra7jwVe1ToJ8u+FXnVV--