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.
OK i finally got online with Slackware. (i had no idea what a ride i was signing up for anyways again i installed lilo to the super block, i've got two hard drives, one with linux one with windows. from lilo i can get into linux fine, but when i try to get into windows from lilo it just hangs at loading windows with a blinking cursor. i just did a fresh install of slackware and here's a copy of lilo..
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda1
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt
# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# 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
# End LILO global section
# Windows bootable partition config begins
other = /dev/sdb1
label = Windows
table = /dev/sdb
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda1
label = Linux
read-only
# Linux bootable partition config ends
also my root partition is:
Code:
sda1
and under cfdisk, sda1 is flagged boot. i am brand new to linux and just learning the command line so if you need more info let me know. and don't omit any detail in your explanations. thanks for your patience guys.
I haven't dual booted with windows in a while but I don't believe you should have the windows partition bootable... I doubt this would be an issue anyway.
You can toggle the bootable option for your windows drive with:
Code:
lilo -A /dev/sdb 0
Note the space between '/dev/sdb' and '0'
The '-A' tells lilo to toggle the boot option on the device '/dev/sdb' for the referenced partition number.
'0' tells it to remove the boot flag from all partitions on the given device.
Also,
I'm not sure your lilo.conf file needs "table=/dev/sdb" for the windows specification. This may be throwing you off.
Additionally, you may need different options in your lilo.conf if you are booting Win98 vs. Win XP.
I haven't dual booted with windows in a while but I don't believe you should have the windows partition bootable... I doubt this would be an issue anyway.
You can toggle the bootable option for your windows drive with:
Code:
lilo -A /dev/sdb 0
Note the space between '/dev/sdb' and '0'
The '-A' tells lilo to toggle the boot option on the device '/dev/sdb' for the referenced partition number.
'0' tells it to remove the boot flag from all partitions on the given device.
Also,
I'm not sure your lilo.conf file needs "table=/dev/sdb" for the windows specification. This may be throwing you off.
Additionally, you may need different options in your lilo.conf if you are booting Win98 vs. Win XP.
i wish i would have renamed this post, i hope people are getting this far down to actually see the issue has changed...
anyways i removed the bootable option on my XP drive and that didn't work. all it did was make the drive not bootable at all. i got the "no bootable drives exist on this machine" error. so i changed that back. i tried removing the "table=/dev/sdb" line from lilo and that didn't work either. i'm putting it back in unless the next poster agrees it should be out. it just seems like this should be a very simple fix. however i don't know enough about linux to know what it is. if you can help, please post. all i want to be able to do is have windows and linux boot from lilo without having toggle from disabling drives in BIOS. thanks!
The BIOS calls the first and second floppy 0x00 and 0x01,
the first hard drive will be 0x80, the second 0x81 and so on.
You're just fooling the BIOS (and consequently Windows) that the second hard drive is really the first.
Windows calls the first hard drive "C:", and (AFAIK) won't boot off any other drive.
I had the same problem, but with my BIOS I just hit ESC when I reboot and the BIOS gives me a list of HD I can boot from, I choose the correct drive and I can boot Windows or Linux...
I will apply this however, sometimes I miss hitting ESC and have to reboot just to get the correct drive.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.