View previous topic :: View next topic |
Author |
Message |
ramar n00b
Joined: 10 Oct 2004 Posts: 31
|
Posted: Mon Oct 11, 2004 10:16 am Post subject: [boot con grub] Non va..... [RISOLTO] |
|
|
Allora, l'errore che mi da al boot è questo:
Code: |
VFS: Mounted root (ext2 filesystem).
/linuxrc has to be run as the init process at the one with a PID of 1.
Try adding init="/linuxrc" to the kernel command line or running "exec /linuxrc".
VFS: Cannot open root device "dev/ram0" or unknown-block(0,0)
Please append a correct "root=" boot option
kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)
|
In pratica, da quanto ho capito, non riesce a montare la root. Ma non capisco dove sia il problema!!! E poi perchè dice VFS: Mounted root (ext2 filesystem) quando la partizione è ext3???
Ora vi posto le partizioni come dice fdisk:
Code: |
/dev/hda1 1 992 499936+ 82 Linux swap
/dev/hda2 * 993 1089 48888 83 Linux
/dev/hda3 1090 79428 39482856 83 Linux
|
Questo è l'fstab
Code: |
/dev/hda2 /boot ext3 noauto,noatime 1 1
/dev/hda3 / ext3 noatime 0 0
/dev/hda1 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
|
Ed infine il file grub.conf
Code: |
default 0
timeout 30
splashimage=(hd0,1)/grub/splash.xpm.gz
title=Gentoo Linux kernel-2.6.7
root(hd0,1)
kernel /kernel-2.6.7 root=dev/ram0 init=/linuxrc ramdisk=8912 real_root=/dev/hda3 vga=794
initrd /initrd-2.6.7
|
Last edited by ramar on Mon Oct 11, 2004 10:40 am; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31371 Location: here
|
Posted: Mon Oct 11, 2004 10:17 am Post subject: |
|
|
deve diventare
ti manca uno "/" davanti a dev _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
ramar n00b
Joined: 10 Oct 2004 Posts: 31
|
Posted: Mon Oct 11, 2004 10:22 am Post subject: |
|
|
azz, già che ci sei fedeliallalinea (fedeli alla lineaaaaaaaaaaaa) mi spieghi cosa significa /dev/ram0 ?
L'avevo appena notato anche io quell'errore, vediamo se funziona... |
|
Back to top |
|
|
ramar n00b
Joined: 10 Oct 2004 Posts: 31
|
Posted: Mon Oct 11, 2004 10:29 am Post subject: |
|
|
wow il problema era proprio quello! |
|
Back to top |
|
|
|