Problems with updating LILO for a kernel recompile..
SlackwareThis Forum is for the discussion of Slackware 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.
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.
Problems with updating LILO for a kernel recompile..
I just wiped and reloaded my machine - I've got Windows on a 160GB HD as primary-master, and Linux on a 200GB HD as primary slave. I use XOSL as my bootloader, and have LILO loaded on the root partition.
I installed Slackware 10.1 and got everything running hunky doory.
Anyway, I downloaded the 2.6.7 source and proceeded to update my lilo.conf..
Now, after changing my lilo.conf to this:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hdb1
#compact # faster, but won't work on all systems.
prompt
timeout = 50
# 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 = 2.6.7
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
image = /boot/vmlinuz.old
root = /dev/hdb1
label = 2.4.29
read-only
# Linux bootable partition config ends
I would run lilo, and get this
Quote:
Reference: disk "/dev/hda" (3,0) 0300
LILO wants to assign a new Volume ID to this disk drive. However, changing
the Volume ID of a Windows NT, 2000, or XP boot disk is a fatal Windows error.
This caution does not apply to Windows 95 or 98, or to NT data disks.
Is the above disk an NT boot disk? [Y/n]Y
Aborting ...
I obviously can't recompile until I get this working. What is going wrong?
you said you have a Windows partition, but it's not in your lilo.conf, i think, but im not sure, you need to add something like this, some how got erased
other = /dev/hda1
label = Windows
table = /dev/hda
# Windows bootable partition config ends
change "/dev/hda" to where ever its you Windows partition, but again, im *not* sure if this is the problem
Update: I redid my Slackware install just to check to make sure I didn't miss anything, and I realized.. I didn't have Windows set up when I installed originally. I tried to go through the install of Lilo, and it appeared to hang (however, it was really waiting for me to say Y/N about the drive label issue, even though it didn't prompt me). I hit Y, hit enter, and it moved on. Obviously, LILO isn't installed anymore. Before doing this I tried to download the latest version and install it, however that didn't work either.
So, yeah. Seems like I have a small problem now. I NEED to get my system up and running today, tomorrow afternoon at the very latest. I have work to do, and I need both a Linux and a Windows install up and running quickly and permanently (I'm on spring break - I go back to college Sunday, and won't have time to mess with my system).
I've ran similar configurations for the past 3 years using Slackware and Windows.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.