From nobody Thu Dec 21 08:58:34 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 4Swkqr3bL2z54XdJ for ; Thu, 21 Dec 2023 08:58:48 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Swkqr1cCVz3P2Y for ; Thu, 21 Dec 2023 08:58:48 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a236d77dceeso60660666b.2 for ; Thu, 21 Dec 2023 00:58:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703149127; x=1703753927; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=WH3BnkNcWICZPC51prwLP6/1B+3ykD0TCsBCFTYjmyU=; b=Kcddjz1bLvfJzreW6q9GQ9o33LScDzKa1vz1IFnekSc+OSeofGzp98o+u60icqaDDS MMb97bJGR1L+XaWgDYRyLpTF/MoHLeuFOWbJMHrvtVSrg5A7RdfGyuRJpq45HQWlk6hL ULcn0PXUfncl8X1GXFQOn/ehgYIjHHRFTNRYqchJ8ujLXYYjz5/JFqXvruDFQvN3ioGj sTnYdVG1j2wgPWLm9UHwkIxX+5zxPabhSB5BBUJryqWs84JKL1xJpCRHk1+q3pf1bSXM vajgzXqDutM+gWGpv+ypR+GLPpqFCUQYdtRUe+zS4ibGnA4WSqwofeY73DPcO/CvtPbI a52A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703149127; x=1703753927; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WH3BnkNcWICZPC51prwLP6/1B+3ykD0TCsBCFTYjmyU=; b=I1Kg1Z4h9x/uT+lcqSfUcaP2POs9RRtL7tLZ7eaPfTlbqL8r8ZXTgYnuoDrte58Neg BK0uiHdfH1h+er/sOLUSyCGK6HSIiveuZlfw+rvnE529S2besRC8oKMor8owitysuTio rTnVK89BlCdY/vNt0HaN6Vh9nhJmhqCd3fQrYwXl72v5t3p8tehYTna275/rVHt9V9UW Cokv/1WDTbqPVNxQSXYpkUdzL+n5BPJxBijOXZpkfexYm6T6ffBBH2LluTSLi/tV+i4w xMXmOuzVxcPKmuWqyMsQqAxVh/vjhFeyPeYtA+retvEbpDx8B+Sof5x3z5YXWq8Qt2+F yHxw== X-Gm-Message-State: AOJu0YyPrmqjQixaOi+l32XgNYIzoE7rr1CuTlLaLHbcDcSFtu5qhYDO 6SOvtOuwcjIL3Mz95Qpg9BAFPR2WQLnjSN81+v1d8e7xbfw= X-Google-Smtp-Source: AGHT+IFsPrrFZAR8ZtxB12Q2hkhQA7nk7IGhfg453EQn47SyQDXQQDhtTmAFLfs4s/rWSGzpWptNxgZyk+22tZ2bY04= X-Received: by 2002:a17:906:c019:b0:a1b:86e2:a1ab with SMTP id e25-20020a170906c01900b00a1b86e2a1abmr6906658ejz.223.1703149126537; Thu, 21 Dec 2023 00:58:46 -0800 (PST) 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 References: <6BA82C96-78C6-4863-93D7-CAC351D05778@gmail.com> In-Reply-To: <6BA82C96-78C6-4863-93D7-CAC351D05778@gmail.com> From: Mario Marietto Date: Thu, 21 Dec 2023 09:58:34 +0100 Message-ID: Subject: Re: move FreeBSD installation to a different disk partition on same Laptop To: Amr Osman Cc: freebsd-hackers Content-Type: multipart/alternative; boundary="000000000000afd799060d014e2f" 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:15169, ipnet:2a00:1450::/32, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4Swkqr1cCVz3P2Y --000000000000afd799060d014e2f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable rsync -avxHAX * /source /destination ; nano /etc/fstab Il gio 21 dic 2023, 09:25 Amr Osman ha scritto: > 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 =E2=80= =98 dump | > restore =E2=80=98 but I can=E2=80=99t find a way to make freeBSD boot-loa= der show the > cloned system to boot into it as I have the 2 disks on my laptop and I wa= nt > 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 <=E2=80=94 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 lapt= op) > ada1p2 150 GB NTFS WINDOWS 11 > ada1p3 128 GB EXT4 Fedora Linux > ada1p4 100 GB exFat shared Data > ada1p5 100 GB UFS <=E2=80=94- target for clone > > > Thanks > amr > --000000000000afd799060d014e2f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
rsync -avxHAX * /source /destination ; nano /etc/fstab
Il = gio 21 dic 2023, 09:25 Amr Osman <dr= 3mro@gmail.com> ha scritto:
= Hello,

I have freebsd 14 install on UFS partition on=C2=A0 256 GB GPT disk and I w= ant to move it to a 128 GB UFS partition on another 512GB GPT disk that con= tains windows 11 and Fedora 39 , I have cloned my system using =E2=80=98 du= mp | restore =E2=80=98 but I can=E2=80=99t find a way to make freeBSD boot-= loader show the cloned system to boot into it as I have the 2 disks on my l= aptop 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 <=E2=80=94 current system

ada1
500GB freeSpace (I deleted that due to bug on windows installer that preven= ted 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 <=E2=80=94- target for clone


Thanks
amr
--000000000000afd799060d014e2f--