Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Macbook, Kernel Panic at boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
iEvory
n00b
n00b


Joined: 20 Feb 2013
Posts: 3

PostPosted: Wed Feb 20, 2013 4:13 pm    Post subject: Macbook, Kernel Panic at boot Reply with quote

I've installed gentoo-sources, bootloader is refit+lilo (I have 3 systems on it: Mac Os(sda2), Gentoo (sda3), Windows (sda4))

Mbp boots perfectly Mac and Windows.
But not gentoo...

I have next problem at booting gentoo:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,3)

I've read about this problem, and many ppl suggests that it is filesystem problem.

sda3 is formatted in ext4.

But I have some disturbing information about my system from different programs:
- When I setted up lilo, It wrote Warning: "partition type 0xAF on device 0x803 is a dangerous place for a boot sector"
0XAF it looks like a HFS/HFS+ filesystem, which is normally mac uses.

- Disk utility in mac recognizes sda3 as HFS/HFS+ too.
- also in linux fdisk -l says that it's a HFS/HFS+ filesystem
- Windows recognizes this disk but it cannot define the filesystem, but it can read sda2 partition, which is rly HFS+

- But other programms like a linux command 'df -T' writes that sda3 has ext4 (which it should be, because before installing gentoo I had formatted it with mkfs.ext4)

I'm sorry for my bad English.
And I'm asking you for a help
Thank you

P.S. I actually can boot my gentoo system with bootloader from disc sysreccd. But with standart kernel (3.4.30-std340-amd64).
Back to top
View user's profile Send private message
gabrielg
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2012
Posts: 134

PostPosted: Wed Feb 20, 2013 7:12 pm    Post subject: Reply with quote

Perhaps you didn't change the type of the partition to be Linux? what's the output of
Code:

fdisk -l /dev/sda

while you booted from a sysresccd?

Also, can you successfully chroot into /dev/sda3 while you booted from a CD?
Back to top
View user's profile Send private message
iEvory
n00b
n00b


Joined: 20 Feb 2013
Posts: 3

PostPosted: Wed Feb 20, 2013 8:06 pm    Post subject: Reply with quote

diskutil list(Mac os)

/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *250.1 GB disk0
1: EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh H 135.7 GB disk0s2
3: Apple_HFS 45.0 GB disk0s3
4: Microsoft Basic Data BOOTCAMP 68.9 GB disk0s4

Yep, I can do:
mount /dev/sda3 /mnt/gentoo
chroot /mnt/gentoo /bin/bash

Boot cd has a grub on it which boots my actual gentoo. So my root directory is at /dev/sda3
Back to top
View user's profile Send private message
gabrielg
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2012
Posts: 134

PostPosted: Thu Feb 21, 2013 7:47 pm    Post subject: Reply with quote

I don't know much about diskutil, if I were you I'd try to change the type of the partition with fdisk, not entirely sure whether this will fix your problem though, but it is the first thing that appears to be wrong. Back up your data first, of course :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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