• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] Gentoo Kernel Panic

duddits

Member
Hallo,

ich habe Probleme beim Starten meines Gentoo Kernels. Alle relevanten Kernel-Funktionen sind aktiviert und ich benutze auch keine Module( habe aber die Möglichkeit zum Nutzen, dennoch drinnen gelassen).
Alle Treiber die der Kernel bruacht sind vorhanden.
Allerdings erhalte ich beim Booten von Gentoo folgenden Kernel-Panic:

Code:
Warning: unable to open an initial console
Kernel-Panic  -not syncing: No init found. Try passing init= option to kernel.

Allerdings werde ich aus dieser Meldung nicht ganz schlau draus.
Mir scheint es so, als könnte der Kernel nicht die /sbin/init finden, welche sich auf /dev/sdb3 befindet(siehe fdsik Ausgabe).

Damit Ihr euch mein System besser vorstellen könnt, habe ich mal alle Informationen, die ich denke, die biem Lösen helfen können, hier aufgelistet:

Die Gentoo Partitionen sind von /dev/sdb2 bis /dev/sdb8:

Code:
noname / # fdisk -l

Disk /dev/sda: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3775    30322656   83  Linux
/dev/sda3            3940       16743   102848130    f  W95 Ext'd (LBA)
/dev/sda4           16744       20023    26346600    7  HPFS/NTFS
/dev/sda5            4003       10022    48355618+   c  W95 FAT32 (LBA)
/dev/sda6           10023       10555     4281291   82  Linux swap / Solaris
/dev/sda7           10556       16743    49705078+  83  Linux
/dev/sda8            3940        4002      505984+  83  Linux

Partition table entries are not in disk order
This disk has both DOS and BSD magic.
Give the 'b' command to go to BSD mode.

Disk /dev/sdb: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       10012    80421358+  83  Linux
/dev/sdb2           10013       10017       40162+  83  Linux
/dev/sdb3           10018       10991     7823655   83  Linux
/dev/sdb4           10992       20023    72549540    5  Extended
/dev/sdb5           10992       13424    19543041   83  Linux
/dev/sdb6           13425       15857    19543041   83  Linux
/dev/sdb7           15858       16587     5863693+  83  Linux
/dev/sdb8           16588       20023    27599638+  83  Linux

Disk /dev/hda: 20.4 GB, 20416757760 bytes
255 heads, 63 sectors/track, 2482 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        2481    19928601    7  HPFS/NTFS

Hier mal meine /etc/fstab unter Gentoo:

Code:
noname / # cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>     <mountpoint> <type>  <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sdb2   /boot        ext2    defaults,noatime     1 2
/dev/sda6   none         swap    sw                   0 0
/dev/sdb3   /            ext3    noatime              0 1
/dev/sdb5   /opt         ext3    noatime              0 0
/dev/sdb6   /usr         ext3    noatime              0 0
/dev/sdb7   /var         ext3    noatime              0 0
/dev/sdb8   /home        ext3    noatime              0 0

none        /proc        proc    defaults             0 0
none        /dev/shm     tmpfs   nodev,nosuid,noexec  0 0

/dev/cdrom  /mnt/cdrom   auto    noauto,user          0 0

/dev/sda5  /mnt/data         vfat    defaults,user        0 0
/dev/sda7  /mnt/lindata      ext3    defaults,user        0 0
/dev/sda1  /mnt/suse     ext3    defaults,user        0 0


/dev/sdb1  /mnt/debian   ext3    defaults,user        0 0

Code:
noname / # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/root             7.4G  191M  6.8G   3% /
sysfs                 7.4G  191M  6.8G   3% /sys
/dev/root              10M  2.7M  7.4M  27% /dev/.static/dev
tmpfs                  10M  2.7M  7.4M  27% /dev
devpts                 10M  2.7M  7.4M  27% /dev/pts
tmpfs                  10M  2.7M  7.4M  27% /dev/shm
/dev/sda5             7.4G  191M  6.8G   3% /mnt/data
/dev/sda7             7.4G  191M  6.8G   3% /mnt/lindata
/dev/sdb3             7.4G  191M  6.8G   3% /
/dev/sdb2              38M  2.1M   34M   6% /boot
/dev/sdb5              19G   33M   18G   1% /opt
/dev/sdb6              19G  1.4G   17G   8% /usr
/dev/sdb7             5.6G  149M  5.1G   3% /var
/dev/sdb8              26G   33M   25G   1% /home
/dev/sda1             7.4G  191M  6.8G   3% /mnt/suse
tmpfs                  10M  2.7M  7.4M  27% /dev

Der Bootmanager ist GRUB, aber nicht der von Gentoo, sondern der von Debian, dennoch sollte das nicht das Problem sein. GRUB ist in dme MBR von /dev/hda geschrieben.

Code:
noname / # cat /boot/grub/mneu.lst
....
title           Gentoo
root            (hd2,1)
kernel          /boot/rss root=/dev/sdb2 ro
savedefault
boot
....

Ich hoffe Ihr könnt mir da weiterhelfen und bedanke mich schonmal im Vorraus für eure Hilfe.

Gruß daniel
 
OP
duddits

duddits

Member
Hi,

vielen dank, hab das wohl übersehen, manchmnal sieht man vor lauter Bäumen den Wald nicht mehr.
 
Oben