LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Lilo won't boot XP after kernel upgrade (https://www.linuxquestions.org/questions/slackware-14/lilo-wont-boot-xp-after-kernel-upgrade-232985/)

jafriede 09-20-2004 12:30 PM

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

Cedrik 09-20-2004 12:38 PM

I would try to change the ligne :
prompt

to :
# prompt
and then, run lilo -v

jafriede 09-21-2004 01:15 PM

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

gbonvehi 09-21-2004 05:13 PM

Try:
# Windows bootable partition config begins
other = /dev/hda1
label = WindowsXP
boot-as=0x80
# Windows bootable partition config ends

jafriede 09-21-2004 05:31 PM

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

Nikon01 09-21-2004 06:47 PM

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

jafriede 09-22-2004 01:35 PM

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!


All times are GMT -5. The time now is 08:31 AM.