LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-21-2003, 06:26 PM   #1
Crasherz
Member
 
Registered: Sep 2003
Location: Australia_Warm & Sunny
Distribution: Fedora & Doze XP Pro
Posts: 68

Rep: Reputation: 15
How do I get grub to boot Lindows


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.
 
Old 09-21-2003, 07:18 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"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.
 
Old 09-21-2003, 08:43 PM   #3
Crasherz
Member
 
Registered: Sep 2003
Location: Australia_Warm & Sunny
Distribution: Fedora & Doze XP Pro
Posts: 68

Original Poster
Rep: Reputation: 15
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
 
Old 09-21-2003, 08:57 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
As a guess, try this in the Lindows section:

kernel /boot/vmlinuz-2.4.20 ro root=/dev/hda10 hdc=ide-scsi
 
Old 09-21-2003, 09:17 PM   #5
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
Also try using lilo.
 
Old 09-22-2003, 05:36 PM   #6
Crasherz
Member
 
Registered: Sep 2003
Location: Australia_Warm & Sunny
Distribution: Fedora & Doze XP Pro
Posts: 68

Original Poster
Rep: Reputation: 15
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???
 
Old 09-22-2003, 06:34 PM   #7
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"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.
 
Old 09-22-2003, 06:45 PM   #8
Crasherz
Member
 
Registered: Sep 2003
Location: Australia_Warm & Sunny
Distribution: Fedora & Doze XP Pro
Posts: 68

Original Poster
Rep: Reputation: 15
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!)...
 
Old 09-25-2003, 06:00 PM   #9
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
You might also want to try using LILO. I have heard of a lot of problems out of Grub. I don't think it is you. Grub just sucks for some reason.

Last edited by lectraplayer; 09-25-2003 at 06:02 PM.
 
Old 09-25-2003, 06:52 PM   #10
SiriusAB
Member
 
Registered: Feb 2003
Location: S_AB
Distribution: FC4; FC3; RH 9.0; XP
Posts: 86

Rep: Reputation: 15
Quote:
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?
 
Old 09-25-2003, 07:48 PM   #11
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
...then again, Crasherz could have just ran into another bug in Grub. I always heard that it sucked anyway, so I use LILO when I can.
 
Old 09-28-2003, 01:49 AM   #12
Crasherz
Member
 
Registered: Sep 2003
Location: Australia_Warm & Sunny
Distribution: Fedora & Doze XP Pro
Posts: 68

Original Poster
Rep: Reputation: 15
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.
 
Old 09-28-2003, 08:00 AM   #13
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
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.
 
Old 09-28-2003, 08:24 PM   #14
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 03:13 AM
need to access /boot/grub/menu.lst and /boot/grub/device.map neouto Linux - Newbie 8 09-04-2005 11:45 AM
Lindows 4.0 Tri-O/S System Boot Question james91911 Linspire/Freespire 4 09-07-2004 11:40 AM
Lindows partitions / dual boot CountryBoy Linux - Newbie 1 02-17-2003 04:07 PM
lindows & OS boot order the_y_man Linux - Newbie 1 01-28-2003 03:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration