Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 1998 23:08:46 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Marty Leisner <leisner@sdsp.mc.xerox.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: booting freebsd (multiple slices on a disk)
Message-ID:  <Pine.BSF.3.96.980410230559.28437N-100000@gdi.uoregon.edu>
In-Reply-To: <9804091649.AA17011@gnu.sdsp.mc.xerox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 9 Apr 1998, Marty Leisner wrote:

> My disk layout (from linux fdisk) is:
> : leisner@compudyne;bsdfdisk -l
> 
> Disk /dev/hda: 64 heads, 63 sectors, 826 cylinders
> Units = cylinders of 4032 * 512 bytes
> 
>    Device Boot   Begin    Start      End   Blocks   Id  System
> /dev/hda1            1        1      127   256000+   6  DOS 16-bit >=32M            
> /dev/hda2   *      128      128      534   820512    5  Extended
> /dev/hda3          825      825      825     2016    a  OS/2 Boot Manager
> /dev/hda4          535      535      686   306432   b5  Unknown
> /dev/hda5   *      128      128      254   256000+   7  OS2 20.0
> /dev/hda6   *      255      255      381   256000+   7  OS2 20.0
> /dev/hda7   *      382      382      407    52384+  83  Linux native
> /dev/hda8          408      408      509   205600+  83  Linux native
> /dev/hda9          510      510      534    50368+   6  DOS 16-bit >=32M NO NAME    

Huh?? What is this displaying?  No disk can have more than 4 slices and I
count 8.  What does a DOS fdisk look like?

> Disk /dev/hdb: 64 heads, 63 sectors, 621 cylinders
> Units = cylinders of 4032 * 512 bytes
> 
>    Device Boot   Begin    Start      End   Blocks   Id  System
> /dev/hdb1            1        1      152   306400+  b5  Unknown
> /dev/hdb2          153      153      254   205632    6  DOS 16-bit >=32M 
> /dev/hdb3          255      255      431   356832   b5  Unknown
> Warning: invalid flag 0000 of partition table 4 will be corrected by w(rite)
> 
> Disk /dev/hdd: 64 heads, 63 sectors, 621 cylinders
> Units = cylinders of 4032 * 512 bytes
> 
> I'm using system commander (it changes the a5 ID to b5 [don't ask
> me why...freebsd still boots]
> 
> When I tried to install on /dev/hda, it complained:
>         This region cannot be used for your root partition as the
>         FreeBSD boot code cannot deal with a root partition created
>         in that location.

> 
> Is this because it began at a cylinder > 512?  (On the other hand,
> OS/2 Bootmanager doesn't have a problem).

Actually, it's >1023 that causes the problem. 

You can't have multiple FreeBSD slices on the same physical disk, since
the boot blocks can't differentiate between the slice(s) which one it's
supposed to boot.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major



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.3.96.980410230559.28437N-100000>