From owner-freebsd-questions Mon May 17 12:45: 6 1999 Delivered-To: freebsd-questions@freebsd.org Received: from bouvreuil.cybercable.fr (bouvreuil.cybercable.fr [212.198.3.12]) by hub.freebsd.org (Postfix) with SMTP id 2ADCF152FA for ; Mon, 17 May 1999 12:44:59 -0700 (PDT) (envelope-from herbelot@cybercable.fr) Received: (qmail 12800 invoked from network); 17 May 1999 21:44:57 +0200 Received: from d172.paris-26.cybercable.fr (HELO cybercable.fr) (212.198.26.172) by bouvreuil.cybercable.fr with SMTP; 17 May 1999 19:44:57 -0000 Message-ID: <374071B6.A306E7FB@cybercable.fr> Date: Mon, 17 May 1999 21:44:54 +0200 From: Thierry Herbelot Organization: Les barbus =?iso-8859-1?Q?associ=E9s?=, Paris, France X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: BSD slice in an extended partition ? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 : 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