Hi everybody,
I am experiencing a lot of troubles when trying to get GRUB working on my SCSI
hard disk. It works perfectly at home (on an IDE disk). I'm using GRUB 0.5.92
and Linux.
I'll try to explain :
install command doesn't give me any warnings. Here's the info from my kernel
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: hdwr sector= 512 bytes. Sectors= 8890760 [4341 MB] [4.3 GB]
sda: sda1 sda2 < sda5 sda6 sda7 >
And here's the info from /sbin/grub emulator (I hacked it a bit so that it
spits out CHS data for the disk) :
Possible disks are: Disk opened 0x80 (/dev/sda)
Disk read MBR
ioctl worked : C:4341 H:64 S:32
setting defaults
This would indicate that (according to get_diskinfo() in asmstub.c) :
a) GRUB successfuly opened /dev/sda
b) read (disks[drive].flags, buf, 512) worked
c) ioctl (disks[drive].flags, HDIO_GETGEO, &hdg) worked and
disks[drive].(cylinders|heads|sectors|total_sectors) were set
"setting defaults" means that the following were set :
disks[drive].cylinders = DEFAULT_HD_CYLINDERS;
disks[drive].heads = DEFAULT_HD_HEADS;
disks[drive].sectors = DEFAULT_HD_SECTORS;
disks[drive].total_sectors = (DEFAULT_HD_CYLINDERS
* DEFAULT_HD_HEADS
* DEFAULT_HD_SECTORS);
Why does GRUB set the defaults when it found out CHS data with ioctl() above ?
Or am I misinterpreting this ?
Back to my problem : so I use the install command and reboot. Nothing happens,
it looks like my computer has hanged, I have to use ctrl-alt-del to reboot.
I tried using stage1_lba but it gives me "LBA error" message so I can't even
get to the point where I would use the install command.
Any hints are welcome. Thanks in advance.
Goran
--
Writing about music is like dancing about architecture.
-- Frank Zappa