Date: Mon, 14 Apr 2008 16:08:11 -0700 From: "Dharma Wolford" <bsd.talk@gmail.com> To: "Mario Lobo" <mlobo@digiart.art.br> Cc: freebsd-questions@freebsd.org Subject: Re: HDD partitioning question... Message-ID: <aa7308b80804141608w1f14c196j3bf7a30613b9dee4@mail.gmail.com> In-Reply-To: <200804141938.30815.mlobo@digiart.art.br> References: <aa7308b80804141327v7c6d0ff1i62fcc528a9e33318@mail.gmail.com> <6.0.0.22.2.20080414163403.02478050@mail.computinginnovations.com> <200804141938.30815.mlobo@digiart.art.br>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 14, 2008 at 3:38 PM, Mario Lobo <mlobo@digiart.art.br> wrote: > > If you issue the command: > > fdisk -I /dev/da1 > > -I Initialize sector 0 slice table for one FreeBSD slice covering > the entire disk. > > and then: ls /dev/da1* > > you'll get: > > /dev/da1 > /dev/da1s1 > > which I believe is what you want. > > then you can: newfs -O 2 (-U) /dev/da1s1 > > then you can: mount /dev/da1s1 /whatever > > -- > Mario Lobo Thanks Mario, and Jerry and Derek! Jerry, Introducing the idea of 'dangerously dedicated' disks helped a lot... it lead me to this page: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/formatting-media/index.html ...which gave some additional info on 'dedicated mode' and 'compatability mode' and walked me through the steps to create either. I managed to do that and then tried to mount the /dev/da1s1 device but it complained about 'incorrect super block' until I executed "newfs -O 2 /dev/da1s1" after which I was able to mount it! ############################ [root@mybox /usr]# mount /dev/da0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/da0s1d on /tmp (ufs, local, soft-updates) /dev/da0s1f on /usr (ufs, local, soft-updates) /dev/da0s1e on /var (ufs, local, soft-updates) /dev/da1s1 on /usr/home (ufs, local, soft-updates) [root@mybox /usr]# ############################ I did all that just before I saw Mario's response (thanks again!) so... anyway, looks like I've got it going in a better way now and it agrees with what Mario suggested I should be expecting so I'm happy. Thanks to all! dharma
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aa7308b80804141608w1f14c196j3bf7a30613b9dee4>