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 decided to have a look at Lindows v4. I am already running XP and redhat 9. After installing Lindows it installed its own booter that recognised XP but redhat 9 was gone. Being new to this boot sector stuff I reinstalled redhat 9. Again XP was recognised and boots as does redhat 9, however this time Lindows was recognised but won't boot. I figure I need to edit the grub configuration file to let grub know about the lindows kernel. But what do I need to add??? There is an entry for Lindows in grub config but it doesn't mention the kernel version etc as it does for redhat.
This is the grub conf. I can at least now get Lindows to start to boot but it has a kernel panic concerning the LABEL....cannot access. ( I copied and pasted the redhat info into the Lindows section of the grub conf.) The boot stuff for lindows is in the /boot directory. I renamed the necessary parts for Lindows so the file now appears as below. What other changes are required to get past the kernel panic??
title Crasher Linux (2.4.20-20_29.rh9.at)
kernel /boot/vmlinuz-2.4.20-20_29.rh9.at ro root=LABEL=/ hdc=ide-scsi
title Lindows Sux
kernel /boot/vmlinuz-2.4.20 ro root=LABEL=/ hdc=ide-scsi
I have checked thru settings and all appear correct. Could it be related to the beyond the 1024 barrier??? Although it was booting fine before the install. I have another system that I just compiled the kernel on and it is doing the same. All the files are in /boot and have the correct names etc listed in grub config, although the old kernel boots fine....hmmmm I am confused.....is there a booting god around???
Yes thanks for the suggestion, I did try it but the kernel panic was the same......I am going to try loading Lindows on another drive to see what it using in its config.....don't know if it uses grub but it may give me a clue. The really frustrating part is the new kernel on another machine that is giving the same error....I gotta be doing something silly (however the kernel compile automatically modified grub config for the new kernel with the same error!)...
Originally posted by jailbait "I have checked thru settings and all appear correct."
I read someplace that there is a bug in grub that root=LABEL=/ does not always work right.
My question is: if grub.conf just states kernel /boot/vmlinuz-2.4.20-20_29.rh9.at ro root=LABEL=/ with nothing more, would it function properly? Would it boot from the HD? Or does the entry need something like kernel /boot/vmlinuz-2.4.20-20_29.rh9.at ro root=LABEL=/ hdc=ide-scsi?
Thanks for the help guys......after some more disaster installs of Lindows (trashing boot sector on the primary HDD etc) I have decided that Lindows is a type of linux virus and have decided to stay happy with redhat 9.
In which harddisk and which partition did you install RedHat and Lindows? I happened to have the same problem (the kernel panic things) when I compile a new kernel with root=LABEL=/ thing. JUst replace it with your exact partition number root=/dev/hd**. I think grub is just OK.