Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel Panic on First Boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Topher200
n00b
n00b


Joined: 02 Feb 2006
Posts: 7
Location: Rhode Island

PostPosted: Thu Feb 02, 2006 5:06 am    Post subject: Kernel Panic on First Boot Reply with quote

I have no experiance at all with Linux, and I am trying to install Gentoo following the manual exactly. I've had a couple problems, but none that couldn't be solved by reading the guide more carefully, experimenting, or searching on here. I feel like I'm nearing the end of the install, however, I have run into a problem that I can't get around.

On booting (with GRUB), I choose what I want to boot to (the only option- Gentoo Linux) and press enter. Tons of commands roll down the screen, and all is well until a serious looking error:

UDF-fs:No Partition Found (1)
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,3)

Thanks in advance!
Back to top
View user's profile Send private message
bdm
Guru
Guru


Joined: 20 Jan 2006
Posts: 305
Location: Canada, Barrie, Ontario

PostPosted: Thu Feb 02, 2006 5:11 am    Post subject: Reply with quote

I have the exact problem and still can't find out how to fix it :(
Back to top
View user's profile Send private message
wmakowski
n00b
n00b


Joined: 27 Jan 2006
Posts: 33
Location: Ohio, USA

PostPosted: Thu Feb 02, 2006 5:43 am    Post subject: Reply with quote

There are a couple reasons why this error could occur. Their could be a misconfiguration of grub.conf and/or /etc/fstab. Another possibility is that the driver for your controller is missing from the kernel. Post the following items.

1) grub.conf
2) /etc/fstab
3) output from fdisk -l /dev/sda (replace /dev/sda with whatever device you used during your install)
4) output from lspci

Bill
Back to top
View user's profile Send private message
Entropy42
n00b
n00b


Joined: 05 Mar 2004
Posts: 56

PostPosted: Thu Feb 02, 2006 12:16 pm    Post subject: Reply with quote

Also, if you have multiple controllers and disks on more than one controller (e.g. motherboard with more than 4 onboard SATA slots), it's not guaranteed that your controllers will be detected by the kernel in the same order as your BIOS. For some reason, the install CD will often choose a different order.

The end result is that what your BIOS and install CD think is /dev/sda for example, winds up becoming /dev/sdb or higher once you reboot.
Back to top
View user's profile Send private message
Zaventh
n00b
n00b


Joined: 30 Jan 2006
Posts: 16

PostPosted: Thu Feb 02, 2006 1:58 pm    Post subject: Reply with quote

Try the alternative instructions and build a kernel using genkernel. This happened to me as well and is most likely a kernel issue (ie. something that it needs at boot is not included in the kernel no matter how many times you double check it).
Back to top
View user's profile Send private message
Topher200
n00b
n00b


Joined: 02 Feb 2006
Posts: 7
Location: Rhode Island

PostPosted: Thu Feb 02, 2006 2:19 pm    Post subject: Reply with quote

Here ya go:

Code:
# lspci
0000:00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 02)
0000:00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 02)
0000:00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
0000:00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
0000:00:0c.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev02)
0000:00:0d.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 02)
0000:01:00.0 VGA compatible controller: NVidia / SGS Thomson (Joint Venture) Riva128 (rev 22)


Code:
# fdisk -l /dev/hda

disk /dev/hda: 10.2 GB, 10262568960 bytes
16 heads, 63 sectors/track, 19885 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

     Device Boot       Start         End        Blocks     ID      System
/dev/hda1    *            1            63         31720+    83      Linux
/dev/hda2                 64           475       207648     82      Linux swap / Solaris
/dev/hda3                 476        19885     9782640   83      Linux


With fstab, I ignored all of the comments included with the file
Code:
#<fs>                  <mountpoint>     <type>               <opts>                     <dump/pass>
/dev/BOOT                       /boot                 reiserfs          noauto,noatime,notail        1 2
/dev/ROOT                             /                 reiserfs           noatime,notail                  0 1
/dev/SWAP                           none               swap                 sw                              0 0
/dev/cdroms/cdrom0             /mnt/cdrom      ISO9660       noauto,ro                        0 0
#/dev/fd0                             /mnt/floppy      auto                 noauto                        0 0

proc                                    /proc                  proc              defaults                         0 0

shm                                    /dev/shm            tmpfs             nodev,nosuid,noexec     0 0


/boot/grub/grub.conf
Code:
default 0
timeout 30

title=Gentoo Linux 2.6.12-r10
root (hd0,0)
kernel (hd0,0)/kernel root=/dev/hda3


The above is kernel (hd0,0)/kernel root=/dev/hda3 (with the hd0,0) from one of the fixes from an earier problem. However, this same occurs if I use /boot/

Thanks for your help
Back to top
View user's profile Send private message
wmakowski
n00b
n00b


Joined: 27 Jan 2006
Posts: 33
Location: Ohio, USA

PostPosted: Thu Feb 02, 2006 3:14 pm    Post subject: Reply with quote

The problem is in your /etc/fstab. It should read as follows...

Code:
#<fs>                  <mountpoint>     <type>               <opts>                     <dump/pass>
/dev/hda1                       /boot                 reiserfs          noauto,noatime,notail        1 2
/dev/hda3                             /                 reiserfs           noatime,notail                  0 1
/dev/hda2                           none               swap                 sw                              0 0
/dev/cdroms/cdrom0             /mnt/cdrom      ISO9660       noauto,ro                        0 0
#/dev/fd0                             /mnt/floppy      auto                 noauto                        0 0

proc                                    /proc                  proc              defaults                         0 0

shm                                    /dev/shm            tmpfs             nodev,nosuid,noexec     0 0


Also be certain that these drives were formatted using reiserfs. The type column in fstab needs to coincide with their format. grub.conf looks good, the boot process wouldn't get as far as it did so it is finding your kernel. Your using an IDE controller which normally isn't an issue. If you still have problems we'll look at that more closely.

Bill
Back to top
View user's profile Send private message
solafidefarms
n00b
n00b


Joined: 02 Feb 2006
Posts: 69

PostPosted: Thu Feb 02, 2006 5:00 pm    Post subject: Reply with quote

I have the same error as Topher200 using Lilo. My /etc/fstab is configured correctly, with all my partitions and their mountpoints. What else should I do? use genkernel all? I really don't want to go back through installing Gentoo...
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu Feb 02, 2006 5:05 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.
Moved in favour of this thread
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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