From nobody Thu Dec 21 09:12:09 2023 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Swl7H5DPTz54YQp for ; Thu, 21 Dec 2023 09:12:11 +0000 (UTC) (envelope-from che@bein.link) Received: from mail.bein.link (bein.link [37.252.124.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Swl7H4ZK8z3QbB for ; Thu, 21 Dec 2023 09:12:11 +0000 (UTC) (envelope-from che@bein.link) Authentication-Results: mx1.freebsd.org; none Received: from [192.168.10.12] (unknown [37.252.89.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.bein.link (Postfix) with ESMTPSA id A50A6239A06; Thu, 21 Dec 2023 09:11:41 +0000 (UTC) Message-ID: <2977d629-1168-4acd-9506-fd76f9556d32@bein.link> Date: Thu, 21 Dec 2023 13:12:09 +0400 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: move FreeBSD installation to a different disk partition on same Laptop Content-Language: en-US To: Amr Osman , freebsd-hackers@freebsd.org References: <6BA82C96-78C6-4863-93D7-CAC351D05778@gmail.com> From: Maxim V Filimonov In-Reply-To: <6BA82C96-78C6-4863-93D7-CAC351D05778@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=bein.link; s=mail; t=1703149901; bh=NTw/kxd8BKy3H3EX1314NUyG/ew=; h=Message-ID:Date:MIME-Version:Subject:To:References:From:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=pMezIFTAogFU45+iPdYclNWV6cXb6ZMoBhNp+zImVfHx/CbyTlMBYO9+ODbUXicrmIbnEnui+e0fViMhrT5EiAQ9FzAfqNW0cPlq73TKkuSRbzWpxuRsL09X/BdIWgm/uy01gkDm1iQefNA8vF/Fj16bdzBJhOYeV/cfMyf221g= X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:196752, ipnet:37.252.120.0/21, country:NL] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4Swl7H4ZK8z3QbB Hi, You can use dump and restore for UFS file systems. On 21.12.2023 12:25, Amr Osman wrote: > Hello, > > I have freebsd 14 install on UFS partition on 256 GB GPT disk and I want to move it to a 128 GB UFS partition on another 512GB GPT disk that contains windows 11 and Fedora 39 , I have cloned my system using ‘ dump | restore ‘ but I can’t find a way to make freeBSD boot-loader show the cloned system to boot into it as I have the 2 disks on my laptop and I want to make the 256 disk for data only and the other for multi booting using rEFInd > any help is appreciated > how to create a boot entry for the cloned system? > > My Disk structure > > ada0 > msdos 300MB EFI with rEFInd > UFS 256 GB FREEBSD 14 <— current system > > ada1 > 500GB freeSpace (I deleted that due to bug on windows installer that prevented installation to continue due to multiple EFI present on my laptop) > ada1p2 150 GB NTFS WINDOWS 11 > ada1p3 128 GB EXT4 Fedora Linux > ada1p4 100 GB exFat shared Data > ada1p5 100 GB UFS <—- target for clone > > > Thanks > amr -- wbr, Maxim Filimonov