LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-10-2004, 05:43 PM   #1
sparex
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Rep: Reputation: 0
Dual Boot WinXp and Linux


I know this question is asked tons of times over and over again, but I have an odd predicament...

Seems somewhere in my lilo.conf setup Lilo decided to load XP as my default OS and will not give my the choice to load up the linux i loaded up. Was working fine till i set it up to see the XP partition and load it up after 30 seconds of not choosing an option... but it never gives me that choice

All is see from my old linux setup is..

Lilo (version number) Loading Windows......

then it just loads up XP Pro as normal.

Setup =
C = Xp Pro Only
D = Originally just data storage drive, Was Shrunk using Disk Drake to make room on part. table for Linux, then installed Linux.

Thinking that i just need to edit the boot.ini for XP, but im not 100% sure what settings I'll need to add there.

Would it look Like for the Linux Option,

multi(0)disk(1)rdisk(0)partition(2)\="Linux"

Or am i bit off?


 
Old 04-10-2004, 05:55 PM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Check 'man lilo.conf" for:
default=<name>
Uses the specified image as the default boot image. If `default' is omitted, the image appearing first in the configuration file is used.
or other possible causes.
Perhaps post your /etc/lilo.conf (without comments (#)) if you are unable to resolve.
Good Luck.
 
Old 04-11-2004, 07:04 PM   #3
sparex
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Original Poster
Rep: Reputation: 0
vga=785

keytable=/boot/us.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 hdc=ide-scsi acpi=ht splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hdb5
initrd=/boot/initrd.img
append="devfs=mount hdc=ide-scsi acpi=ht"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hdb5
initrd=/boot/initrd.img
append="failsafe devfs=nomount hdc=ide-scsi acpi=ht"
read-only
other=/dev/hda1
label="windows"
table=/dev/hda
other=/dev/hdb1
label="windows2"
table=/dev/hdb
map-drive=0x81
to=0x80
map-drive=0x80
to=0x81
-
Above is my lilo.conf file.. Any ideas on what could be causing it? or should i just remove the windows partions from the listing and forceboot linux?
 
Old 04-11-2004, 07:44 PM   #4
theabyyss
Member
 
Registered: Aug 2001
Location: CT
Distribution: Debian Sarge (2.6.9-albooksleep) on a PPC
Posts: 64

Rep: Reputation: 15
you're missing the timeout line. stick in "timeout=30" in there near the top portion for a 30 second delay, then run lilo from the command line or terminal (i think you may need to be root)
 
Old 04-11-2004, 11:12 PM   #5
sparex
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Original Poster
Rep: Reputation: 0
The only way i have been able to log in to linux at all is using rescue mode from the CD...

Floppy drive is dead, and every disk of knoppix i make doesn't like to run so I cannot run lilo from that either..

I'll add that line now and see how that works.
 
Old 04-11-2004, 11:37 PM   #6
witeshark
Member
 
Registered: Jan 2004
Location: Miami FL
Distribution: Mac OS X 10.4.11 Ubuntu 12.04 LTS
Posts: 429

Rep: Reputation: 30
Keep in mind that the doz MBR insists on being the first boot loader annoying huh
 
Old 04-12-2004, 12:00 AM   #7
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Unless you just missed posting them, I dont see
boot=<boot-device>
Sets the name of the device (e.g. a hard disk partition) that contains the boot sector....
default=<name>
Uses the specified image as the default boot image....
timeout=<tsecs>
sets a timeout (in tenths of a second) for keyboard input at the boot: prompt....
prompt
Automatic booting will not take place unless....

If the problem began when Windows was added you may want to start by commenting those out temporarily.
Your map-drive instruction looks okay. It is usually written the other way around:
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
Wouldn't think that would make a difference, but...
 
Old 04-12-2004, 12:03 AM   #8
smartfüd
LQ Newbie
 
Registered: Apr 2004
Location: Burlington, VT USA
Distribution: MDK 10.0, Fedora Core 1
Posts: 22

Rep: Reputation: 15
This could also depend on distro. If you're running Mandrake 10, there's a bug in the Lilo bootloader that corrupts the MBR. Now, it's supposed to make Mandrake the only bootable OS, but you've apparently had a different problem. If you can get Mandrake up with a boot disk, why not use Grub instead? Change it from the "Configure Your Computer" setup and go to Boot -> Boot Loader. Possibly an easier fix.
 
  


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
Dual Boot Linux And WinXP theutherwhitemeat Linux - Software 9 07-31-2005 01:38 AM
Dual Boot In Linux and WInxp reply2vinay Linux - Hardware 7 07-23-2005 01:36 AM
how to dual boot linux/winxp henrylam Linux - Newbie 4 05-16-2004 06:59 PM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 10:11 AM
dual boot WinXP and Linux charliecb2 Linux - Newbie 2 05-29-2002 04:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:13 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