Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2009 10:10:30 -0700
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        Randy Bush <randy@psg.com>
Cc:        current@freebsd.org, Ulf Lilleengen <ulf.lilleengen@gmail.com>
Subject:   Re: gpart
Message-ID:  <20090519171030.GG78829@citylink.fud.org.nz>
In-Reply-To: <m2r5yldnt7.wl%randy@psg.com>
References:  <20090518162253.GA78829@citylink.fud.org.nz> <20090519100744.GB5943@server.vk2pj.dyndns.org> <m2iqjxfbsr.wl%randy@psg.com> <20090519162936.GB1457@carrot.geeknest.org> <m2r5yldnt7.wl%randy@psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090519171030.GG78829>