Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel panic on acer as4315[Solved]
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
Snappi
Tux's lil' helper
Tux's lil' helper


Joined: 20 Oct 2003
Posts: 113

PostPosted: Thu Mar 20, 2008 11:09 pm    Post subject: kernel panic on acer as4315[Solved] Reply with quote

Hi, does anyone have some ideas to what the problem can be?

Quote:
VFS: Cannot open root device "sda3" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)



grub.conf
Quote:
kernel /boot/bzImage root=/dev/sda3


I have tried to solve it for a while now and did a search and didn't find what I was looking for(maybe I missed it) or maybe I am just too tired at the moment to figure it out, anyways all help are appriciated.


Last edited by Snappi on Fri Mar 21, 2008 1:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
guru369
Apprentice
Apprentice


Joined: 02 Jun 2005
Posts: 225

PostPosted: Thu Mar 20, 2008 11:55 pm    Post subject: Reply with quote

This is the most common problem when manually compiling the kernel.

You are either missing the right controller for your disks in the kernel config or your /dev/sdX has changed.

How many disks do you have?
What is the partition you installed Gentoo on? (Channel 0 or 1) Master or Slave?

You should check also that you have SCSI support in your kernel. For some reasons it is still needed for the SATA controller to work and that SATA disks will be labeled as /deb/sdX

Dekel
_________________
Gentoo Rulz!!!
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri Mar 21, 2008 1:40 am    Post subject: Reply with quote

Can you post your /boot/grub/grub.conf and also your fdisk -l plz ?
Back to top
View user's profile Send private message
Snappi
Tux's lil' helper
Tux's lil' helper


Joined: 20 Oct 2003
Posts: 113

PostPosted: Fri Mar 21, 2008 6:51 am    Post subject: Reply with quote

I have 1 disk. I also have scsi support in the kernel

grub.conf
Code:
default 0
timeout 10
title=Gentoo
root(hd0,0)
kernel /bzImage root=/dev/sda3


fdisk -l
Code:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1           5       40131   83  Linux
/dev/sda2               6         515     4096575   82  Linux swap / Solaris
/dev/sda3             516        5379    39070080   83  Linux
/dev/sda4            5380        9729    34941375   86  NTFS volume set
Back to top
View user's profile Send private message
Snappi
Tux's lil' helper
Tux's lil' helper


Joined: 20 Oct 2003
Posts: 113

PostPosted: Fri Mar 21, 2008 1:16 pm    Post subject: Reply with quote

followed this, my sata settings was wrong and this solved it:

https://forums.gentoo.org/viewtopic-t-497930-highlight-.html
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