lenny's grub dislikes my /dev/hda5

david manyé dmanye at gmail.com
Thu Jul 3 08:21:09 UTC 2008


hello,

i've done a small netinstall of lenny using d-i rc2 on /dev/hda5. our
lab setup requires that the bootloader must be installed in its own
partition (/dev/hda5) and not in the mbr.

so i've tried with grub-install /dev/hda5 and got:

Searching for GRUB installation directory ... found: /boot/grub
/usr/sbin/grub-install: line 384:  8298 Floating point
exception$grub_shell --batch $no_floppy --device-map=$device_map  >
$log_file <<EOF
dump ${root_drive}${tmp} ${img_file}
quit
EOF
Searching for GRUB installation directory ... found: /boot/grub
/usr/sbin/grub-install: line 384:  8298 Floating point
exception$grub_shell --batch $no_floppy --device-map=$device_map  >
$log_file <<EOF
dump ${root_drive}${tmp} ${img_file}
quit
EOF

/usr/sbin/grub-install: line 384:  8303 Floating point
exception$grub_shell --batch $no_floppy --device-map=$device_map  >
$log_file <<EOF
dump ${root_drive}${tmp} ${img_file}
quit
EOF

/usr/sbin/grub-install: line 384:  8308 Floating point
exception$grub_shell --batch $no_floppy --device-map=$device_map  >
$log_file <<EOF
dump ${root_drive}${tmp} ${img_file}
quit
EOF

/usr/sbin/grub-install: line 384:  8313 Floating point
exception$grub_shell --batch $no_floppy --device-map=$device_map  >
$log_file <<EOF
dump ${root_drive}${tmp} ${img_file}
quit
EOF

/usr/sbin/grub-install: line 384:  8318 Floating point
exception$grub_shell --batch $no_floppy --device-map=$device_map  >
$log_file <<EOF
dump ${root_drive}${tmp} ${img_file}
quit
EOF

The file /boot/grub/stage1 not read correctly.

i get the same results with grub in lenny (0.97-40) and in sid
(0.97-41) either installing on /dev/hda5 or in /dev/hda. i've also
tried with grub2 and surprisingly, grub2 works when installing on
/dev/hda but doesn't when installing on /dev/hda5 that is what i need.

fyi, the filesystem is looks clean. i've done these tests on two
different (ide-based) machines. however, it works if i use grub in
etch (0.97-27).

if you need more info, please ask it.

thanks in advance.

also, i've done these tests in two different machines,



More information about the Pkg-grub-devel mailing list