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!
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.
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.
grub doesn't use drive names such as hda, hdb, etc. grub uses hd0, hd1, etc, where hd0=hda, hd1=hdb, etc. If you simply tell grub to install the first part to hd0, then it will overwrite the MBR, and windows will not be bootable without a boot disk until you edit /etc/grub.conf (if that's what your distro uses), or edit /boot/grub/menu.lst (if that's what your distro uses) to add windows to the menu.
If you install grub to (hd0,1) or whatever the linux partition is, then all of grub will be installed in the linux partition, and you won't be able to boot linux without a boot disk, or loadlin in the windows partition.
For more info on the ins and outs of grub, google up a copy of 'Zen and the Art of Using Grub'.
For more info on how to setup loadlin in the windows partition, use google to search for the loadlin HOWTO that explains how to do it.
This is what my /boot/grub/menu.lst has for my windows partition:
title windows
root (hd0,0)
chainloader +1
My /etc/grub.conf has this:
root (hd0,2) #where boot is located
install --stage2=/boot/grub/stage2 /grub/stage1 d (hd0) /grub/stage2 0x8000 (hd0,2) /grub/menu.lst
quit
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.