How to mount mfsroot?

2010-04-22 Thread Yuri
I am trying to set up NFS install, and need to modify mfsroot to not 
load sysinstall.

But vnconfig is disabled in 8.0.
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pxe/article.html 
suggests using vnconfig vn0 mfsroot

But vnconfig is disabled in 8.0.

So I ran:
mdconfig -a -t vnode -f mfsroot
mount /dev/md0 /mnt/
And got an error:
mount: /dev/md0 : Invalid argument

What's wrong?
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to mount mfsroot?

2010-04-22 Thread Tim Judd
On 4/22/10, Yuri y...@rawbw.com wrote:
 I am trying to set up NFS install, and need to modify mfsroot to not
 load sysinstall.
 But vnconfig is disabled in 8.0.
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pxe/article.html
 suggests using vnconfig vn0 mfsroot
 But vnconfig is disabled in 8.0.

 So I ran:
 mdconfig -a -t vnode -f mfsroot
 mount /dev/md0 /mnt/
 And got an error:
 mount: /dev/md0 : Invalid argument

 What's wrong?
 Yuri



How did you create the 'mfsroot' file?

Does   dumpfs /dev/md0 return any valid info?
Do you have any devnodes like  /dev/md0s1or/dev/md0s1a   ?

There is not enough information in your original statement to diagnose this.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to mount mfsroot?

2010-04-22 Thread Glen Barber
Hi,

Yuri wrote: 
 I am trying to set up NFS install, and need to modify mfsroot to not 
 load sysinstall.
 But vnconfig is disabled in 8.0.
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pxe/article.html 
 suggests using vnconfig vn0 mfsroot
 But vnconfig is disabled in 8.0.
 
 So I ran:
 mdconfig -a -t vnode -f mfsroot
 mount /dev/md0 /mnt/
 And got an error:
 mount: /dev/md0 : Invalid argument
 
 What's wrong?
 Yuri

Have a look at the EXAMPLES section of mdconfig(8).  You need to
bsdlabel and newfs the md device.

Regards,

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org