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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
"it doesn't mention the kernel version etc as it does for redhat."
You can name a kernel anything that you want. The version number is not necessary. To find out what the Lindows kernel is named list the directory of /boot on the Lindows partition.
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)
root (hd0,6)
kernel /boot/vmlinuz-2.4.20-20_29.rh9.at ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.20-20_29.rh9.at.img
title XP
rootnoverify (hd0,0)
chainloader +1
title Lindows Sux
root (hd0,9)
kernel /boot/vmlinuz-2.4.20 ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.20.gz
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???
"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. That is why I suggested an alternate syntax even though yours is correct.
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.
Nobody tried LILO? It's amazing how often I have heard about this going away when LILO was used. Does it even prompt you if you want LILO? You might need to use Expert Mode.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.