LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-20-2004, 12:30 PM   #1
jafriede
LQ Newbie
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 10, Ubuntu 7.04
Posts: 14

Rep: Reputation: 0
Question Lilo won't boot XP after kernel upgrade


I am running Slackware 10 on /dev/hdb1. I have Windows XP on /dev/hda1. I use my BIOS to boot from hdb1 which invokes LILO. I have had no problems until I recently compiled the 2.6.8.1 kernel. Now, when I select to boot to Windows XP, the computer just hangs and I have to use the BIOS to boot to hda1. I re-ran LILO after compiling. Here is my Lilo.conf:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hdb1
#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/hdb1
label = Linux2681
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hda1
label = WindowsXP
table = /dev/hda
# Windows bootable partition config ends


Also, here is the contents of my /boot directory:

total 6156
drwxr-xr-x 2 root root 4096 2004-09-20 09:52 ./
drwxr-xr-x 20 root root 4096 2004-09-15 12:16 ../
lrwxrwxrwx 1 root root 37 2004-09-10 04:55 README.initrd -> /usr/doc/mkinitrd-1.0.1/README.initrd
lrwxrwxrwx 1 root root 18 2004-09-17 08:47 System.map -> System.map-2.6.8.1
-rw-r--r-- 1 root root 977055 2004-09-17 08:46 System.map-2.6.8.1
-rw-r--r-- 1 root root 620999 2004-06-14 21:29 System.map-ide-2.4.26
-rw-r--r-- 1 root root 512 2004-09-10 05:20 boot.0341
-rw-r--r-- 1 root root 209 2004-09-10 05:20 boot_message.txt
-rw-r--r-- 1 root root 0 2004-09-20 09:52 bootdir
lrwxrwxrwx 1 root root 17 2004-09-10 04:55 config -> config-ide-2.4.26
-rw-r--r-- 1 root root 41017 2004-06-14 21:29 config-ide-2.4.26
-rw-r--r-- 1 root root 5032 2004-05-21 02:19 diag1.img
-rw------- 1 root root 37888 2004-09-20 09:49 map
-r-------- 1 root root 1248111 2004-09-10 05:20 vmilnuz.old
lrwxrwxrwx 1 root root 15 2004-09-20 09:41 vmlinuz -> vmlinuz-2.6.8.1
-rw-r--r-- 1 root root 2069076 2004-09-17 08:45 vmlinuz-2.6.8.1
-rw-r--r-- 1 root root 1248111 2004-06-14 21:29 vmlinuz-ide-2.4.26


Any ideas?
Thanks,
John
 
Old 09-20-2004, 12:38 PM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
I would try to change the ligne :
prompt

to :
# prompt
and then, run lilo -v
 
Old 09-21-2004, 01:15 PM   #3
jafriede
LQ Newbie
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 10, Ubuntu 7.04
Posts: 14

Original Poster
Rep: Reputation: 0
Well, I've got more stuff screwed up now. Made some config changes like adding NTFS support which I need and some Framebuffer stuff, re-compiled and now I get a blank screen. I ran the lilo -v before I did all that and the only "warning" it gave me was that /dev/hdb1 is not the first drive. It also said "assuming LBA32" Do I need to specify the geometry of the drive that WindowsXP is on for the 2.6 kernel? If so how do I do it?

Thanks
 
Old 09-21-2004, 05:13 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Try:
# Windows bootable partition config begins
other = /dev/hda1
label = WindowsXP
boot-as=0x80
# Windows bootable partition config ends
 
Old 09-21-2004, 05:31 PM   #5
jafriede
LQ Newbie
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 10, Ubuntu 7.04
Posts: 14

Original Poster
Rep: Reputation: 0
You're a genius! Why didn't I have that problem before installing the 2.6.8.1 kernel? Also, any ideas why the screen is blank when I boot to my new kernel? I have made sure all the frame buffer stuff was compiled.

-John
 
Old 09-21-2004, 06:47 PM   #6
Nikon01
Member
 
Registered: Jul 2003
Distribution: Slackware 10.0
Posts: 196

Rep: Reputation: 30
Did you select the logo stuff too? You need to select quite a few things to be able to see your console on boot with the new kernel ;\.
 
Old 09-22-2004, 01:35 PM   #7
jafriede
LQ Newbie
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 10, Ubuntu 7.04
Posts: 14

Original Poster
Rep: Reputation: 0
Got the display working. I unchecked "use compiled fonts" and that seemed to fix it. I have more problems with sound, etc. but I will start a new post for that.

Thanks!
 
  


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
System Down: Broken LILO after failed kernel upgrade. Please help! Yalla-One Linux - Software 1 03-30-2005 03:53 PM
Best method to upgrade HDD of RH Linux 6.0 (lilo boot) Noorul Linux - Software 3 08-26-2004 01:18 PM
best method to upgrade RH Linux 6.0 harddisk with lilo boot Noorul LQ Suggestions & Feedback 1 08-25-2004 06:32 AM
LILO Hangs at Boot After Sarge Upgrade oxleyk Debian 1 11-28-2003 05:48 PM
RH9 Upgrade from 7.3. LILO stops at LI - boots from boot disk ok zevious Linux - Software 4 04-17-2003 07:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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