LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Dual boot, one ide, one sata (http://www.linuxquestions.org/questions/linux-hardware-18/dual-boot-one-ide-one-sata-420624/)

phatbastard 03-01-2006 10:27 AM

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

gbonvehi 03-01-2006 11:39 AM

Try
Code:

other = /dev/sda1
label = Windowsx64
boot-as = 0x80


phatbastard 03-01-2006 12:12 PM

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

WhatsHisName 03-01-2006 02:01 PM

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.

phatbastard 03-01-2006 03:33 PM

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.

phatbastard 03-01-2006 03:36 PM

[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.

WhatsHisName 03-01-2006 03:50 PM

Some motherboardsí BIOS allow it and some donít.

phatbastard 03-01-2006 04:25 PM

yea my bios allows me what hardrive it wants me to boot from.

jomen 03-01-2006 04:44 PM

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

WhatsHisName 03-01-2006 04:59 PM

How cute!!!

phatbastard 03-01-2006 10:18 PM

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....

phatbastard 03-01-2006 10:29 PM

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.

phatbastard 03-02-2006 12:26 AM

hmmmmm. I think i am going to just try Grub instead maybe have better luck with that.


All times are GMT -5. The time now is 09:00 AM.