Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] grub on a SATA drive
Date: Tue, 29 Nov 2005 09:54:53
Message-Id: 20051129094809.037b3df2@krikkit.digimed.co.uk
In Reply to: Re: [gentoo-user] grub on a SATA drive by maxim wexler
1 On Mon, 28 Nov 2005 22:34:45 -0800 (PST), maxim wexler wrote:
2
3 > In dmesg the drive comes up as /dev/sda
4 > sda1(Macro$haft) sda2(/boot) < sda5(swap) sda6(/)
5 > sda7(home)>
6 >
7 > When I boot w/ the grub floppy I do:
8 >
9 > grub> root (hd0,1)
10 > Fs is ext2, part type 0x83
11 > grub> kernel /vmlinuz root=/dev/sda6
12 > [Linux-bzImage, setup=0x120, size 0x1463b31]
13 >
14 > ...so far, so good...
15
16 Yes, GRUB is installed correctly and finding the kernel.
17
18 > grub> boot
19 >
20 > and get:
21 >
22 > ...VFS: Cannot open root device "sda6" or unknown
23 > block (0,0)
24 > Please append correct "root" boot option
25 > Kernel Panic-not syncing: VFS: Unable to mount root fs
26 > on unknown block (0,0)
27
28 This means the kernel cannot mount your root partition (/dev/sda6 IS the
29 correct setting for root). Either your root partitions's filesystem is
30 not compiled into your kernel or you have not added support for your SATA
31 controller. These must be compiled into the kernel, not as modules. You
32 need
33
34 CONFIG_SCSI_SATA=y
35 CONFIG_SCSI_SATA_YOURCONTROLLER=y
36
37
38 --
39 Neil Bothwick
40
41 DATA COMPRESSION: What You Get When You Squish An Android

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] grub on a SATA drive maxim wexler <blissfix@×××××.com>