Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 1998 09:40:53 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        BEAUPRE Antoine <beaupran@JSP.UMontreal.CA>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Creating a /home partition
Message-ID:  <Pine.BSF.4.03.9810200939160.6354-100000@resnet.uoregon.edu>
In-Reply-To: <Pine.SGI.3.96.981017122439.29505B-100000@derby.jsp.umontreal.ca>

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

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9810200939160.6354-100000>