Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 1997 01:26:10 -0500
From:      Bryan Batten <BryanBatten@compuserve.com>
To:        Julian Elischer <julian@whistle.com>
Cc:        Questions for FreeBSD <freebsd-questions@FreeBSD.org>
Subject:   Re: Using Extended Partitions
Message-ID:  <199712110126_MC2-2B92-21CD@compuserve.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712110126_MC2-2B92-21CD>