Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2001 15:27:39 -0400
From:      parv <parv_@yahoo.com>
To:        Kevin Oberman <oberman@es.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: 2 freebsd slices on 1 disk. possible?
Message-ID:  <20010624152739.A4442@moo.holy.cow>
In-Reply-To: <200106241854.f5OIsnc09123@ptavv.es.net>; from oberman@es.net on Sun, Jun 24, 2001 at 11:54:49AM -0700
References:  <20010624014218.A762@moo.holy.cow> <200106241854.f5OIsnc09123@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
so, Kevin Oberman shared this in my lifetime...
> > Date: Sun, 24 Jun 2001 01:42:18 -0400
> > From: parv <parv_@yahoo.com>
> > Sender: owner-freebsd-questions@FreeBSD.ORG
> > 
> > i have a 10GB drive, w/ ~1.5GB fat32, ~3.5GB freebsd 4.3, ~3.6GB 
> > empty/fact32X, ~1.4GB fat32-extended. i want to install another 
> > slice of freebsd on ~3.6GB slice ...
> > ... i searched the mailing lists but found no, or clear, 
> > answer
...

> > could it be possible to do install from the 1st/current slice on 
> > the 2d via sysinstall to create fs, type 0xa5 w/o damaging anything?
> 
> There is no problem with doing this. My laptop has 2 FreeBSD slices,
> one that gets backed up regularly and one that is scratch. It contains
> the FreeBSD sources, objects, and ports.
>
> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
> /dev/ad0s2a     49583    42021     3596    92%    /
> /dev/ad0s2f   1582663  1023603   432447    70%    /usr
> /dev/ad0s2e     19815     8501     9729    47%    /var
> /dev/ad0s1    4187580  3346816   840764    80%    /dos
> /dev/ad0s4e   4689197  2947005  1367057    68%    /scratch
> 
> I'd use /stand/sysinstall to re-slice the disk. 
> 
> I also have a small FAT32 slice as ad0s3. Here is the output of fdisk(8):
...

> 
> R. Kevin Oberman, Network Engineer


the only thing now holding be back is the difference between info 
provided by partition magic & fdisk. below is the output
of fdisk w/ difference w/ p-magic (wrt cylinder position) listed...


--------------------------------------------------
## fdisk ad0

******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=1299 heads=240 sectors/track=63 (15120 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1299 heads=240 sectors/track=63 (15120 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 11,(DOS or Windows 95 with 32 bit FAT)
    start 63, size 3280977 (1602 Meg), flag 0
	beg: cyl 0/ sector 1/ head 1;
	end: cyl 216/ sector 63/ head 239
The data for partition 2 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 3281040, size 6562080 (3204 Meg), flag 80 (active)
	beg: cyl 217/ sector 1/ head 0;
	end: cyl 650/ sector 63/ head 239
The data for partition 3 is:
sysid 28,(unknown)
    start 9843120, size 7378560 (3602 Meg), flag 0
	beg: cyl 651/ sector 1/ head 0;
	end: cyl 1023/ sector 63/ head 239

        # partition magic diff:
        end: cyl 1138/ sector 63/ head 239

The data for partition 4 is:
sysid 15,(Extended DOS, LBA)
    start 17221680, size 2419200 (1181 Meg), flag 0
	beg: cyl 1023/ sector 1/ head 0;
	end: cyl 1023/ sector 63/ head 239

        # partition magic diff:
        beg: cyl 1139/ sector 1/ head 0;
        end: cyl 1298/ sector 63/ head 239
--------------------------------------------------

now question is: does the difference in cylinder numbers reported by 
fdisk & partition magic make any, well, difference?

i have alredy read the man pages for fdisk & disklabel, just need
reassurance. 

- parv

-- 
 so, do you like word games or scrabble?
	 - parv

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?20010624152739.A4442>