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.
i have 2 hard drive
right now i have to go thru bios eveytime i want to go to different os and choose the corresponding hd
can i set lilo to boot to linux or windows, so within 30 s if i don't put anything lilo will boot to linux?
You'll need to run "liloconfig" as root in a terminal to set this up the first time. Install LiLO to your MBR, and don't worry. I feel that it's going to be pretty self-explanatory, but if you have questions, ask back.
Here's my /etc/lilo.conf for a dual boot Slackware-10.2 / Windoze XP box:
# LILO configuration file
# generated by 'liloconfig'
# Start LILO global section
boot = /dev/sda
#compact # faster, but won't work on all systems.
timeout = 50
# VESA framebuffer console @ 1024x768x256
vga = 773
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.15
root = /dev/sda6
label = Slackware
image = /boot/vmlinuz-220.127.116.11
root = /dev/sda6
label = Slack-18.104.22.168
image = /boot/vmlinuz
root = /dev/sda6
label = Slack-2.4.31
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
label = WinXP
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/sda
# Windows bootable partition config ends
You'll need to adjust the devices for yours, and change the timeout from 50 (5 seconds) to 300 (30 seconds). Probably might want to check your framebuffer console settings, also. But you really shouldn't have to edit anything manually, once you run "liloconfig" and reboot, you should be good to go.
If you run "liloconfig" as I suggested then it will probably set it up just right for you. All you'll have to do is choose the proper Linux / (root) and Windows partitions. Did you run "liloconfig" as root yet?
Good. You only have one /etc/lilo.conf file, and that is simply the configuration file on the drive with your Linux operating system. If you chose to install LiLO to the MBR, then it has placed a boot loader into the first sector of your first partition on your first hard drive (/dev/hda). For more information you can read: http://en.wikipedia.org/wiki/Master_Boot_Record
You don't have two boot loaders, and you don't have two /etc/lilo.conf files. You are okay. If you want to see how "liloconfig" setup /etc/lilo.conf, you can type "cat /etc/lilo.conf" in a terminal (without the quotes) and it will print the contents of the file to stdout (your monitor).