Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Peculiar kernel panic
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
aschueler
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 119

PostPosted: Sun Apr 06, 2014 5:37 pm    Post subject: Peculiar kernel panic Reply with quote

I hope this doesn't get too confusing.

The short version is this:

3 physical hard drives...gentoo lives on sdc, mint on sdb, windows 7 is on sda.

I installed grub2 on sdc, mainly because when I installed it on sda it ate my MBR and it was difficult to get it working again. So. For reasons of paranoia, i unplugged sda when I installed grub2 but I don't think this matters.

When i choose sdc (where grub2 and gentoo are) as a boot from bios, the grub menu comes up and shows me my options; when I choose mint, it comes up with no drama. However, gentoo now gets a kernel panic and won't boot.

If I unplug sda, it loads gentoo fine.

Any ideas?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43184
Location: 56N 3W

PostPosted: Sun Apr 06, 2014 7:17 pm    Post subject: Reply with quote

aschueler,

When you unplugged sda, sdb became sda and sdc became sdb. At least, from the kernels perspective.
Grub uses the BIOS discovery order for your HDD. This may not be the same as the kernel order.
e.g. some BIOSes report the bood drive as hd0, regardless of which drive it is.

Anyway, while all that is interesting, its probably irrelevant.
That the kernel loads tells that grub is doing its thing, loading the kernel, otherwise the kernel could not panic.
The text of the panic message would be very useful - can you post a photo ?
Also the content of your grub.cfg file.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
aschueler
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 119

PostPosted: Sun Apr 06, 2014 7:22 pm    Post subject: Reply with quote

Sorry for bugging you, I just found a work around...I installed grub2 to what is sdc (gentoo) and ran the config again. Strangely enough, when I ran the config

Code:
 grub2-mkconfig -o /boot/grub/grub.cfg


It doesn't find any other OS besides gentoo itself, despite having both hard drives with windows and linux mint attached, although it did before.

Now I can use bios to choose which HD to boot from and it works.

I can't post the config or screen pic because I have worked around it.

Now I will have to figure out how to configure grub2 by hand to load mint, or maybe find out how to totally remove grub2 and replace with grub legacy which I understood.

Thanks for the initial help.

Oh and not that it matters because it never got to fstab, I have UUID's for drives there to avoid the naming issues
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum