NetBSD-Users archive

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

Re: vfs_mountroot: can't open root device / cannot mount root, error = 6



Adding part of my original email back into this thread to address your point:

<part of original email>
I'm creating my Compact Flash disk image (for my 256MB SanDisk) as follows:

# dd if=/dev/zero of=netbsd.img bs=512 count=500400
500400+0 records in
500400+0 records out
256204800 bytes transferred in 6.666 secs (38434563 bytes/sec)

# vnconfig vnd0 netbsd.img

# fdisk -ua0 vnd0
....
....

</part of original email>

The vnd is configured to access the file image (netbsd.img in this case) I set 
up on my workstation before dd'ing it to the compact flash (where the CF ends 
up being wd0 on my other computer).  wd0 at the time I run the installboot 
command is my workstations hard disk.  I surely don't want to be messing around 
with that, right?  

Thanks,
Bill



----- Original Message ----
From: matthew sporleder <msporleder%gmail.com@localhost>
To: Bill Blass <baringskiier%yahoo.com@localhost>
Cc: netbsd-users%netbsd.org@localhost
Sent: Friday, October 10, 2008 6:47:16 AM
Subject: Re: vfs_mountroot: can't open root device / cannot mount root, error = 
6

>
>  # installboot -v -o console=com0,speed=57600,timeout=0 /dev/rvnd0a 
> /usr/src/sys/arch/i386/stand/bootxx/bootxx_ffsv1/obj/bootxx_ffsv1
>



What lives on wd0 and what lives in the vnd?

You're putting the boot code on the vnd, which is just a file on the
filesystem, so I'm guessing the bootloader couldn't find the
second-stage boot stuff.



      



Home | Main Index | Thread Index | Old Index