Author Topic: New distros grub results in kernel panic  (Read 1281 times)

Offline FritoBandito

  • Full Member
  • ***
  • Posts: 178
New distros grub results in kernel panic
« on: April 30, 2011, 06:47:28 PM »
Hi I just installed another distro and I was planning to dual-boot with PCLOS (just for fun).
However, somehow the newly installed grub choices result in a PCLOS kernel panic.

Also if i rewrite grub using my PCLOS live CD (something from 2010) the other distros grub screen still comes up, like its over riding anything else i do.

I have no idea what to post but I'll take any guidance.

Help please and thankyou

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11591
  • ----IOFLU----
Re: New distros grub results in kernel panic
« Reply #1 on: April 30, 2011, 07:40:56 PM »
First do this;

http://www.pclinuxos.com/forum/index.php/topic,62786.msg508062.html#msg508062

Then install the other OS grub2 to its own / partition, and add a chainloader stanza to it in your PCLinuxOS menu.lst.

title <other OS>
root (hd0,n)
kernel /boot/grub/core.img
boot


Replace <other OS> with the actual OS name, and n with the proper partition number, counting from 0 for the first partition.
« Last Edit: May 04, 2011, 01:20:35 PM by old-polack »
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline FritoBandito

  • Full Member
  • ***
  • Posts: 178
Re: New distros grub results in kernel panic
« Reply #2 on: April 30, 2011, 09:49:34 PM »
do i do the first step for PCLOS or for the other distro (which uses grub 2)?

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11591
  • ----IOFLU----
Re: New distros grub results in kernel panic
« Reply #3 on: April 30, 2011, 10:46:00 PM »
do i do the first step for PCLOS or for the other distro (which uses grub 2)?

For PCLinuxOS. The idea is to quarantine the broken grub2 so it's only used to boot its own OS.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: New distros grub results in kernel panic
« Reply #4 on: May 01, 2011, 05:28:23 AM »
do i do the first step for PCLOS or for the other distro (which uses grub 2)?

For PCLinuxOS. The idea is to quarantine the broken grub2 so it's only used to boot its own OS.


;D ;D

I do so like that terminology

;D  ;D

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: New distros grub results in kernel panic
« Reply #5 on: May 01, 2011, 05:40:31 AM »
do i do the first step for PCLOS or for the other distro (which uses grub 2)?

For PCLinuxOS. The idea is to quarantine the broken grub2 so it's only used to boot its own OS.

;D ;D

I do so like that terminology

;D  ;D

+1  :D

Offline brilz

  • Full Member
  • ***
  • Posts: 107
Re: New distros grub results in kernel panic
« Reply #6 on: May 04, 2011, 12:11:35 PM »


title <other OS>
root (hd0,n)
chainloader +1



as for me these lines wont chainload to that grub2 loader :(
well the workaround is to add kernel /boot/grub/core.img to the boot stanza so it'll looks like this

title xxx
root (hd0,??)
kernel /boot/grub/core.img
chainloader (hd0,??)+1  ---->>does this additon really makes any differents??

i prefer grub1 to handle things :D


--------------------------------------------------------
Acer 4740 i3 2,1ghz 1gb ddr3 intel gma hd 320gb sata, PcLinuxOS kde4

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11591
  • ----IOFLU----
Re: New distros grub results in kernel panic
« Reply #7 on: May 04, 2011, 01:18:37 PM »


title <other OS>
root (hd0,n)
chainloader +1



as for me these lines wont chainload to that grub2 loader :(
well the workaround is to add kernel /boot/grub/core.img to the boot stanza so it'll looks like this

title xxx
root (hd0,??)
kernel /boot/grub/core.img
chainloader (hd0,??)+1  ---->>does this additon really makes any differents??

i prefer grub1 to handle things :D


Sorry about that, you are correct. I originally posted the chainloader stanza for legacy grub. For grub2 it should be;

title <other OS>
root (hd0,n)
kernel /boot/grub/core.img
boot


Thanks for the keen eye. I've corrected the original posting, to avoid future confusion of others that may need this information.
« Last Edit: May 04, 2011, 01:32:52 PM by old-polack »
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...