From owner-freebsd-questions Wed Oct 21 06:16:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA14649 for freebsd-questions-outgoing; Wed, 21 Oct 1998 06:16:55 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from harfang.CC.UMontreal.CA (harfang.CC.UMontreal.CA [132.204.2.102]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA14644 for ; Wed, 21 Oct 1998 06:16:53 -0700 (PDT) (envelope-from beaupran@JSP.UMontreal.CA) Received: from epsom.jsp.umontreal.ca (epsom.JSP.UMontreal.CA [132.204.45.25]) by harfang.CC.UMontreal.CA (8.8.8/8.8.8) with SMTP id IAA27579; Wed, 21 Oct 1998 08:35:50 -0400 (EDT) Received: from derby.jsp.umontreal.ca (derby.jsp.umontreal.ca [132.204.45.26]) by epsom.jsp.umontreal.ca via ESMTP (951211.SGI.8.6.12.PATCH1502/JSP1789) id IAA28331; Wed, 21 Oct 1998 08:35:50 -0400 Received: from localhost (beaupran@localhost) by derby.jsp.umontreal.ca via SMTP (951211.SGI.8.6.12.PATCH1502/JSP1789) id IAA07435; Wed, 21 Oct 1998 08:35:50 -0400 X-Authentication-Warning: derby.jsp.umontreal.ca: beaupran owned process doing -bs Date: Wed, 21 Oct 1998 08:35:50 -0400 (EDT) From: BEAUPRE Antoine To: Doug White cc: freebsd-questions Subject: Re: Creating a /home partition In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 20 Oct 1998, Doug White wrote: > On Sat, 17 Oct 1998, BEAUPRE Antoine wrote: > > > I'm running low of disk space on /usr, and I decided to move /usr/home to > > its own /home partition. > > > > I tried one thing... I did a setup of the new partition using > > /stand/sysinstall, giving all the space left to /home. > > > > To make things clearer, I must expose my disk layout, and I must precise > > that I have *no* possiblity of backup. > > > > fdisk:-------------------------------- > > ******* Working on device /dev/rwd0 ******* > > parameters extracted from in-core disklabel are: > > cylinders=782 heads=128 sectors/track=63 (8064 blks/cyl) > > > > parameters to be used for BIOS calculations are: > > cylinders=782 heads=128 sectors/track=63 (8064 blks/cyl) > > > > Media sector size is 512 > > Warning: BIOS sector numbering starts with sector 1 > > Information from DOS bootblock is: > > The data for partition 1 is: > > > > The data for partition 2 is: > > sysid 165,(FreeBSD/NetBSD/386BSD) > > start 3072384, size 3233664 (1578 Meg), flag 80 (active) > > beg: cyl 381/ sector 1/ head 0; > > end: cyl 781/ sector 63/ head 127 > > The data for partition 3 is: > > sysid 11,(DOS or Windows 95 with 32 bit FAT) > > start 8064, size 1064448 (519 Meg), flag 0 > > beg: cyl 1/ sector 1/ head 0; > > end: cyl 132/ sector 63/ head 127 > > The data for partition 4 is: > > sysid 165,(FreeBSD/NetBSD/386BSD) > > start 1072512, size 1999872 (976 Meg), flag 0 > > beg: cyl 133/ sector 1/ head 0; > > end: cyl 380/ sector 63/ head 127 > > --------------------------------------------- > > > > The last slice is the one I want to reserve to FreeBSD. The problem is > > that when I used sysinstall to create the new slice, it installed it > > into the first slice, /dev/wd0s1. Then the system could not boot, because > > it could only find the /home partition which contained only homes, no > > swap, no kernel, no "/bin". > > The bootloader in 2.2.x doesn't handle multiple slices that well; itpicks > the first one with type 165. The new bootloader in 3.0 does, however. > I'd suggest moving the system into slice 1 and do with slice 4 as you > will. Well I did this: I've left the system on wd0s2, and move the /home on wd0s4. It's working! thanks... > Doug White > Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve > http://gladstone.uoregon.edu/~dwhite | www.freebsd.org > +-----------------------------------+ | Free the world from businessmen | | Free yourself from your money | +-----------------------------------+ Free the web. Spidey visit: http://www.JSP.UMontreal.CA/~beaupran To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message