Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 1999 14:48:29 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Thierry Herbelot <herbelot@cybercable.fr>
Cc:        questions@FreeBSD.ORG
Subject:   Re: BSD slice in an extended partition ?
Message-ID:  <Pine.BSF.4.03.9905171448090.15052-100000@resnet.uoregon.edu>
In-Reply-To: <374071B6.A306E7FB@cybercable.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
The subject describes it better. 

No, you can't do that.  FreeBSD must occupy the entire slice.

On Mon, 17 May 1999, Thierry Herbelot wrote:

> Hello,
> 
> I was trying to install RH6.0 on my home machine, so I deleted wd0s3e
> where I stored some BSD data (to get an entry for a bootable partition
> in the partition table).
> 
> wd0s3e was 4G in size, so I used 80M for a / partition in wd0s3 and I've
> created 3 partitions inside an extended partition (slot wd0s4 of the
> partition table) : 128Megs linux swap, 1,8 G for linux data, then what
> is left (2G) for FreeBSD.
> 
> figure :
> <wd0s1 = FAT><wd0s2 = 3.1 slice><wd0s3=linux root>
> <s5=linux swap><s6=linux /usr><s7=available>
> 
> The remaining slice (wd0s7) can be accessed as a DOS partition (the
> example given is the FAQ applies and gives a 2G FAT partition), but I'd
> prefer it as a BSD partition.
> tfh# newfs_msdos /dev/rwd0s7
> /dev/rwd0s7: 4248824 sectors in 531103 FAT32 clusters (4096
> bytes/cluster)
> bps=512 spc=8 res=32 nft=2 mid=0xf8 spt=63 hds=255 hid=8337798
> bsec=4257162 bspf=4150 rdcl=2 infs=1 bkbs=2
> tfh# mount_msdos /dev/wd0s7 /mnt
> tfh# df /mnt
> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
> /dev/wd0s7    2124412        4  2124408     0%    /mnt
> tfh# 
> 
> I've looked at disklabel(8) and fdisk(8), but I don't see much help :
> disklabel -w wd0s7 auto fails with :
> tfh# disklabel -w wd0s7 auto
> disklabel: ioctl DIOCGDINFO: Invalid argument
> disklabel: auto: unknown disk type
> tfh# disklabel -w /dev/rwd0s7 auto
> disklabel: "auto" requires the usage of a canonical disk name
> disklabel: auto: unknown disk type
> 
> Do I need to create a new entry in /etc/disktab ? Is it simply possible
> to use an extended partition for FreeBSD ?
> 
> 	TIA
> 
> 	TfH
> 
> BTW : my RH6.0 install is still not satisfactory, as I haven't ben able
> to boot from the newly loaded partition (it seems the mkinitrd phase was
> not successful) - has anyone been able to make a full install, directly
> from the 'Net, without loading the RPMs in advance ?
> 
> PS : 
> tfh# uname -a
> FreeBSD tfh.herbelot.nom 3.1-STABLE FreeBSD 3.1-STABLE #0: 
> Thu May  6 20:53:57 CEST 1999     
> thierry.herbelot@herbelot.tfh.nom:/usr/src/sys/compile/TFH_31  i386
> tfh#
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

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.9905171448090.15052-100000>