LinuxQuestions.org
Review your favorite Linux distribution.
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 08-17-2007, 09: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 09:21 AM.
 
Old 08-17-2007, 01:41 PM   #2
amishtechie
Member
 
Registered: Apr 2004
Distribution: Pop OS
Posts: 130

Rep: Reputation: 17
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 01:47 PM.
 
Old 08-17-2007, 03: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 03:37 PM.
 
Old 08-17-2007, 05: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, 05: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: 113Reputation: 113
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, 05: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



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

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

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