LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-27-2005, 12:37 PM   #1
petezilla
LQ Newbie
 
Registered: Apr 2004
Distribution: Slackware 10.1
Posts: 16

Rep: Reputation: 0
windows wont load from lilo (did before)


Hello, I installed Slackware 10 recently, its running fine, and I've only had trouble with a few little thing so far (which I was easily able to remedy with advice from people on this forum).

I'm just having trouble with my LILO right now, when I choose Windows from my LILO it never loads, just sits there as if it was thinking about loading windows. Now the weird part is that I had this working fine before and unfortunately I'm not sure what i did to bung it up. I have reinstalled lilo with liloconfig and looked at lilo.config but cant see whats wrong there. Windows is installed on /dev/hdd1, and linux on /dev/hda1. I can easily get Windows to boot by turning off the primary drive (hda) in the BIOS so it only loads Windows, but it should load from lilo.
 
Old 05-27-2005, 12:53 PM   #2
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,844

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
Post your lilo.conf file. I am assuming a typo on /dev/hdd1.
 
Old 05-30-2005, 08:05 PM   #3
petezilla
LQ Newbie
 
Registered: Apr 2004
Distribution: Slackware 10.1
Posts: 16

Original Poster
Rep: Reputation: 0
here it is:

# 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/hda1
label = Slackware
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hdd1
label = Windows
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/hdd1
# Windows bootable partition config ends
 
Old 05-30-2005, 08:30 PM   #4
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,844

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
Quote:
Originally posted by petezilla
here it is:


# Windows bootable partition config begins
other = /dev/hdd1
label = Windows
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/hdd1
# Windows bootable partition config ends
other = /dev/hdd1 is wrong - should probably read:

# Windows bootable partition config begins
other = /dev/hdb1
label = Windows
table = /dev/hdb
boot-as = 0x80
# Windows bootable partition config ends

This is how it is set-up on my system.
 
Old 10-20-2005, 06:45 PM   #5
mmarkvillanueva
Member
 
Registered: May 2005
Location: Philippines
Distribution: Slackware 10.0 : Linux 2.6.7
Posts: 66

Rep: Reputation: 15
I also have the same problem... I have a dual-boot system, having windows 98 on /dev/hda1 and slackware 10 on /dev/hdb1, it was working fine before but when i reinstall liloconf, i arrive to the same problem it just displays "Loading Windows" and nothing happens...

btw here's lilo.conf

# 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
# Windows bootable partition config begins
other = /dev/hda1
label = Windows
table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdb1
label = Linux
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
 
Old 10-20-2005, 06:48 PM   #6
mmarkvillanueva
Member
 
Registered: May 2005
Location: Philippines
Distribution: Slackware 10.0 : Linux 2.6.7
Posts: 66

Rep: Reputation: 15
BTW, i can load Linux without any problems... I just can't load Windows
 
Old 10-20-2005, 07:32 PM   #7
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,844

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
Its a similar problem, I think. You need to add the line:

boot-as = 0x80

right under label = Linux

Then run as root "/sbin/lilo" without quotes. It should work fine.
 
Old 01-06-2006, 01:24 AM   #8
mikeatuofi
LQ Newbie
 
Registered: Jul 2004
Distribution: SuSE 10.0
Posts: 1

Rep: Reputation: 0
First, I just wanted to say thanks for all the solutions posted - you guys got my problem solved here before I could even post a question.

I have basically the same setup as mmarkvillanueva. I added in the line "boot-as = 0x80", but I added it under "label=Windows", not "label=Linux".
 
  


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
FC3 Wont Load X Windows gayxdanny Fedora 8 03-27-2005 06:56 PM
Help!! Bootloader wont load Windows!! darktalon96 Linux - Newbie 5 10-04-2004 09:04 PM
lilo wont boot windows? spade Slackware 1 03-17-2004 03:53 PM
Can't get rid of Lilo, grub wont load why not? johnnybezak Linux - General 6 02-13-2004 05:27 PM
X windows wont load IamTheAntiX Linux - General 1 10-28-2001 04:50 AM

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

All times are GMT -5. The time now is 10:40 PM.

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