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'm having problems booting into windows through the grub bootloader...
First, here is my setup...
First hard disk:
/ on hd0,0
/boot on hd0,1
/home on hd0,2
Second hard disk:
windows on hd1,0
user partition on hd1,1
First I disconnected my first hard disk (so I can install the bootloader of windows in the MBR of the first drive)... everything went ok and I can boot into windows properly using the windows bootloader...
Then I reconnected my first drive, installed Linux in it and configured grub for dual boot... but when I try to boot to windows through grub I get on my screen the entries for windows in the grub/menu.lst
..... on /hd1,0
and underneath all that is a bunch of garbage values (just one line of garbage, maybe about 8 characters long)
something like that, I apologize, I'll edit as soon as I get back to Linux.
So what did I do wrong?
It's possible that I have windows use the MBR of the second drive and Linux on the first right? And I just set my bios boot options to the Linux drive and point the MBR of the windows drive in the grub configuration... Am I wrong on this?
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
# Pretty colours
color cyan/blue white/blue
# Display a splashscreen
## ## End Default Options ##
title Libranet GNU/Linux, kernel 2.4.21
kernel /vmlinuz-2.4.21 root=/dev/hda1 ro hdc=scsi
title Libranet GNU/Linux, kernel 2.4.21 (single user mode)
kernel /vmlinuz-2.4.21 root=/dev/hda1 ro hdc=scsi single
### END DEBIAN AUTOMAGIC KERNELS LIST
title Windows on /dev/hdb1
title Memory Test
I don't really get any errors, just the screen with these lines and some garbage values
title Windows on /dev/hdb1
(SOME GARBAGE HERE) **&*&*(@#&@#
well i think I know what the problem was... I installed Windows when it was the only drive in the pc so the boot.ini used the first disk of the pc, however when I connected the other disk and installed Linux on it... Windows became the 2nd drive... So I edited the boot.ini file and change rdisk(0) to rdisk(1).... and guess what? now I ruined windows! I should really sstop trying to take things in my own hands from now on... Sad thing is my XP disk is not with me right... My brother's going to kill me now... lol
I just fixed my boot.ini in Windows using a boot floppy..
Yes, I do plan on upgrading to kernel 2.6 for NTFS write support (I use 2.4 currently) but I would like to setup my booting properly first. I'll explain why, what I want to do is to boot Windows from grub. I have done this before but from a different setup (only one MBR).. Now when I try to boot from grub (the disk having linux being primary and windows secondary) I only get the lines in /boot/grub/menu.lst and a bunch of garbage (tho sometimes no garbage shows up)... I do not know why this exactly happens ,my hunch is that my boot.ini considers the windows the master drive so when I boot from grub (windows is a slave in this case) it fails... So I try editing the boot.ini file but I still get the same results..
Here is my original boot.ini which boots properly when I set the windows drive as the master:
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
Now I don't exactly know what I'm doing here but I edited it as follows:
multi(0)disk(1)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
After that I still get the same results when I boot from grub....
here is my boot.ini
i amhaving windows in /dev/hda5
and the boot partiton for windows is /dev/hda1
multi(0)disk(0)rdisk(0)partition(4)\WINNT="Microsoft Windows 2000 Advanced Server" /fastdetect