lilo.conf syntax error
I have Mandrake 8.2 on my primary drive and windows 98 on my second one.
The error I get when I run lilo to set things up is: Value expected for 'to' at or above line 29 in file /etc/lilo.conf Line 29 is the first "map-drive" statement. I obviously have the syntax wrong somehow, but I copied this directly from the lilo.conf man page. What do I need to change to fix this error? OR If you are currently dual booting win95/98 with with linux on hda and windows on hdb please post your lilo.conf so I can compare it with mine. Thanks! ------------------------------------- Here is my /ect/lilo.conf boot=/dev/hda map=/boot/map install=/boot/boot.b vga=normal default=linux keytable=/boot/us.klt lba32 prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label=linux root=/dev/hda1 initrd=/boot/initrd.img append="devfs=mount" read-only image=/boot/vmlinuz label=failsafe root=/dev/hda1 initrd=/boot/initrd.img append="failsafe devfs=nomount" read-only other=/dev/fd0 label=floppy unsafe other=/dev/hdb1 map-drive=0x80 to 0x81 map-drive=0x81 to 0x80 table=/dev/hdb label=Win95 |
why don't you try taking that out? I don't have it in mine, I"m booting win2k (extremly rarely) & slack 8.1. What happens when you take it out? (remember to run /sbin/lilo again!)
|
|
it's easy
grub |
Make that section look like this:
other=/dev/hdb1 map-drive=0x80 to=0x81 map-drive=0x81 to=0x80 table=/dev/hdb label=Win95 Then run lilo again. |
LinuxCool, thanks for correcting my syntax, I took another look at and the lilo.conf man page, and found that I dodn't copy it as exactly as I though.
5amYam, what advantages does grub have over lilo? If you're suggesting I switch, please give me a reason or two. jetblackz, thank you for the link, the next time I need to configure a dual boot system, I'll check that first. It's got just what I needed. lackluster, that's in there to tell my second HD that it is the first HD when I boot windows. Otherwise windows hangs during the boot process. I dunno why your system is working, but I sure can't argue with success. Thank you all for the responses. |
I didn't know you were using two hdd's. I have only one. That's probably why it works.
|
You're welcome. :)
|
Grub because...
Well reasons to switch. My configuration to boot 4 OSen is not as long as your original dual boot .conf. And it's much more human readable. Oh yes once you save the .conf file no need to restart grub. It'll pick it up next boot.
Check out this link |
Cool. I think I will give grub a try on my second box.
Thanks again! |
All times are GMT -5. The time now is 03:37 PM. |