public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] problem with 2 partition installation from gentoo minimal system
@ 2008-03-26 15:40 Fei Liu
  2008-03-26 16:17 ` Neil Bothwick
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Fei Liu @ 2008-03-26 15:40 UTC (permalink / raw
  To: gentoo-user

Hello Group, I spend a whole day trying to get this to work. Here is my 
setup

/dev/sda1             /             ext3           noatime          0 1
/dev/sda2             swap      

grub is installed using the 'root (hd0,0)' and 'setup (hd0)', no problem.

emerge kernel-sources worked fine.

However everytime the system boots, it reports the VFS panic (no root 
system found problem). The kernel has built in ext2 and ext3 support. 
The error hint is to supply root option during boot, but my boot command 
is this
kernel /boot/kernel root=/dev/sda1

Is there something missing that I didn't think of that's causing the 
failures? I followed the steps outlined here:
http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml

except I am using a 2 partition setup.

Fei
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] problem with 2 partition installation from gentoo minimal system
  2008-03-26 15:40 [gentoo-user] problem with 2 partition installation from gentoo minimal system Fei Liu
@ 2008-03-26 16:17 ` Neil Bothwick
  2008-03-26 16:19 ` Alex Schuster
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: Neil Bothwick @ 2008-03-26 16:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 499 bytes --]

On Wed, 26 Mar 2008 11:40:10 -0400, Fei Liu wrote:

> However everytime the system boots, it reports the VFS panic (no root 
> system found problem). The kernel has built in ext2 and ext3 support. 
> The error hint is to supply root option during boot, but my boot
> command is this
> kernel /boot/kernel root=/dev/sda1


Do  you have support for your drive controller built into the kernel (not
as a module)?


-- 
Neil Bothwick

If this were an actual tagline, it would be funny.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] problem with 2 partition installation from gentoo minimal system
  2008-03-26 15:40 [gentoo-user] problem with 2 partition installation from gentoo minimal system Fei Liu
  2008-03-26 16:17 ` Neil Bothwick
@ 2008-03-26 16:19 ` Alex Schuster
  2008-03-28 11:30   ` Peter Humphrey
  2008-03-26 17:44 ` Uwe Thiem
  2008-03-27  1:09 ` [gentoo-user] " Fei Liu
  3 siblings, 1 reply; 9+ messages in thread
From: Alex Schuster @ 2008-03-26 16:19 UTC (permalink / raw
  To: gentoo-user

Fei Liu writes:

> Hello Group, I spend a whole day trying to get this to work. Here is my
> setup
>
> /dev/sda1             /             ext3           noatime          0 1
> /dev/sda2             swap
>
> grub is installed using the 'root (hd0,0)' and 'setup (hd0)', no problem.
>
> emerge kernel-sources worked fine.
>
> However everytime the system boots, it reports the VFS panic (no root
> system found problem). The kernel has built in ext2 and ext3 support.

Does it also have the right IDE drivers? This /dev/sda drive is SATA I 
assume, is this configured correctly in the kernel, and is the SCSI stuff 
also compiled directly into the kerne? Do you see kernel messages 
identifying your IDE chipset, does "sda" appear there somewhere?

	Wonko
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] problem with 2 partition installation from gentoo minimal system
  2008-03-26 15:40 [gentoo-user] problem with 2 partition installation from gentoo minimal system Fei Liu
  2008-03-26 16:17 ` Neil Bothwick
  2008-03-26 16:19 ` Alex Schuster
@ 2008-03-26 17:44 ` Uwe Thiem
  2008-03-27  1:09 ` [gentoo-user] " Fei Liu
  3 siblings, 0 replies; 9+ messages in thread
From: Uwe Thiem @ 2008-03-26 17:44 UTC (permalink / raw
  To: gentoo-user

On Wednesday 26 March 2008, Fei Liu wrote:
> Hello Group, I spend a whole day trying to get this to work. Here
> is my setup
>
> /dev/sda1             /             ext3           noatime         
> 0 1 /dev/sda2             swap
>
> grub is installed using the 'root (hd0,0)' and 'setup (hd0)', no
> problem.
>
> emerge kernel-sources worked fine.
>
> However everytime the system boots, it reports the VFS panic (no
> root system found problem). The kernel has built in ext2 and ext3
> support. The error hint is to supply root option during boot, but
> my boot command is this
> kernel /boot/kernel root=/dev/sda1

Please post your whole grub config.

Uwe

-- 
Informal Linux Group Namibia:
http://www.linux.org.na/
SysEx (Pty) Ltd.:
http://www.SysEx.com.na/
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: problem with 2 partition installation from gentoo minimal system
  2008-03-26 15:40 [gentoo-user] problem with 2 partition installation from gentoo minimal system Fei Liu
                   ` (2 preceding siblings ...)
  2008-03-26 17:44 ` Uwe Thiem
@ 2008-03-27  1:09 ` Fei Liu
  2008-03-27  1:24   ` Fei Liu
  3 siblings, 1 reply; 9+ messages in thread
From: Fei Liu @ 2008-03-27  1:09 UTC (permalink / raw
  To: gentoo-user

Fei Liu wrote:
> Hello Group, I spend a whole day trying to get this to work. Here is 
> my setup
>
> /dev/sda1             /             ext3           noatime          0 1
> /dev/sda2             swap     
> grub is installed using the 'root (hd0,0)' and 'setup (hd0)', no problem.
>
> emerge kernel-sources worked fine.
>
> However everytime the system boots, it reports the VFS panic (no root 
> system found problem). The kernel has built in ext2 and ext3 support. 
> The error hint is to supply root option during boot, but my boot 
> command is this
> kernel /boot/kernel root=/dev/sda1
>
> Is there something missing that I didn't think of that's causing the 
> failures? I followed the steps outlined here:
> http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml
>
> except I am using a 2 partition setup.
>
> Fei
>
Here is the complete grub.conf file:
more /boot/grub/grub.conf
default 0
timeout 8
gfxmenu (hd0,0)/boot/message

title 2.6.24.4-default
    root (hd0,0)
    kernel /boot/kernel root=/dev/sda1 splash=silent showopts

/etc/fstab:
#/dev/BOOT              /boot           ext2            noauto,noatime  1 2
/dev/sda1               /               ext3            noatime         0 1
/dev/sda2               none            swap            sw              0 0
#/dev/cdrom             /mnt/cdrom      audo            noauto,ro       0 0
#/dev/fd0               /mnt/floppy     auto            noauto          0 0

shm                     /dev/shm        tmpfs           
nodev,nosuid,noexec     0 0

I am looking into the SCSI file system issue.

Fei
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: problem with 2 partition installation from gentoo minimal system
  2008-03-27  1:09 ` [gentoo-user] " Fei Liu
@ 2008-03-27  1:24   ` Fei Liu
  2008-03-27  1:40     ` Greg Bowser
  2008-03-27 14:51     ` Fei Liu
  0 siblings, 2 replies; 9+ messages in thread
From: Fei Liu @ 2008-03-27  1:24 UTC (permalink / raw
  To: gentoo-user


> Here is the complete grub.conf file:
> more /boot/grub/grub.conf
> default 0
> timeout 8
> gfxmenu (hd0,0)/boot/message
>
> title 2.6.24.4-default
>    root (hd0,0)
>    kernel /boot/kernel root=/dev/sda1 splash=silent showopts
>
> /etc/fstab:
> #/dev/BOOT              /boot           ext2            
> noauto,noatime  1 2
> /dev/sda1               /               ext3            
> noatime         0 1
> /dev/sda2               none            swap            
> sw              0 0
> #/dev/cdrom             /mnt/cdrom      audo            
> noauto,ro       0 0
> #/dev/fd0               /mnt/floppy     auto            
> noauto          0 0
>
> shm                     /dev/shm        tmpfs           
> nodev,nosuid,noexec     0 0
>
> I am looking into the SCSI file system issue.
>
> Fei
>
Error messages:
...
md: ... autorun DONE
VFS: Cannot open root device "sda1" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available 
partitions:
Kernel panic - not syncing: VFS: unable to mount root fs on 
unknown-block(0,0)

There is one more thing, this is a vmware machine so the harddrive is a 
scsi harddrive.

Fei
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: problem with 2 partition installation from gentoo minimal system
  2008-03-27  1:24   ` Fei Liu
@ 2008-03-27  1:40     ` Greg Bowser
  2008-03-27 14:51     ` Fei Liu
  1 sibling, 0 replies; 9+ messages in thread
From: Greg Bowser @ 2008-03-27  1:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1236 bytes --]

<snip>
VFS: Cannot open root device "sda1" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available
partitions:
Kernel panic - not syncing: VFS: unable to mount root fs on
unknown-block(0,0)
</snip> (hey, I remembered not to top post for once!)

Not that this hasn't been said, but this is almost definitely a device
driver issue. In my experience (and I've had this and similar errors on many
systems), when it's a file system problem (i.e. having the correct FS driver
compiled in), you get unknown-block(x,y) where x,y are both nonzero.

That said, something definitely needs to be changed with your kernel config.
I run several vmware servers (the free server), and have gentoo VMs on
those. If you'd like, I can post my .config for you to compare. Or I could
just look through the scsi options I have configured.

When I configured my VMs, I remember reading the following article: (along
with some trial and error, of course.)
http://gentoo-wiki.com/HOWTO_Install_Gentoo_on_VMware_in_Windows_NT/2K/XP#Kernel_Configuration


-- Greg

Postscript: As this is an error mouting your root file system, the fstab,
which is stored on the root file sysem, doesn't matter at this point in the
boot process.

[-- Attachment #2: Type: text/html, Size: 1466 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: problem with 2 partition installation from gentoo minimal system
  2008-03-27  1:24   ` Fei Liu
  2008-03-27  1:40     ` Greg Bowser
@ 2008-03-27 14:51     ` Fei Liu
  1 sibling, 0 replies; 9+ messages in thread
From: Fei Liu @ 2008-03-27 14:51 UTC (permalink / raw
  To: gentoo-user

Fei Liu wrote:
>
>> Here is the complete grub.conf file:
>> more /boot/grub/grub.conf
>> default 0
>> timeout 8
>> gfxmenu (hd0,0)/boot/message
>>
>> title 2.6.24.4-default
>>    root (hd0,0)
>>    kernel /boot/kernel root=/dev/sda1 splash=silent showopts
>>
>> /etc/fstab:
>> #/dev/BOOT              /boot           ext2            
>> noauto,noatime  1 2
>> /dev/sda1               /               ext3            
>> noatime         0 1
>> /dev/sda2               none            swap            
>> sw              0 0
>> #/dev/cdrom             /mnt/cdrom      audo            
>> noauto,ro       0 0
>> #/dev/fd0               /mnt/floppy     auto            
>> noauto          0 0
>>
>> shm                     /dev/shm        tmpfs           
>> nodev,nosuid,noexec     0 0
>>
>> I am looking into the SCSI file system issue.
>>
>> Fei
>>
> Error messages:
> ...
> md: ... autorun DONE
> VFS: Cannot open root device "sda1" or unknown-block(0,0)
> Please append a correct "root=" boot option; here are the available 
> partitions:
> Kernel panic - not syncing: VFS: unable to mount root fs on 
> unknown-block(0,0)
>
> There is one more thing, this is a vmware machine so the harddrive is 
> a scsi harddrive.
>
> Fei
>
I finally found this page and got this stuff to work, the catch is 
'vmware' specific feature.

http://gentoo-wiki.com/HOWTO_Install_Gentoo_on_VMware_in_Windows_NT/2K/XP#Kernel_Options


-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] problem with 2 partition installation from gentoo minimal system
  2008-03-26 16:19 ` Alex Schuster
@ 2008-03-28 11:30   ` Peter Humphrey
  0 siblings, 0 replies; 9+ messages in thread
From: Peter Humphrey @ 2008-03-28 11:30 UTC (permalink / raw
  To: gentoo-user

On Wednesday 26 March 2008 16:19:58 Alex Schuster wrote:

> Does it also have the right IDE drivers? This /dev/sda drive is SATA I
> assume, is this configured correctly in the kernel, and is the SCSI stuff
> also compiled directly into the kerne?

On my laptop I sometimes have to switch AHCI on or off in the BIOS as well. 
For example, the Gentoo installation boot disk won't boot unless I switch 
AHCI off first.

-- 
Rgds
Peter
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-03-28 11:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-26 15:40 [gentoo-user] problem with 2 partition installation from gentoo minimal system Fei Liu
2008-03-26 16:17 ` Neil Bothwick
2008-03-26 16:19 ` Alex Schuster
2008-03-28 11:30   ` Peter Humphrey
2008-03-26 17:44 ` Uwe Thiem
2008-03-27  1:09 ` [gentoo-user] " Fei Liu
2008-03-27  1:24   ` Fei Liu
2008-03-27  1:40     ` Greg Bowser
2008-03-27 14:51     ` Fei Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox