Linux - NewbieThis 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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hello. I have one harddrive, and 2 partitions. Slackware is on hda1 and windws is on hda2. I want lilo to be my bootloader. When I installed slackware, i also installed lilo to the superblock. I can boot to windows (it does it automatically), and I can boot to slack also, but I need a bootdisk to do it.
How do I 'enable' lilo so it is my bootloader. Right now win2k is thus not allowing an option to boot to linux.
Like I said, it appears everything is set to go, I just need to 'enable' lilo somehow. Thanks in advance!
If lilo is installed to the bootsector of your Linux partition...
Use 'dd' to copy it to a file:
dd if=/dev/hda1 of=/lilo.b bs=512 count=1
Copy this 'lilo.b' file to your Win2k (via floppy if you use NTFS) partition. Then add an entry in your 'C:\boot.ini' :
C:\lilo.b = "Slackware Linux"
This will use the Win2k bootloader to dual boot
Or, you can install lilo to the mbr:
You might be able to use the 'liloconfig' tool for this.
If not, edit your /etc/lilo.conf, changing the line 'boot=/dev/hda1' to 'boot=/dev/hda'. Then run 'lilo' to apply the changes.
Thanks for the info aaa. I did try conpying the boot sector to a floppy a few days ago, but everytime I booted back into win2k, it showed the floppy as being empty. It didn't say it was unreadable, needed to be formatted, or any errors. It just appeared as the disk was empty. You know why this would have happened?
PS. I did have it set to show all hidden files and folders, incase that was the prob, but apparently it wasn't.
Actually guys...I'm almost done. I did what you recommended aaa, and it seemsed to work so now windows is controlling the boot.
One error now, is that after I choose to boot to linux (from windows boot loader) it takes me to a linux screen, and LILO popups up. so now they both are working. How can I uninstall LILO so that just windows is controlling the boot.
As now, I have to select linux from windwos boot, then select linux again from LILO just to boot to linux. Thanks!
afaik windows bootloader can't load the linux kernel directly so it can't be done, but you can achieve a similar effect by setting "delay = 0" in lilo.conf, you'll need to run the lilo command as well as extracting the bootsector with dd again.