Date: Mon, 14 Apr 2008 19:33:41 -0400 From: Jerry McAllister <jerrymc@msu.edu> To: Dharma Wolford <bsd.talk@gmail.com> Cc: Mario Lobo <mlobo@digiart.art.br>, freebsd-questions@freebsd.org Subject: Re: HDD partitioning question... Message-ID: <20080414233341.GA35587@gizmo.acns.msu.edu> In-Reply-To: <aa7308b80804141608w1f14c196j3bf7a30613b9dee4@mail.gmail.com> References: <aa7308b80804141327v7c6d0ff1i62fcc528a9e33318@mail.gmail.com> <6.0.0.22.2.20080414163403.02478050@mail.computinginnovations.com> <200804141938.30815.mlobo@digiart.art.br> <aa7308b80804141608w1f14c196j3bf7a30613b9dee4@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 14, 2008 at 04:08:11PM -0700, Dharma Wolford wrote: > 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! I would have gone on then and used bsdlabel to create one partition in the single slice before doing the newfs again. That would have given you /dev/da1s1a . ////jerry > > ############################ > [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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080414233341.GA35587>