Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2000 15:22:55 -0700
From:      Kent Stewart <kstewart@3-cities.com>
To:        Zhihui Zhang <zzhang@cs.binghamton.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Unable to create partition - too big?
Message-ID:  <3908BDBF.6BFE02C4@3-cities.com>
References:  <Pine.SOL.4.21.0004271718210.603-100000@sol.cs.binghamton.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


Zhihui Zhang wrote:
> 
> I am using /stand/sysinstall on FreeBSD 4.0 to create a partition with
> 5507979 blocks or 2689 MB (this is all the remaining space in my FreeBSD
> slice).  But it says "unable to create partition - too big?".  What is
> wrong?  I guess the size limit of a partition is much larger than 2GB.

The drive I have FreeBSD was first partition with DOS and formated.
Win98 and NT 4 were added at that point. The drive was too small to
add FreeBSD to it and was copied to a 20GB Maxtor. FreeBSD was used to
add its slice. When I got through with that, the extended partition
was added using Win 2000. 

Here is my fdisk
jade# fdisk
******* Working on device /dev/rad0 *******
parameters extracted from in-core disklabel are:
cylinders=2491 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=2491 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 6,(Primary 'big' DOS (> 32MB))
    start 63, size 4176837 (2039 Meg), flag 80 (active)
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 259/ sector 63/ head 254
The data for partition 2 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 4176900, size 26619705 (12997 Meg), flag 0
        beg: cyl 260/ sector 1/ head 0;
        end: cyl 1023/ sector 63/ head 254
The data for partition 3 is:
sysid 15,(Extended DOS, LBA)
    start 30796605, size 9221310 (4502 Meg), flag 0
        beg: cyl 1023/ sector 1/ head 0;
        end: cyl 1023/ sector 63/ head 254
The data for partition 4 is:
<UNUSED>

A df shows

jade# df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/ad0s2a     99183    38798    52451    43%    /
/dev/ad0s2f   1488607     5223  1364296     0%    /tmp
/dev/ad0s2g  10517574  2109755  7566414    22%    /usr
/dev/ad0s2e    496111     4889   451534     1%    /var
procfs              4        4        0   100%    /proc
/dev/acd0c     646424   646424        0   100%    /cdrom

I broke up my FreeBSD slice by assigning MB's. Then, the last thing I
did was add /usr, which was assigned everything that was left. This
was all done with sysinstall. This drive had many problems with 3.4
but it has pretty much run flawlessly once I got used to the changes
in 4.0. The main thing I can't do is burn CD-R's with it using
FreeBSD. Something doesn't like my HP8100i. I save my iso image in the
3rd partition and boot Win98se and burn the cd. When I'm done with
that, the system is rebooted to FreeBSD.

Kent


-- 
Kent Stewart
Richland, WA

mailto:kstewart@3-cities.com
http://www.3-cities.com/~kstewart/index.html
FreeBSD News http://daily.daemonnews.org/

SETI(Search for Extraterrestrial Intelligence) @ HOME
http://setiathome.ssl.berkeley.edu/


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?3908BDBF.6BFE02C4>