Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2021 13:07:21 -0700
From:      "@lbutlr" <kremels@kreme.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: making one disk image from two
Message-ID:  <B687399B-56AA-4E29-BC71-D4F211029EB5@kreme.com>
In-Reply-To: <X/cUm5cr%2BPThwNol@bastion.zyxst.net>

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

On 07 Jan 2021, at 07:03, tech-lists <tech-lists@zyxst.net> wrote:
> If one were to make say a 16GB image, format it to msdos, then make a 64GB image, format it to freebsd, then concatenate[1] the images to make one image, would it be seen as one image with two partitions?

You would have to make a partitioned image first, then write your 16GB to one partition¹ and your 64GB to the other partition.

> [1] # cat freebsd.img >> msdos.img

If you were very lucky, that would still be a msdos bootable image. Otherwise, it would be garbage.

¹ Or perhaps volumes or containers, depending on the disk format.

-- 
THE PRESIDENT DID IT IS NOT AN EXCUSE Bart chalkboard Ep. AABF05



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B687399B-56AA-4E29-BC71-D4F211029EB5>