apgw
asked on
Mandrake 9.2 lilo "9A 9A" on boot
I recently created a boot diskette following the directions on the Mandrake site: "...install LILO onto the MBR of a floppy by executing the following as root:
lilo -v -b /dev/fd0
But now it will only boot from this diskette. Without it I am getting a screen full of "9A 9A..." and then a freeze.
Looking at the manual, I see that the -b has changed the boot device to the floppy which was intended to serve as a backup only. Also from the manual: "...map file is not readable, likely because LILO was not re-run after some system change."
Starting this week the server is now hosting some websites, so more experiments are out. Does anyone have the exact "re-run" parameters to set it to boot from the hard disk and still retain the floppy for emergencies?
The lilo.conf:
boot=/dev/hdc
map=/boot/map
default="linux"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hdc1
initrd=/boot/initrd.img
append="devfs=mount splash=silent acpi=ht splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hdc1
initrd=/boot/initrd.img
append="devfs=mount splash=silent acpi=ht"
read-only
image=/boot/vmlinuz-secure
label="linux-secure"
root=/dev/hdc1
initrd=/boot/initrd-secure .img
append="devfs=mount splash=silent acpi=ht splash=silent"
read-only
image=/boot/vmlinuz-smp
label="linux-smp"
root=/dev/hdc1
initrd=/boot/initrd-smp.im g
append="devfs=mount splash=silent acpi=ht splash=silent"
read-only
image=/boot/vmlinuz-2.4.22 -10mdk
label="old_linux-nonfb"
root=/dev/hdc1
initrd=/boot/initrd-2.4.22 -10mdk.img
append="devfs=mount acpi=ht"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hdc1
initrd=/boot/initrd.img
append="devfs=nomount splash=silent acpi=ht failsafe"
read-only
other=/dev/fd0
label="floppy"image=/boot/ vmlinuz-2. 4.22-10mdk
label="old_linux-nonfb"
root=/dev/hdc1
initrd=/boot/initrd-2.4.22 -10mdk.img
append="devfs=mount acpi=ht"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hdc1
initrd=/boot/initrd.img
append="devfs=nomount splash=silent acpi=ht failsafe"
read-only
other=/dev/fd0
label="floppy"
unsafe
lilo -v -b /dev/fd0
But now it will only boot from this diskette. Without it I am getting a screen full of "9A 9A..." and then a freeze.
Looking at the manual, I see that the -b has changed the boot device to the floppy which was intended to serve as a backup only. Also from the manual: "...map file is not readable, likely because LILO was not re-run after some system change."
Starting this week the server is now hosting some websites, so more experiments are out. Does anyone have the exact "re-run" parameters to set it to boot from the hard disk and still retain the floppy for emergencies?
The lilo.conf:
boot=/dev/hdc
map=/boot/map
default="linux"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hdc1
initrd=/boot/initrd.img
append="devfs=mount splash=silent acpi=ht splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hdc1
initrd=/boot/initrd.img
append="devfs=mount splash=silent acpi=ht"
read-only
image=/boot/vmlinuz-secure
label="linux-secure"
root=/dev/hdc1
initrd=/boot/initrd-secure
append="devfs=mount splash=silent acpi=ht splash=silent"
read-only
image=/boot/vmlinuz-smp
label="linux-smp"
root=/dev/hdc1
initrd=/boot/initrd-smp.im
append="devfs=mount splash=silent acpi=ht splash=silent"
read-only
image=/boot/vmlinuz-2.4.22
label="old_linux-nonfb"
root=/dev/hdc1
initrd=/boot/initrd-2.4.22
append="devfs=mount acpi=ht"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hdc1
initrd=/boot/initrd.img
append="devfs=nomount splash=silent acpi=ht failsafe"
read-only
other=/dev/fd0
label="floppy"image=/boot/
label="old_linux-nonfb"
root=/dev/hdc1
initrd=/boot/initrd-2.4.22
append="devfs=mount acpi=ht"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hdc1
initrd=/boot/initrd.img
append="devfs=nomount splash=silent acpi=ht failsafe"
read-only
other=/dev/fd0
label="floppy"
unsafe
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.