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