LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 07-04-2002, 07:26 AM   #1
murray
LQ Newbie
 
Registered: Jul 2002
Location: London
Distribution: Mandrake 8.0
Posts: 3

Rep: Reputation: 0
Default boot to Windows hangs


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

Any ideas?

Last edited by murray; 07-04-2002 at 07:28 AM.
 
Old 07-04-2002, 09:14 AM   #2
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
mmmh...I'm not sure...but ehhmm, did you install lilo in the MBR or in the first part of your hda ?
 
Old 07-04-2002, 09:47 AM   #3
murray
LQ Newbie
 
Registered: Jul 2002
Location: London
Distribution: Mandrake 8.0
Posts: 3

Original Poster
Rep: Reputation: 0
Actually I did neither. Mandrake instaler did it, and I have no idea where. How would I tell?
 
Old 07-04-2002, 09:54 AM   #4
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
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?
 
Old 07-04-2002, 12:18 PM   #5
murray
LQ Newbie
 
Registered: Jul 2002
Location: London
Distribution: Mandrake 8.0
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 07-04-2002, 02:28 PM   #6
A-dummy
Member
 
Registered: Jun 2002
Location: Kanpur,India
Distribution: RH-7.0 , 7.3
Posts: 130

Rep: Reputation: 15
well ,i hope u r not making any typo......i mean something like windows & Windows in "label=" & "default="




"When you have eliminated all possiblities ,then whatever remains ,however improbable it sounds, is true"
Sherlock Holmes to Watson
 
Old 07-04-2002, 05:03 PM   #7
sewer_monkey
Member
 
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 624

Rep: Reputation: 31
I suggest using GRUB instead of LILO. It's much more user-friendly.
 
Old 07-04-2002, 08:26 PM   #8
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
it's not...lilo is way more user friendly...just cus you don't need to re-run grub doesn't mean it's user friendlier.
 
Old 07-04-2002, 11:24 PM   #9
A-dummy
Member
 
Registered: Jun 2002
Location: Kanpur,India
Distribution: RH-7.0 , 7.3
Posts: 130

Rep: Reputation: 15
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
 
Old 07-06-2002, 09:33 PM   #10
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
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,
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
need help setting windows xp as default boot Geminias Linux - Newbie 15 10-10-2005 03:04 AM
How to make Windows default boot Rhadryn Linux - Newbie 4 08-02-2005 03:31 PM
How do I change the default boot from Windows to Linux? jdruin Linux - Newbie 4 04-26-2004 06:50 PM
How do I boot with Windows as default? FutureEX Linux - General 9 10-15-2003 06:31 PM
Dual boot windows hangs p.izquierdo Linux - General 3 01-10-2003 02:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration