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 rebuilt PCs both running with two hard discs.
The first has SATA discs and a 64 bit cpu. Windows is on the first disc and I installed SUSE 10.2 64 bit on the second disk. Grub will not let me boot the Windows disk. It just freezes up.
The second PC belongs to my wife and has two IDE disks. As before, windows is on the first. I downloaded the CDs for SUSE 10.2 32 bit, and installed it on the second Hard disk. Once again I cannot boot windows anymore.
I was for a few months running SUSE 10 on a similar machine and this had no problem with Grub, giving me the option of booting into windows on the first disk or Linux on the second.
What I would like to know is if there is something different with 10.2 that gives me the same problem on two different machines with two different CD sets?
I think that if people want to play with Linux before making the decision to move from Windows then this will be a major obstacle. On my PC I can get into either OS by unplugging one of the drives, but there is no way that my wife will want to do this.
If I was more knowledgeable about Grub, could I get around this problem? I don't want to go back to SUSE 10 now that I have tried 10.2 and am not sure that that would be the solution anyway.
Thanks Larry, I'll look into it this evening. I have managed to find the menu.lst inside /boot/grub and it looks different to the help page, but I will see what I can do. What a learning curve this is going to be!
OK on advice and much reading this is what I have got.
The /boot/grub/menu.lst look like this:
###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.2
kernal /boot/vmlinuz root=/dev/sdb2 vga=0x31a resume=/dev/sdb1 splash=silent
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.2
kernal /boot/vmlinuz root=/dev/sdb2 vga=normal shopopts ide=nodma apm=off acpi=off
noresume edd=off 3
There is no mention of the windows drive, both drives are SATA drives.
I have added this bit to see what it does:
title Windows XP
When I booted with this bit in the menu.lst, it showed Windows as an option, but when I chose that option, it won't boot into windows.
My question now is, have I got it nearly correct and am I missing something?
Tried that, but still does not work. I am beginning to understand this a little more now and looked at a file on /boot/grub/ which said only: (hd1) /dev/sda
The linux is on the sdb and the windows on the sda. I have tried changing the rootnoverify line to have (hd0,0), (hd1,0), (hd1,1) and (hd0,1). I have also changed the chainloader line to read just +1 with all these options and still cannot get it to work.
If I unplug the Linux hard drive it will boot strait into windows, so I know there is not a problem there.
I tried the map command lines as you have suggested, (I saw this on another thread) but I tried putting them below the chainloader, which didn't work, so I moved then to above the rootnoverify line which didn't work either.
Both ways the grub loader failed when it got to the map command.
I tried the map command lines as you have suggested, (I saw this on another thread) but I tried putting them below the chainloader
Just to verify, does that mean that you have not tried it the way I posted?
Have you tried root instead of rootnoverify? Is your root statement with (hd0,0) or (hd1,0)? It might help if you'd boot linux and run fdisk -l to make exactly sure of the partitions on the doze drive.
I'm not a grub expert, but here is what I understand of the grub lines I posted. If you look at it this way, do you think there should be a change to it for your situation?
rootnoverify (hd1,0) doze root is located on the first partition of the second BIOS drive
map (hd0) (hd1)
map (hd1) (hd0) after root is defined above swap hd0 and hd1 so that doze sees hd0 and not hd1 when it boots
makeactive make this swapped root active
chainloader +1 chainload to the second bios drive
One thing that you might try is to add "boot" after the chainloader statement.
Last edited by Quakeboy02; 04-08-2007 at 07:17 PM.
Thanks for all the replies. I ended up having to reload linux last night, my fault I think. I have now decided to leave the system how it is and change the hard drives around in the BIOS if I need to boot into Windows.
I think that part of my problem is that I was logging on as root and changing the menu.lst file using kwrite and then saving it. Perhaps this is not the correct way to do things, but I am still learning.
The only reason that I need to use windows now is to play the odd game.
I have at last found a work around. The answer was a small program called GAG. I have set it up and installed it and I now have the choice of booting into Windoze or into Grub. Am I happy? You bet I am.