Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is odd. When I set up lilo.conf with linux as the default I can boot into Windows just fine.
However, when I set Windows as the default, we get as far as the Windows graphic screen, but nothing else happens. I have to reboot to continue back to LILO.
Current lilo.conf is:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
default=XYZ (see below)
keytable=/boot/uk.klt
lba32
prompt
timeout=50
message=/boot/message-graphic
menu-scheme=wb:bw:wb:bw
other=/dev/hda1
label=windows
table=/dev/hda
image=/boot/vmlinuz
label=linux
root=/dev/hda5
append=" quiet"
vga=788
read-only
[other entires which are ignored]
...where XYZ is either "linux" (which works fine); or "windows" which appears to work but hangs. To repeat if the default is "linux" selecting Windows manually works fine. The position of the entries in the list makes no difference
there was no option that asked you to chose one of those two?
well....I don't know if it would even matter...I was just wondering how you had it setup.
originally, who did you have as default, linux or windows??
and when you edited the file...did you run lilo? so that changed would take effect?
OK, full story -- system is on a Compaq which has BIOS setup utilitites on a hidden partition, which is a boot option during POST.
Linux identifies this partition as hda3. I want to have setup, windows and Linux as separate lilo options.
Originally the default of bootig to linux worked fine.
I've edited lilo.conf several times to see the effects of setting different boot options as default etc. Everthing works OK EXCEPT setting windows as the default. If linux is the default I can manually swith to windows and have it load perfectly. If it's the default it starts then just hangs.
I had hoped this was nothing to do with the hidden partition, but I've just discovered that's working a bit flakily too. Oh, and yes, I did run lilo after each edit.
i hv read somewhere that grub dont need the physical location of ur kernel while lilo does.....what does
this means exactly.....sorry for going offtopic......
Thanks
when you open lilo.conf you'll see where your bootable kernel is localled....it is always in the folder /boot
so, there will be a line that will say something like this /boot/2.4.18
that simple,
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.