From owner-freebsd-questions@FreeBSD.ORG Thu Sep 21 23:17:10 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D49216A40F for ; Thu, 21 Sep 2006 23:17:10 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0468E43D46 for ; Thu, 21 Sep 2006 23:17:09 +0000 (GMT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id k8LNG4er034164; Thu, 21 Sep 2006 19:16:04 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id k8LNG4GK034163; Thu, 21 Sep 2006 19:16:04 -0400 (EDT) (envelope-from jerrymc) Date: Thu, 21 Sep 2006 19:16:04 -0400 From: Jerry McAllister To: xnow xsnow Message-ID: <20060921231604.GB34040@gizmo.acns.msu.edu> References: <20060921221052.10709.qmail@web58612.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060921221052.10709.qmail@web58612.mail.re3.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Partitions??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Sep 2006 23:17:10 -0000 On Thu, Sep 21, 2006 at 07:10:52PM -0300, xnow xsnow wrote: > First I'd like to know if there's a faster way to resize partitions than > using GParted livecd, and no i am not supposed to pay, also, why freebsd > has no resizer in its installation? There is, called growfs. But, its use is limited. You have to have space contiguous with the partition to grow in to. Generally, in something like FreeBSD you carve up the slice in to partitions and use all the space in the slice. Although I have heard of people doing so, I don't think it is common to leave extra unused space lying around. More often, people put all the space that might be left after divvying up the other partitions in to one remaining partition, typically mounted as something like /home or /work or /scratch. Then, if something in one of the other file systems grows bigger than expected, they just move that directory to the larger remainder file system and make a symlink to it. That is so much easier than mucking around with bits and pieces of partitions and trying to resize them when they grow unexpectedly that resizing is uninteresting in FreeBSD. If you run out of space in both the original file system and that large left over one, then you have to get more disk, rather than just resizing the one you have. Now, some people sometimes leave a chunk of disk that is not allocated in any of the primary slices with the thought of adding another bootable OS at some later time. But that is a different story. And even then, if what you are doing unexpectedly uses up your space, you would just create another FreeBSD slice in that held out space and put a nice large single partition in and move some things there and make a link. It is so much easier than resizing and risking losing stuff as in other unnamed systems. > Second I'd like to add new systems to fbsd boot manager, i've been told > to read man page of boot0cfg but didn't understand much, on linux my > freebsd is mounted on hda1 and my linux is on hda3, how can I add my > hda3 to be hitted as F3 to boot on freebsd boot manager?how can I > easyly configure it? You just need to put the MBR on both HDD-1 and HDD-3 and have boot sectors in each of the bootable primary slices on disk. Then it should find all of everything automatically just fine. The boot0cfg utility writes that MBR out for you. You just need to tell it to replace the MBR and which disk to do it to. I think 'boot0cfg -B ad0' would do it for you first disk for example. You need to look at your dmesg(8) output or /var/run/dmesg.boot file and find out what names the system has assigned to the two disks. They will look something like ado: ad1: ad2: for ata or da0: da1: da2: for SCSI. Note that the first one is 0, second is 1, etc. What it will do is put F1-Fn(maz 4) for the bootable slices on the first disk and then F5 to go to the next bootable disk. If you then hit F5, it will put up the bootable slices on that one (and F5 if there is yet another disk with an MBR and bootable slices in the boot order). It might seem a little clumsy having to hit two F-keys to get to any boot slice beyond those on the first disk, but that is partly because FreeBSD keeps its MBR size down to fit in the officialy legal 1 sector and doesn't steal sectors that just might not be available on some systems in order to have a fancier selection menu. If I understood your question, I think that answers it. But, I may not have understood you correctly ////jerry > > Thanks. > > --------------------------------- > O Yahoo! est? de cara nova. Venha conferir! > _______________________________________________ > 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" >