LinuxQuestions.org
Review your favorite Linux distribution.
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 08-17-2007, 10:18 AM   #1
jukebox55
Member
 
Registered: Aug 2007
Distribution: slackware 11
Posts: 101

Rep: Reputation: 15
problem with lilo & dual boot


hello, ive got a problem duel booting linux with XP.
ive got linux on hda, and XP on hdc (there was some problem with them being on the same cable), however when lilo gives me the boot options and i try to load XP, it just sits there. maybe you can help correct the lilo boot config file

[HTML]# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 150
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Windows bootable partition config begins
other = /dev/hdc
label = Windows
table = /dev/hdc
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only
vga=771
# Linux bootable partition config ends[/HTML]

if i remove the linux HD, the windows HD will load automatically, so i dont think its a problem with the xp install, just that lilo is not pointing to the right place i think.

Last edited by jukebox55; 08-17-2007 at 10:21 AM.
 
Old 08-17-2007, 02:41 PM   #2
amishtechie
Member
 
Registered: Apr 2004
Location: Oberlin, OH
Distribution: Slackware
Posts: 119

Rep: Reputation: 16
I do believe windows has to be on the first hard drive and on the first partition of that drive. Edit the file so that you can put the linux hard drive as your second and windows as your first and move the hard drives to the appropriate locations and it should be fine. Configuring lilo for a dual boot is covered here.
http://www.linuxquestions.org/questi...d.php?t=323817

Last edited by amishtechie; 08-17-2007 at 02:47 PM.
 
Old 08-17-2007, 04:35 PM   #3
jukebox55
Member
 
Registered: Aug 2007
Distribution: slackware 11
Posts: 101

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by amishtechie View Post
I do believe windows has to be on the first hard drive and on the first partition of that drive. Edit the file so that you can put the linux hard drive as your second and windows as your first and move the hard drives to the appropriate locations and it should be fine.
but then how would i boot into linux? wouldnt windows load without giving me an option to boot linux?

*edit* i have just thought, maybe i can change the boot order in the bios! i will report back later...

Last edited by jukebox55; 08-17-2007 at 04:37 PM.
 
Old 08-17-2007, 06:04 PM   #4
jukebox55
Member
 
Registered: Aug 2007
Distribution: slackware 11
Posts: 101

Original Poster
Rep: Reputation: 15
unfortunately i cant get the above to work i think there may be some sort of conflict between my 2 harddrives, as they are both 20gb fujitsu's, but slightly differing models, can this happen? im getting DMA timeouts on one of the drives, and errors on the other. i think ill buy a new bigger HD and try again with 1 of the drives just out of curiosity.
thanks for your suggestion amishtechie
 
Old 08-17-2007, 06:23 PM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
I think "other=" should point to a partition and not a whole drive.

If your xp was installed as the first disk and subsequently moved to being the 2nd drive you need to change the disk order on-the-fly using two "map-drive" statements in the /etc/lilo.conf. Take a look at the Section A of the 2nd link in my signature. Excuse me for not repeating myself.
 
Old 08-17-2007, 06:58 PM   #6
jukebox55
Member
 
Registered: Aug 2007
Distribution: slackware 11
Posts: 101

Original Poster
Rep: Reputation: 15
thanks saikee that link looks really interesting, ill have a proper look at that tomorrow when ive got more time to digest it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
boot lilo on dual bootingsystem XP & Slack Jorunn Slackware 11 10-18-2006 12:02 AM
How to dual boot mdk10 & mdk2006 with lilo? ronaldv Linux - General 2 12-06-2005 11:08 AM
lilo boot problem...*dual* shp0ngle Linux - Newbie 6 09-10-2005 01:46 PM
Deleting LILO & Dual Boot IceBlink Linux - Newbie 1 08-22-2005 05:35 AM
Lilo: Dual boot Debian & Win 2000 mudelf Linux - General 3 11-12-2003 02:55 AM


All times are GMT -5. The time now is 01:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration