"Pete" <[EMAIL PROTECTED]> writes:

[...]

> Yes it does ask, but still seems to pick an ide drive. I had a similar
> problem.
> Scenario:
> Mixed ide/scsi system booting from /dev/sda running cooker. Used urpmi
> --auto-select to update cooker. This installed a new kernel and updated
> lilo.conf. Ran lilo before restarting and it complained that /dev/sda was
> not the first drive, unfortnately I ignored the warning. The system
> restarted with LI and stopped. I rebooted with a rescue disk and re-ran

This can be fixed with the following line in /etc/lilo.conf :

disk=/dev/sda bios=0x80

That indicates to LILO that the /dev/sda disk will be seen by BIOS as
first disk at boot time.

> lilo. Once again complained that /dev/sda was not the first drive. Once
> again booted to LI and stopped. I checked the bios to make sure it had not
> changed the boot order, it had not. Booted off the rescue disk again and
> ran drakboot to change to Grub. Grub would not boot either, just hung at
> startup. I needed to actually use the box for something so I grabbed 8.1
> and did a fresh, expert install. When it came to the boot loader section
> it had picked /dev/hda to install the boot loader to. I changed it to
> /dev/sda and finished the install. Restarted after the install and it hung
> displaying LI again. Grabbed a DOS disk and ran fdisk /mbr, booted off the

This is not normal -- Pixel, this appears like a bug in your code, no ?

> rescue disk and re-ran lilo. Complained that /dev/sda was not the first
> disk. Restarted back to the familiar LI screen. Got mad, yanked all my ide
> drives out and reinstalled with only the scsi disks in the system. Worked
> fine this way. :) Plugged my ide drives back in after the reinstall and
> have not had a booting problem since, but I haven't changed my kernel
> since then either and have only rebooted two or three times.

If you ever re-install LILO, it will again think that /dev/sda is second
disk and produce "LI" on boot, unless you use the proposed patch above
(disk=.. bios=0x80).

It works because during install when LILO was run, LILO installed
bootloader seeing that /dev/sda is first disk (since it's the only disk
this seems logical).


-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/

Reply via email to