Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[boot con grub] Non va..... [RISOLTO]
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
ramar
n00b
n00b


Joined: 10 Oct 2004
Posts: 31

PostPosted: Mon Oct 11, 2004 10:16 am    Post subject: [boot con grub] Non va..... [RISOLTO] Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31373
Location: here

PostPosted: Mon Oct 11, 2004 10:17 am    Post subject: Reply with quote

Code:
root=dev/ram0

deve diventare
Code:
root=/dev/ram0

ti manca uno "/" davanti a dev
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
ramar
n00b
n00b


Joined: 10 Oct 2004
Posts: 31

PostPosted: Mon Oct 11, 2004 10:22 am    Post subject: Reply with quote

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
View user's profile Send private message
ramar
n00b
n00b


Joined: 10 Oct 2004
Posts: 31

PostPosted: Mon Oct 11, 2004 10:29 am    Post subject: Reply with quote

wow il problema era proprio quello!
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