From owner-freebsd-questions Wed Dec 10 22:49:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA09932 for questions-outgoing; Wed, 10 Dec 1997 22:49:56 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from hil-img-1.compuserve.com (hil-img-1.compuserve.com [149.174.177.131]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA09913 for ; Wed, 10 Dec 1997 22:49:50 -0800 (PST) (envelope-from BryanBatten@compuserve.com) Received: (from mailgate@localhost) by hil-img-1.compuserve.com (8.8.6/8.8.6/2.9) id BAA07826; Thu, 11 Dec 1997 01:49:17 -0500 (EST) Date: Thu, 11 Dec 1997 01:26:10 -0500 From: Bryan Batten Subject: Re: Using Extended Partitions To: Julian Elischer Cc: Questions for FreeBSD Message-ID: <199712110126_MC2-2B92-21CD@compuserve.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id WAA09921 Sender: owner-freebsd-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Hi Julian, Thanks for respondig to my problem wrt extended partitions. On Sun, 7 Dec 1997, Julian Elischer wrote: > You are confusing 'use' with "boot off" I'm not trying to boot from an extended partition. I'm trying to put a BSD partitioning scheme on one of the logical partitions within the extended partition. > The boot code cannot get to it, but once the system is up and > running it can use that slice. of course I have NOT tried to > then put a BSD partitionning scheme on an extended slice, only > used them to read DOS,filesystems or LINUX filesystems that are > already there. > > what is your complete layout? Here's what I've set up with Linux fdisk: /dev/hda3 is the boot partition - and that works OK. I can boot from it. What i've done here is to run FreeBSD's fdisk and disklable utility from the FreeBSD installation procedure, after having reserved the space for it originally with the Linux fdisk. The logical partition I'm trying to get to that is causing me problems is /dev/hdb6 - which is in the extended partition on the 2nd drive. Here also, I've used the Linux fdisk as a placeholder to reserve the space and set the partition type - again with the intention of using the native FreeBSD facilities to actually create a BSD file system. --------------- bash(root)# fdisk -l Disk /dev/hda: 64 heads, 63 sectors, 525 cylinders Units = cylinders of 4032 * 512 bytes Device Boot Begin Start End Blocks Id System /dev/hda1 1 1 60 120928+ 6 DOS 16-bit >=32M /dev/hda2 61 61 126 133056 63 GNU HURD /dev/hda3 127 127 192 133056 a5 BSD/386 /dev/hda4 193 193 525 671328 5 Extended /dev/hda5 193 193 255 126976+ 81 Linux/MINIX /dev/hda6 256 256 288 66496+ 82 Linux swap /dev/hda7 289 289 390 205600+ 83 Linux native /dev/hda8 391 391 450 120928+ 7 OS/2 HPFS /dev/hda9 451 451 525 151168+ 81 Linux/MINIX Disk /dev/hdb: 64 heads, 63 sectors, 525 cylinders Units = cylinders of 4032 * 512 bytes Device Boot Begin Start End Blocks Id System /dev/hdb1 1 1 60 120928+ 7 OS/2 HPFS /dev/hdb2 61 61 126 133056 9 AIX bootable /dev/hdb3 * 127 127 192 133056 83 Linux native /dev/hdb4 193 193 525 671328 5 Extended /dev/hdb5 193 193 255 126976+ 81 Linux/MINIX /dev/hdb6 256 256 346 183424+ a5 BSD/386 /dev/hdb7 347 347 437 183424+ 63 GNU HURD /dev/hdb8 438 438 525 177376+ 81 Linux/MINIX ---------------