Bug#296024: Can't install grub on USB

Harald Dunkel Harald Dunkel <harald.dunkel@t-online.de>, 296024@bugs.debian.org
Sat, 19 Feb 2005 20:10:36 +0100


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig9A781268A42DA0F9FC4F03EE
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Package: grub
Version: 0.95+cvs20040624-14

Platform: amd64 (gcc-3.4)


Hi folks,

If I try to install grub as described on

http://www.gnu.org/software/grub/manual/grub.html#Installing%20GRUB%20natively

on an USB memory stick, then grub dies with a core dump.


# sfdisk -l /dev/sdd

Disk /dev/sdd: 1000 cylinders, 16 heads, 32 sectors/track
Units = cylinders of 262144 bytes, blocks of 1024 bytes, counting from 0

    Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdd1   *      0+    998     999-    255743+  83  Linux
/dev/sdd2          0       -       0          0    0  Empty
/dev/sdd3          0       -       0          0    0  Empty
/dev/sdd4          0       -       0          0    0  Empty
# mount /dev/sdd1 /mnt
# grub
Probing devices to guess BIOS drives. This may take a long time.


     GNU GRUB  version 0.95  (640K lower / 3072K upper memory)

  [ Minimal BASH-like line editing is supported.  For the first word, TAB
    lists possible command completions.  Anywhere else TAB lists the possible
    completions of a device/filename. ]
grub> root (hd1,0)
root (hd1,0)
  Filesystem type is reiserfs, partition type 0x83
grub> setup (hd1)
setup (hd1)
  Checking if "/boot/grub/stage1" exists... yes
  Checking if "/boot/grub/stage2" exists... yes
  Checking if "/boot/grub/reiserfs_stage1_5" exists... yes
  Running "embed /boot/grub/reiserfs_stage1_5 (hd1)"... failed (this is not fatal)
  Running "embed /boot/grub/reiserfs_stage1_5 (hd1,0)"... failed (this is not fatal)
Segmentation fault (core dumped)


(install-grub doesn't work either. It doesn't print an error message,
but the boot sector is not touched.)


Regards

Harri

--------------enig9A781268A42DA0F9FC4F03EE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCF48xUTlbRTxpHjcRAm1ZAJ4/W7qidYlDGgN6x08CjWc8bhwxsACfe1ew
F23JblbYjGwwotqaI1dlTbs=
=Bh5/
-----END PGP SIGNATURE-----

--------------enig9A781268A42DA0F9FC4F03EE--