Bug#297480: grub: doesn't boot with Error 17
Mattia
Mattia <mattia.list@quipo.it>, 297480@bugs.debian.org
Mon, 28 Feb 2005 23:48:41 +0100
Package: grub
Version: 0.95+cvs20040624-15
Severity: important
Hi,
I installed grub in this way in the MBR:
=========================================================
grub> root (hd0,1)
Filesystem type is reiserfs, partition type 0x83
grub> setup (hd0)
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 (hd0)"... 18 sectors
are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+18 p
(hd0,1)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub> quit
=========================================================
but when I reboot I have:
--------------------------------
Grub is loading. Please wait...
Error 17
--------------------------------
According to 'info grub', this is a problem with my partition not been
recognized.
My root partition is /dev/hda2:
$ cat /etc/fstab |grep hda2
/dev/hda2 / reiserfs defaults 0
1
$ ls -l /dev/hda2
lr-xr-xr-x 1 root root 33 2005-02-28 21:05 /dev/hda2 ->
ide/host0/bus0/target0/lun0/part2
$ cat /boot/grub/device.map
(hd0) /dev/ide/host0/bus0/target0/lun0/disc
(hd1) /dev/scsi/host0/bus0/target0/lun0/disc
The boot dir is in the same partition of "/".
I'm using devfs.
The hard disk is a Maxtor:
hda: Maxtor 6Y160P0, ATA DISK drive
This hard disk is set as master: could this be the problem?
I have successfully installed grub in a floppy.
Tell me if you need more info.
Regards,
Mattia.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10--bymattia
Locale: LANG=it_IT@euro, LC_CTYPE=it_IT@euro (charmap=ISO-8859-15)
Versions of packages grub depends on:
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libncurses5 5.4-4 Shared libraries for terminal hand
-- no debconf information