Gentoo Archives: gentoo-user

From: Isern Palaus Montasell <isern.palaus@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Grub problem. Gentoo doesn't boot. VFS Cannot start...
Date: Tue, 14 Nov 2006 18:14:15
Message-Id: 455A056F.2070003@gmail.com
1 Hello all,
2
3 This is the first time I install Gentoo Linux. This is my grub.conf file:
4
5 > default 0
6 > timeout 10
7 > splashimage=(hd0,2)/boot/grub/splash.xpm.gz
8 >
9 > title=Gentoo Linux 2.6.18-r2
10 > root (hd0,2)
11 > kernel /boot/kernel-2.6.18-gentoo-r2 root=/dev/hda4
12 >
13 > title=Gentoo Linux 2.6.18 (Rescate)
14 > root (hd0,2)
15 > kernel /boot/kernel-2.6.18-gentoo-r2 root=/dev/hda4 init=/bin/bb
16 > boot
17 >
18 > #Windows XP Profesional
19 > title=Windows XP Profesional
20 > rootnoverify (hd0,0)
21 > chainloader +1
22
23
24 Windows XP boots well but Gentoo Linux no. Start booting but prints this:
25
26 > [...]
27 > VFS: Cannot opent root device "hda4" or unknow-block(0,0)
28 > Please append a correct "root=" boot option.
29 > Kernel panic - not syncing: VFS: Unable to mount root fs or
30 > unknow-block(0,0)
31 > <6> Time: tsc clocksource has been installed.
32
33 I don't know where is the problem, here is my /etc/fstab file configuration:
34
35 > # /etc/fstab: static file system information.
36 > #
37 > # noatime turns off atimes for increased performance (atimes normally
38 > aren't
39 > # needed; notail increases performance of ReiserFS (at the expense of
40 > storage
41 > # efficiency). It's safe to drop the noatime options if you want and to
42 > # switch between notail / tail freely.
43 > #
44 > # The root filesystem should have a pass number of either 0 or 1.
45 > # All other filesystems should have a pass number of 0 or greater than 1.
46 > #
47 > # See the manpage fstab(5) for more information.
48 > #
49 >
50 > # <fs> <mountpoint> <type>
51 > <opts> <dump/pass>
52 >
53 > # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
54 > /dev/hda3 /boot ext2
55 > noauto,noatime 1 2
56 > /dev/hda4 / ext3
57 > noatime 0 1
58 > /dev/hda7 none swap
59 > sw 0 0
60 > /dev/cdroms/cdrom0 /mnt/cdrom iso9660
61 > noauto,ro 0 0
62 > #/dev/fd0 /mnt/floppy auto
63 > noauto 0 0
64 >
65 > # NOTE: The next line is critical for boot!
66 > proc /proc proc
67 > defaults 0 0
68 >
69 > # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
70 > # POSIX shared memory (shm_open, shm_unlink).
71 > # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
72 > # use almost no memory if not populated with files)
73 > shm /dev/shm tmpfs
74 > nodev,nosuid,noexec 0 0
75
76 /dev/hda1 is a Windows Partition
77 /dev/hda3 is a Linux Partition for boot
78 /dev/hda4 is a Linux Partition for root
79 /dev/hda4 is a Linux Partition for swap.
80
81 Thanks in advance and sorry for my school English.
82
83 See you,
84 -- Isern Palaus
85
86
87 --
88 gentoo-user@g.o mailing list

Replies