Im using lilo to boot slackware current on /dev/sda5 and debian testing on /dev/sda1.
Slackware on /dev/sdb5 boots fine.
Lilo is installed to the mbr of /dev/sdc.
The debian kernel, config, system.map and initrd.img files are all in /boot/debian on /dev/sda5, the slackware partition and thats where im running lilo from.
My lilo entry for debian:
Code:
image=/boot/debian/vmlinuz-4.1.0-2-amd64
root = /dev/sda1
label=Debian
initrd=/boot/debian/initrd.img-4.1.0-2-amd64
read-only
# restricted
# alias=1
append="fb=false"
Which works unless my external usb drive /dev/sdb is plugged in.
If that drive is plugged in lilo or the boot process or something gets /dev/sda confused with /dev/sdb and cant find the root partition or init.
So as things stand now to boot debian i have to unplug /dev/sdb and plug it back in after boot.
I have already tried including
Code:
disk=/dev/sdb
inaccessible
In lilo.conf so im guessing it isnt lilo.
Is there any way to make lilo or the boot process see /dev/sda1 correctly when /dev/sdb is plugged in?