Re: gpart

From: Andrew Thompson <thompsa_at_FreeBSD.org>
Date: Tue, 19 May 2009 10:10:30 -0700
On Tue, May 19, 2009 at 10:07:00AM -0700, Randy Bush wrote:
> >>>> I used gpart for the first time today and a few things came to mind.
> >>> You're not alone.  Have a look at
> >>> http://lists.freebsd.org/pipermail/freebsd-arch/2008-November/008731.html
> >> and how the hell do i use it on a raw install?  it is not on snapshot
> >> 200905 disk1 or livecd.
> > I've been using gpart on the livecd for a long time. You might want to do a
> > chroot to /dist or something first though.
> 
> ok, kinda
> 
> ad4 ad5 and ad6 are in my dmesg
> 
> Fixit# gpart create -s gpt /dev/ad4
> gpart: No such file or directory
> 
> Fixit# gpart create -s GPT /dev/ad4
> gpart: No such file or directory
> 
> Fixit# gpart create -s GPT ad4
> gpart: No such file or directory
> 
> <a million monkeys>

If you have done a chroot then you need to make sure devfs is also
mounted within it

 mount -t devfs devfs /dist/dev


Andrew
Received on Tue May 19 2009 - 15:10:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:48 UTC