Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel panic. Gentoo non riesce a montare root
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
godric94
n00b
n00b


Joined: 08 Sep 2010
Posts: 2

PostPosted: Wed Sep 08, 2010 9:39 am    Post subject: Kernel panic. Gentoo non riesce a montare root Reply with quote

Allora come da titolo gentoo (che ho appena finito di installare) non monta la partizione di root. Premetto che ho incluso i moduli per l'ext4 nel kernel, quindi non credo dipenda da essi. Ho oltre a gentoo anche arch e il bootloader grub è installato proprio nella partizione di quest'ultimo. Di conseguenza non ho preso la briga di reinstallare grub appositamente per gentoo, ma ho semplicemente modificato il file /boot/grub/menu.lst in questo modo:

Code:
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

# DEVICE NAME CONVERSIONS
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/sda        (hd0)
#  /dev/sdb2       (hd1,1)
#  /dev/sda3       (hd0,2)
#

#  FRAMEBUFFER RESOLUTION SETTINGS
#     +-------------------------------------------------+
#          | 640x480    800x600    1024x768   1280x1024
#      ----+--------------------------------------------
#      256 | 0x301=769  0x303=771  0x305=773   0x307=775
#      32K | 0x310=784  0x313=787  0x316=790   0x319=793
#      64K | 0x311=785  0x314=788  0x317=791   0x31A=794
#      16M | 0x312=786  0x315=789  0x318=792   0x31B=795
#     +-------------------------------------------------+
#  for more details and different resolutions see
#  http://wiki.archlinux.org/index.php/GRUB#Framebuffer_Resolution

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

# (0) Arch Linux
title  Arch Linux 2.6.35
root   (hd0,4)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/5b2dd28d-0d96-48d3-949c-f9d179d2ff50 ro
initrd /boot/kernel26.img

title Gentoo Linux 2.6.35
root (hd0,5)
kernel /boot/vmlinuz-2.6.35-gentoo-r4 root=/dev/sda6

# (2) Windows
title Windows Se7en
rootnoverify (hd0,0)
makeactive
chainloader +1


Come si può notare arch sta su sda5 e gentoo su sda6, i parametri sono apparentemente giusti a mio avviso, e ribadisco a mio avviso. :lol:

Questo inceve è il file fstab di gentoo

Code:
# /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/sda6      /boot      ext4      noauto,noatime   1 2
/dev/sda6      /      ext4      noatime      0 1
/dev/sda2      none      swap      sw      0 0
/dev/cdrom      /mnt/cdrom   auto      noauto,ro   0 0
#/dev/fd0      /mnt/floppy   auto      noauto      0 0
proc                    /proc           proc            defaults        0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm         /dev/shm   tmpfs      nodev,nosuid,noexec   0 0

Mi sembra apparentemente giusto anche questo.

Vorrei sapere però da persone sicuramente più esperte di me, se ho sbagliato qualcosa oppure devo aggiungere qualche piccolo accorgimento per far avviare gentoo dal grub di arch, che appunto sta in una diversa partizione (e di conseguenza credo che monti solo la partizione in cui sta arch).


Last edited by godric94 on Wed Sep 08, 2010 10:09 am; edited 1 time in total
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4810
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Wed Sep 08, 2010 9:52 am    Post subject: Reply with quote

prova a trascrivere in modo esatto il tuo errore, e descrivi il momento esatto in cui accade (non riesco a capirlo bene, anche perchè posti /etc/fstab ).

quanto alla configurazione di grub dovrebbe essere corretta, a patto che tutti i file indicati vengano trovati effettivamente e che tu abbia compilato built-in tutti i driver della scheda madre.

infatti, al contrario di ciò che fai su Archlinux, non usi nessuna initrd.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
ago
Developer
Developer


Joined: 01 Mar 2008
Posts: 1527
Location: Milan, Italy

PostPosted: Wed Sep 08, 2010 10:00 am    Post subject: Re: Kernel panic. Gentoo non riesce a montare boot Reply with quote

Welcome :)

godric94 wrote:
title Gentoo Linux 2.6.35
root (hd0,5)
kernel /boot/vmlinuz-2.6.35-gentoo-r4 root=/dev/sda6


godric94 wrote:
/dev/sda6 /boot ext4 noauto,noatime 1 2
/dev/sda6 / ext4 noatime 0 1


NOn si è capito molto bene :P



Cmq per come ho capito non hai creato partizioni per /boot, quindi commentalo in fstab
Back to top
View user's profile Send private message
godric94
n00b
n00b


Joined: 08 Sep 2010
Posts: 2

PostPosted: Wed Sep 08, 2010 10:13 am    Post subject: Reply with quote

Comunque avevo sbagliato il titolo della discussione, gentoo non monta root. L'errore è questo (in parole povere):
No filesystem could mount root, tried: ext3 iso9660 fuseblk udf
Kernel panic
Back to top
View user's profile Send private message
ago
Developer
Developer


Joined: 01 Mar 2008
Posts: 1527
Location: Milan, Italy

PostPosted: Wed Sep 08, 2010 10:17 am    Post subject: Reply with quote

sarebbe opportuno postare l'errore preciso...cmq controlla di avere compilato built-in(*):

Moduli del filesystem
Moduli del driver del tuo disco
Moduli Driver chipset motherboard
Back to top
View user's profile Send private message
polslinux
Apprentice
Apprentice


Joined: 12 Apr 2010
Posts: 253
Location: Veneto

PostPosted: Wed Sep 08, 2010 11:59 am    Post subject: Reply with quote

Io ho messo nel mio menu.lst:
Code:
rootfstype=ext4
e così è funzionato...prova!
Back to top
View user's profile Send private message
unix67
n00b
n00b


Joined: 12 Dec 2009
Posts: 5

PostPosted: Thu Sep 09, 2010 5:02 pm    Post subject: Reply with quote

godric94 wrote:
Comunque avevo sbagliato il titolo della discussione, gentoo non monta root. L'errore è questo (in parole povere):
No filesystem could mount root, tried: ext3 iso9660 fuseblk udf
Kernel panic

Li ha provati tutti tranne ext4 e pochi altri, non è che hai compilato ext4 come modulo
anzichè built-in al kernel?


nb come fatto notare da ago
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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