Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 1997 00:40:57 -0800
From:      Julian Elischer <julian@whistle.com>
To:        Bryan Batten <BryanBatten@compuserve.com>
Cc:        Questions for FreeBSD <freebsd-questions@FreeBSD.org>
Subject:   Re: Using Extended Partitions
Message-ID:  <348FA719.2781E494@whistle.com>
References:  <199712110126_MC2-2B92-21CD@compuserve.com>

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

I'm not totally sure what /dev/hdb6 under FreeBSD,
The first 4 real partitions are called wd0s1 through wd0s4
The extended partitons are then known as: wd0s5-> wd0s30
(or in your case wd1 for the second drive)
But there is some confusion of the order in which various syetems name
them
so I'm not sure which it will respond to.

In /dev, do a 
sh MAKEDEV wd1s8

and hopefully it will make entries for slices 1 through 8 
(though you may have to make them by hand.. I haven't tried recently)

if you boot BSD with the -v flag 
as in:
Boot: -v
what do you see?  There will probably be a clue in there as to which
slice is which (even if only by size)

If it goes off the top of the screen, just hit <scroll-lock> and bring
it back
down  with <page-up>    
Use <scroll-lock> to restart operation.

Once we've assertained which slice it is, we can chop it up into BSD
partitions and make filesystems.


julian

> 
> ---------------
> 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?348FA719.2781E494>