LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-24-2004, 11:30 AM   #16
mattp
Member
 
Registered: Mar 2004
Location: Chicago, USA
Distribution: Slackware 10.2
Posts: 368

Original Poster
Rep: Reputation: 30

Okay, after a little messing around, heres what I got. I got the menu to show up that askes which os to boot. If I chose Linux, everything goes A okay, however, if I choose Windows, it don't go no where. It just lays "loading windows" or something and doesnt do anything after that. Here's my lilo.conf, can anyone help out on this one? Thanks much.

Edit: I am using Windows XP with NTFS

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hdb
#compact # faster, but won't work on all systems.
prompt
timeout = 500
# 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
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz.old
root = /dev/hdb5
label = Slackware
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hdc1
label = WindowsXP
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/hdc
# DOS bootable partition config ends

Last edited by mattp; 03-24-2004 at 11:35 AM.
 
Old 03-24-2004, 03:58 PM   #17
mattp
Member
 
Registered: Mar 2004
Location: Chicago, USA
Distribution: Slackware 10.2
Posts: 368

Original Poster
Rep: Reputation: 30
When I was going thru lilo config, it asked me to add a DOS parition but my partition is NTFS (WinXP). Is this whats causing the trouble? Can anyone post their lilo.conf that is dual booting Linux (Slack if possible) and XP?

Thanks
 
Old 03-24-2004, 05:07 PM   #18
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 394

Rep: Reputation: 48
I posted my lilo.conf a few days ago, but here it is again:

boot=/dev/hda
map=/boot/map
default="Windows"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="Mandrake"
root=/dev/hda9
initrd=/boot/initrd.img
#append="devfs=mount acpi=ht resume=/dev/hdb1 splash=silent idebus=66"
append="devfs=mount resume=/dev/hdb1 splash=silent idebus=66"
vga=788
read-only
image=/boot/vmlinuz-2.4.22-1.2174.nptl
label="Fedora"
root=/dev/hda8
initrd=/boot/initrd-2.4.22-1.2174.nptl.img
append="devfs=mount acpi=ht resume=/dev/hdb1 idebus=66"
read-only
other=/dev/hda1
label="Windows"
table=/dev/hda

First thought is that WindowsXP may not be able to boot from secondary slave disk (hdc), but I've never tried it, so I'm not sure.

My WindowsXP partition is /dev/hda1 as shown above. It's also an NTFS partition.

If you are using 2 hard drives, what about making the Windows drive hda and the Linux drive hdb or c? In the past I have had Linux set up on hdb without any trouble. Now that I have an 80 gig first drive Windows and Mandrake and Fedora are all on that drive. Swap is hdb. No problems at all.

Tell me how many hard drives do you have in the computer and, briefly, what is on each drive.
 
Old 03-24-2004, 05:22 PM   #19
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 31
Here's mine, for just Slackware and XP.

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
timeout = 300
# 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
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda2
label = Slackware
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hda1
label = WinXP
table = /dev/hda
# DOS bootable partition config ends
 
Old 03-24-2004, 05:26 PM   #20
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 394

Rep: Reputation: 48
Quick google search on "boot WindowsXP from secondary master" reveals that you may need to use the "Map" section in your lilo.conf.

Appears Drive 1 or primary master is 0x80
drive 2 or primary slave is 0x81
drive 3 or secondary master is 0x82 <--- this is your WindowsXP partition
drive 4 or secondary slave is 0x83

This is what I would do:

Since you are trying to boot XP off of hdc/secondary master, it looks as though you need to uncomment these lines in your lilo by removing the # marks.

# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80

Change them so they look this way:
map-drive = 0x80
to = 0x82
map-drive 0x82
to = 0x80
Save and exit text editor.
Run (as root) /sbin/lilo
If there are no errors reboot and see what happens.

Anyone else care to speculate?
 
Old 03-24-2004, 05:49 PM   #21
mattp
Member
 
Registered: Mar 2004
Location: Chicago, USA
Distribution: Slackware 10.2
Posts: 368

Original Poster
Rep: Reputation: 30
Glenzo, I did see yours for a few days ago and I compared mine and yours and I didn't see any huge differences which makes me think that I need something in mine that you dont need. Thanks for reposting though. For the rest that posted their lilo.confs, thanks I think I can pull this off now! (-: Ill keep you guys informed!
 
Old 03-24-2004, 06:59 PM   #22
bentbike1
LQ Newbie
 
Registered: Feb 2001
Posts: 23

Rep: Reputation: 15
re dual boot

simplest way would be to install a third party boot loader like mr boot loader or boot 2000 with mr booter it would be better to have xp first linux second mainly when it sees that lilo is first will not install how ever there is a non technical way to dual booting set linux as slave and when you boot up go into your bios and choose to boot from the second drive there is a boot software thatwill work with xp only and linux and you do not have to re boot also if you want to spend the money try vm ware or emulation software some programs run xp inside of linux also if partitioning is to troublesome there is partition majic and also phat linux when using the version for xp it run with in Windows or forget about installing lnux at all and go with a live distro like knopix it runs off the cdrom
 
Old 03-24-2004, 07:28 PM   #23
mattp
Member
 
Registered: Mar 2004
Location: Chicago, USA
Distribution: Slackware 10.2
Posts: 368

Original Poster
Rep: Reputation: 30
Ill explore that option if I cant get lilo to work right. Thanks for the info.
 
Old 03-24-2004, 10:58 PM   #24
mattp
Member
 
Registered: Mar 2004
Location: Chicago, USA
Distribution: Slackware 10.2
Posts: 368

Original Poster
Rep: Reputation: 30
Glenzo was on the right track. I made some progress. Now, when I try to load XP, it says "Disk error, ctrl alt delete to restart" which means the OS is trying to load, but there is an error (obviously :-} )

Anyone have an idea?
 
Old 03-25-2004, 04:31 AM   #25
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 394

Rep: Reputation: 48
Matt, when you installed Windows was the disk that it is installed on drive c? If so, Windows, as it's loading, will be looking for all of it's files to be located as such. In other words, the info that Windows has says that program XYZ is located at c:\programfiles\someprogram when in reality it's located at e:\programfiles\someprogram, causing massive confusion for the OS. Wonder if there's a config or 2 for Windows that you can edit to reflect this change. Can you try booting Windows to safe mode? If you can, then have a look at boot.ini ???????. I think that that file reflects boot/disk geometry for loading Windows.
 
Old 03-25-2004, 10:36 AM   #26
mattp
Member
 
Registered: Mar 2004
Location: Chicago, USA
Distribution: Slackware 10.2
Posts: 368

Original Poster
Rep: Reputation: 30
I got it to work. I just used 0x81 instead of 0x82. I didn't test it out extensivly, so I don't know for sure if the havoc that you explain above will be in my future, but I sure hope not. Everything seem A Okay when I ran XP though. Thanks for all your help!
 
Old 03-25-2004, 01:25 PM   #27
mattp
Member
 
Registered: Mar 2004
Location: Chicago, USA
Distribution: Slackware 10.2
Posts: 368

Original Poster
Rep: Reputation: 30
Alrighty. No problems with drive assignment. C: is C: and everything is peachy. Thanks for all the help fellas.
 
Old 03-25-2004, 05:44 PM   #28
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 394

Rep: Reputation: 48
Guess that's what a web site such as this is all about. Glad to be of help.
 
  


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
Configuring Red Hat 7.2/ Windows XP dual boot mobok7v Linux - General 10 11-27-2006 02:47 PM
configuring grub-dual boot debian winXP different HD's tshontikidis Linux - Newbie 1 07-14-2005 04:46 AM
Configuring XP boot.ini for Dual Boot jarnix Linux - Software 5 02-02-2005 02:37 AM
configuring lilo with winxp dual boot gotmonkey Slackware 6 10-10-2004 06:46 AM
Sound lost after configuring dual boot xri Linux - Hardware 1 12-22-2003 11:52 PM

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

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