LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-01-2006, 09:27 AM   #1
phatbastard
Member
 
Registered: Mar 2004
Location: Houston, Texas
Distribution: Kubuntu, zenwalk
Posts: 117

Rep: Reputation: 15
Dual boot, one ide, one sata


Hey guys I have a lilo problem here it is my first time to dual boot windows and linux using 2 seperate hardrives, always just had both OS's on 1 hardrive with no problems. I have x64windows on my 74 gig sata hardrive, in boot sequence this is the first to boot in bios, and then my ide drive that is 74 gigs that boots linux.After POST i get my lilo screen which asks me which OS to boot, if i choose Linux it works just fine, if I try and boot into windows IT hangs with a black screen and in the top left corner it says 'booting windows',or something it never boots.

I did expert install for Lilo and put lilo on the MBR of the sata drive since in the boot sequence it is the first to boot as opposed to the ide one.

Lilo config...



# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sda
bitmap=/boot/splash.bmp
bmp-table=227p,233p,1,7
bmp-colors=0,2,,15,2,0
bmp-timer=76,30,15,0
#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
# Windows bootable partition config begins
other = /dev/sda1
label = Windowsx64
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Zenwalk
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends

Any help would be great,

Brent
 
Old 03-01-2006, 10:39 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Try
Code:
other = /dev/sda1
label = Windowsx64
boot-as = 0x80
 
Old 03-01-2006, 11:12 AM   #3
phatbastard
Member
 
Registered: Mar 2004
Location: Houston, Texas
Distribution: Kubuntu, zenwalk
Posts: 117

Original Poster
Rep: Reputation: 15
Nope, black screen with a message on top left of screen that says Loading Windowsx64 and it just hangs there...



# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sda
bitmap=/boot/splash.bmp
bmp-table=227p,233p,1,7
bmp-colors=0,2,,15,2,0
bmp-timer=76,30,15,0
#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
# Windows bootable partition config begins
other = /dev/sda1
label = Windowsx64
boot-as = 0x80
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Zenwalk
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
 
Old 03-01-2006, 01:01 PM   #4
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
The IDE drive will usually be defined as the first BIOS drive and windows can only boot from the first BIOS drive.

In Grub, you can use the grub map command to get by this, but I don’t know how it works in lilo.
 
Old 03-01-2006, 02:33 PM   #5
phatbastard
Member
 
Registered: Mar 2004
Location: Houston, Texas
Distribution: Kubuntu, zenwalk
Posts: 117

Original Poster
Rep: Reputation: 15
Yea i have one sata drive with windows xp on it, and then one ide drive with just linux on it. In 'boot sequence' in bios the sata is first and then linux. I went ahead and installed lilo on the mbr of the windows sata drive. When post boots and i get lilo screen linux will boot but windows will not.


The only thing i can think of is change out the 'boot sequence' in bios makeing the ide firts and maybe install lilo on the mbr of the linux drive and not windows, then maybe it can boot into windows.

Any thoughts on that or will that fix it.
 
Old 03-01-2006, 02:36 PM   #6
phatbastard
Member
 
Registered: Mar 2004
Location: Houston, Texas
Distribution: Kubuntu, zenwalk
Posts: 117

Original Poster
Rep: Reputation: 15
[QUOTE=WhatsHisName]The IDE drive will usually be defined as the first BIOS drive and windows can only boot from the first BIOS drive.QUOTE]

I have a sata drive in first boot sequence and ide in second. windows on sata and linux on ide.
 
Old 03-01-2006, 02:50 PM   #7
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
Some motherboards’ BIOS allow it and some don’t.
 
Old 03-01-2006, 03:25 PM   #8
phatbastard
Member
 
Registered: Mar 2004
Location: Houston, Texas
Distribution: Kubuntu, zenwalk
Posts: 117

Original Poster
Rep: Reputation: 15
yea my bios allows me what hardrive it wants me to boot from.
 
Old 03-01-2006, 03:44 PM   #9
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
the mapping stuff:
it's even in the config-file you posted - just commented out
Quote:
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
 
Old 03-01-2006, 03:59 PM   #10
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
How cute!!!
 
Old 03-01-2006, 09:18 PM   #11
phatbastard
Member
 
Registered: Mar 2004
Location: Houston, Texas
Distribution: Kubuntu, zenwalk
Posts: 117

Original Poster
Rep: Reputation: 15
It didnt work when i commented that out.

Now my mind is starting to boggle. OK boot sequence in bios if i choose the sata drive which has winblows xp on it to boot first it boots directly into windows with no lilo logo screen, could of swore i put lilo on mbr. NOw if i put the ide drive in boot sequence for bios first i get a lilo start-up screen where i can choose windows or linux. Now linux will boot up just fine from here, but i get a black screen when choosing windows with a message in the corner saying 'loading windows' and then it just hangs.

So basically windows is /dev/sda1
and linux is /dev/hda1



# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
bitmap=/boot/splash.bmp
bmp-table=227p,233p,1,7
bmp-colors=0,2,,15,2,0
bmp-timer=76,30,15,0
#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/hda1
label = Zenwalk
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
label = windowsx64
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80
table = /dev/sda
# Windows bootable partition config ends

Help this is really annoying....
 
Old 03-01-2006, 09:29 PM   #12
phatbastard
Member
 
Registered: Mar 2004
Location: Houston, Texas
Distribution: Kubuntu, zenwalk
Posts: 117

Original Poster
Rep: Reputation: 15
I only have 3 total partitions on both drives total,

I have /dev/sda1 for windows
then /dev/hda1 for /root linux partition
and then /dev/hda2 for swap partition.
 
Old 03-01-2006, 11:26 PM   #13
phatbastard
Member
 
Registered: Mar 2004
Location: Houston, Texas
Distribution: Kubuntu, zenwalk
Posts: 117

Original Poster
Rep: Reputation: 15
hmmmmm. I think i am going to just try Grub instead maybe have better luck with that.
 
  


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 XP w/ Grub (IDE + SATA) TruckStuff Linux - General 3 09-25-2006 09:01 PM
Dual Boot XP/Ubuntu on SATA and IDE... snapmando Ubuntu 4 09-08-2005 02:55 PM
cannot dual boot suse 9.1 and winxp between sata and ide respectively jarobman SUSE / openSUSE 7 01-11-2005 11:06 PM
Installation and Dual Boot (Mandrake on a IDE, XP on a SATA) xstormos Linux - Newbie 5 09-10-2004 10:27 PM
dual boot on 2 drives...sata and ide vrdhananjay Linux - Hardware 6 09-08-2004 01:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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