LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-10-2003, 01:01 PM   #1
skadub
Member
 
Registered: Sep 2003
Location: La Rochelle, France
Distribution: Mdk 10 Official & LFS 5.1 #5243
Posts: 44

Rep: Reputation: 15
Angry Lilo always booting Win XP !


Hello,

I've just installed Mandrake 9.2. I then modified lilo configuration to suit my system : Win XP, Mandrake 9.2 and LFS.

Then I've rebooted my system from KDE and now lilo always starts Win XP without giving me the choice ?

It's the first time it do that with me, how can I solve it

Thanks for your help.

Last edited by skadub; 12-10-2003 at 01:02 PM.
 
Old 12-10-2003, 01:05 PM   #2
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
You'll need to use a bootdisk to boot into your Mandrake install and then add 'prompt' and 'timeout = 50' to /etc/lilo.conf. Then run 'lilo -v' and reboot. You should then have 5 seconds to select your OS. Hope this works!
 
Old 12-10-2003, 01:05 PM   #3
Nimoy
Member
 
Registered: Jun 2003
Location: Currently Denmark
Distribution: Ubuntu 15.04
Posts: 336

Rep: Reputation: 30
I believe a quick read of this article could help

http://www.freeos.com/articles/2701/
 
Old 12-10-2003, 01:08 PM   #4
skadub
Member
 
Registered: Sep 2003
Location: La Rochelle, France
Distribution: Mdk 10 Official & LFS 5.1 #5243
Posts: 44

Original Poster
Rep: Reputation: 15
Thank you for your quick replies, I will try that now.
 
Old 12-10-2003, 01:10 PM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
You forgot to post your lilo.conf file....

LILO fails: Error messages and their interpretation
LILO mini HOWTO
Multiboot with LILO HOWTO
LILO, Linux Crash Rescue HOW-TO
Installing a bootloader
 
Old 12-10-2003, 01:21 PM   #6
skadub
Member
 
Registered: Sep 2003
Location: La Rochelle, France
Distribution: Mdk 10 Official & LFS 5.1 #5243
Posts: 44

Original Poster
Rep: Reputation: 15
This was my lilo.conf file before I added prompt and delay=60 to it :

boot=/dev/hda
map=/boot/map
vga=791
default="windows"
keytable=/boot/fr-latin1.klt
nowarn
message=/boot/message
menu-scheme=wb:bw:wb:bw

image=/boot/vmlinuz
label="linux"
root=/dev/hdb5
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi acpi=ht resume=/dev/hdb1 splash=silent"
vga=788
read-only

image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hdb5
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi acpi=ht resume=/dev/hdb1"
read-only

image=/boot/vmlinuz
label="failsafe"
root=/dev/hdb5
initrd=/boot/initrd.img
append="failsafe devfs=nomount hdd=ide-scsi acpi=ht resume=/dev/hdb1"
read-only

other=/dev/hda1
label="windows"
table=/dev/hda

image=/boot/lfskernel
label="LFS"
root=/dev/hdb8
read-only


It works when adding prompt and delay=60 to the file ...
 
Old 12-10-2003, 02:30 PM   #7
nick0
Member
 
Registered: Aug 2002
Location: England
Distribution: Mandrake 8.2
Posts: 31

Rep: Reputation: 15
It is simple to use the Mandrake Control Centre.
That is what it's there for.
Click on Boot.
Click on Drakboot.
Click on the Configure box.
Click on the OK box.
Click on the Modify box for windows.
Rename it XP and uncheck the default box.
Then modify linux.
Rename it Mandrake and check the default box.
Then click on OK.
Then OK Drakboot and close MCC.
 
Old 12-10-2003, 03:05 PM   #8
skadub
Member
 
Registered: Sep 2003
Location: La Rochelle, France
Distribution: Mdk 10 Official & LFS 5.1 #5243
Posts: 44

Original Poster
Rep: Reputation: 15
Already tried that without success but editing lilo.conf with my good nedit works better ...
 
Old 12-11-2003, 07:50 AM   #9
shaheen
LQ Newbie
 
Registered: Jul 2003
Location: India
Distribution: Red Hat 7.1
Posts: 27

Rep: Reputation: 15
lilo prob

A general lilo looks something like this ::

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message

A lot of times the entry after this remains as

linear -> this is what causes problems and makes windows boot straightaway and not even get a chance .. changing this to

lba32 ->helps and doesnt create a prob anymore ...

default=linux

image=/boot/vmlinuz-2.4.0-0.43.6
label=linux
initrd=/boot/initrd-2.4.0-0.43.6.img
read-only
root=/dev/hda5

other=/dev/hda1
label=dos



So the corrected one could be ::

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
lba32
default=linux

image=/boot/vmlinuz-2.4.0-0.43.6
label=linux
initrd=/boot/initrd-2.4.0-0.43.6.img
read-only
root=/dev/hda5

other=/dev/hda1
label=dos




Shd help ::
lemme know if this works ;;
Thanks
Shaheen
http://sohel.fateback.com
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
booting win from LILO? roAder Slackware 4 07-11-2004 07:04 AM
LILO: LILO lost upon booting. Nevchift Mandriva 3 09-16-2003 07:21 AM
lilo-2linux+win? mtb Linux - Software 4 03-24-2003 08:22 AM
Dual Booting Win XP and RH 8.0 Hippolilo Linux - Newbie 6 11-21-2002 12:53 AM
LILO - dual booting win 95 / redhat 6.2 DiamondViper Linux - General 4 02-13-2002 08:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:24 AM.

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