Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Bootstrapping a Linux domU from scratch in a NetBSD dom0



On Fri, Apr 06, 2007 at 03:45:16PM -0400, Steven M. Bellovin wrote:
> Major comment: it won't boot:
> 
>       VFS: Cannot open root device "hda1" or unknown-block(0,0)
>       Please append a correct "root=" boot option
>       Kernel panic - not syncing: VFS: Unable to mount root fs on
>       unknown-block(0,0)
> 
> I suspect the problem is that I need a /dev entry for hda1, but I have
> no idea what the major/minor devices should be.  (Based on things I
> found via google, I tried 
> 
>       # mknod hda b 3 0
>       # mknod hda1 b 3 1

That's weird.  I just have the following:

  > ls -l /dev/hd*
  brw-r--r--  1 root  wheel  3, 1 Nov 23 16:21 /dev/hda1
  brw-r--r--  1 root  wheel  3, 2 Nov 23 16:21 /dev/hda2

But perhaps this only works for Xen 2, which I am using.


bye,
  Harold



Home | Main Index | Thread Index | Old Index