Date: Sun, 24 Jun 2001 11:54:49 -0700 From: "Kevin Oberman" <oberman@es.net> To: parv <parv_@yahoo.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 2 freebsd slices on 1 disk. possible? Message-ID: <200106241854.f5OIsnc09123@ptavv.es.net> In-Reply-To: Your message of "Sun, 24 Jun 2001 01:42:18 EDT." <20010624014218.A762@moo.holy.cow>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 hesitate to find the answer
> myself as i fear i may screw up the whole installation and/or
> boot entries. i searched the mailing lists but found no, or clear,
> answers on the topic:
>
> "Multiple FreeBSDs on one disk"
> - edvard fagerholm, 25-mar-2001
>
> "Dual boot FreeBSD/FreeBSD"
> - mike meyer, 27-jun-2000
>
> "install FreeBSD into another slice"
> - zhihui zhang, 08-sep-2000
>
>
> i don't need 2d slice to be bootable, just as long as i can mount it.
> of course, if 2d slice can be bootable, i won't complain. i promise.
>
> 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):
Information from DOS bootblock is:
The data for partition 1 is:
sysid 11,(DOS or Windows 95 with 32 bit FAT)
start 63, size 8391537 (4097 Meg), flag 0
beg: cyl 0/ sector 1/ head 1;
end: cyl 554/ sector 63/ head 239
The data for partition 2 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 8391600, size 4203360 (2052 Meg), flag 80 (active)
beg: cyl 555/ sector 1/ head 0;
end: cyl 832/ sector 63/ head 239
The data for partition 3 is:
sysid 11,(DOS or Windows 95 with 32 bit FAT)
start 12594960, size 1300320 (634 Meg), flag 0
beg: cyl 833/ sector 1/ head 0;
end: cyl 918/ sector 63/ head 239
The data for partition 4 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 13895280, size 9676800 (4725 Meg), flag 0
beg: cyl 919/ sector 1/ head 0;
end: cyl 1023/ sector 63/ head 239
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net Phone: +1 510 486-8634
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?200106241854.f5OIsnc09123>
