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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-01-2006, 09:27 AM
|
#1
|
Member
Registered: Mar 2004
Location: Houston, Texas
Distribution: Kubuntu, zenwalk
Posts: 117
Rep:
|
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
|
|
|
03-01-2006, 10:39 AM
|
#2
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
Try
Code:
other = /dev/sda1
label = Windowsx64
boot-as = 0x80
|
|
|
03-01-2006, 11:12 AM
|
#3
|
Member
Registered: Mar 2004
Location: Houston, Texas
Distribution: Kubuntu, zenwalk
Posts: 117
Original Poster
Rep:
|
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
|
|
|
03-01-2006, 01:01 PM
|
#4
|
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151
Rep:
|
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.
|
|
|
03-01-2006, 02:33 PM
|
#5
|
Member
Registered: Mar 2004
Location: Houston, Texas
Distribution: Kubuntu, zenwalk
Posts: 117
Original Poster
Rep:
|
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.
|
|
|
03-01-2006, 02:36 PM
|
#6
|
Member
Registered: Mar 2004
Location: Houston, Texas
Distribution: Kubuntu, zenwalk
Posts: 117
Original Poster
Rep:
|
[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.
|
|
|
03-01-2006, 02:50 PM
|
#7
|
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151
Rep:
|
Some motherboards’ BIOS allow it and some don’t.
|
|
|
03-01-2006, 03:25 PM
|
#8
|
Member
Registered: Mar 2004
Location: Houston, Texas
Distribution: Kubuntu, zenwalk
Posts: 117
Original Poster
Rep:
|
yea my bios allows me what hardrive it wants me to boot from.
|
|
|
03-01-2006, 03:44 PM
|
#9
|
Senior Member
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687
Rep:
|
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
|
|
|
|
03-01-2006, 03:59 PM
|
#10
|
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151
Rep:
|
How cute!!!
|
|
|
03-01-2006, 09:18 PM
|
#11
|
Member
Registered: Mar 2004
Location: Houston, Texas
Distribution: Kubuntu, zenwalk
Posts: 117
Original Poster
Rep:
|
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....
|
|
|
03-01-2006, 09:29 PM
|
#12
|
Member
Registered: Mar 2004
Location: Houston, Texas
Distribution: Kubuntu, zenwalk
Posts: 117
Original Poster
Rep:
|
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.
|
|
|
03-01-2006, 11:26 PM
|
#13
|
Member
Registered: Mar 2004
Location: Houston, Texas
Distribution: Kubuntu, zenwalk
Posts: 117
Original Poster
Rep:
|
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:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|