From nobody Tue Dec 19 22:10:11 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 4SvrVB1dmqz55670 for ; Tue, 19 Dec 2023 22:10:26 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (mailhost.m5p.com [74.104.188.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "m5p.com", Issuer "R3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SvrV92pRHz3PXr for ; Tue, 19 Dec 2023 22:10:25 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of george+freebsd@m5p.com designates 74.104.188.4 as permitted sender) smtp.mailfrom=george+freebsd@m5p.com; dmarc=none Received: from [IPV6:2001:470:1f07:15ff::26] (court.m5p.com [IPv6:2001:470:1f07:15ff:0:0:0:26]) (authenticated bits=0) by mailhost.m5p.com (8.17.1/8.15.2) with ESMTPSA id 3BJMABr6034109 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Tue, 19 Dec 2023 17:10:17 -0500 (EST) (envelope-from george+freebsd@m5p.com) Message-ID: <4a5026db-593b-47cf-a06e-1e006f6c64f4@m5p.com> Date: Tue, 19 Dec 2023 17:10:11 -0500 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: FreeBSD Security Advisory FreeBSD-SA-23:19.openssh To: FreeBSD Hackers References: <20231219213359.7DF53BF79@freefall.freebsd.org> Content-Language: en-US From: George Mitchell In-Reply-To: <20231219213359.7DF53BF79@freefall.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.2 required=10.0 tests=HELO_MISC_IP,HELO_NO_DOMAIN autolearn=no autolearn_force=no version=4.0.0 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on mattapan.m5p.com X-Spamd-Result: default: False [-3.29 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:701, ipnet:74.104.0.0/16, country:US]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@FreeBSD.org]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TAGGED_FROM(0.00)[freebsd]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; DMARC_NA(0.00)[m5p.com]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4SvrV92pRHz3PXr X-Spamd-Bar: --- I think there's a typo here: On 12/19/23 16:33, FreeBSD Security Advisories wrote: > ============================================================================= > FreeBSD-SA-23:19.openssh Security Advisory > [...] > IV. Workaround > > Add the following lines to /etc/ssh_config and /etc/sshd_config: > Ciphers -chacha20-poly1305@openssh.com > MACs -*etm@openssh.com > [...] On my supported 13.2-RELEASE system it's /etc/ssh/ssh_config and /etc/ssh/sshd_config. -- George From nobody Thu Dec 21 08:25:08 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 4Swk5M1wblz54W0L for ; Thu, 21 Dec 2023 08:25:27 +0000 (UTC) (envelope-from dr3mro@gmail.com) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (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 4Swk5L2w1tz3M55 for ; Thu, 21 Dec 2023 08:25:26 +0000 (UTC) (envelope-from dr3mro@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=c5t5iWPo; spf=pass (mx1.freebsd.org: domain of dr3mro@gmail.com designates 2a00:1450:4864:20::629 as permitted sender) smtp.mailfrom=dr3mro@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a2343c31c4bso56823266b.1 for ; Thu, 21 Dec 2023 00:25:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703147121; x=1703751921; darn=freebsd.org; h=to:message-id:subject:date:mime-version:from :content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=oJJ50D0d9v1dyZWRb3MRs/Hl/lNkWuMNnZUIAYlLQRc=; b=c5t5iWPoaLFy2hkWovEG38o4iUr0d77wTbEKDzbLHPiU7UN+kRhm1M/zJC9MGpcyRj f7qZba0OzhyJN9zryxaGCXlfb3ruEv24dfW/tlch5ltvKxRgO63ROmtuwy/hs/JnUuVQ dv+7dnRySG/49qvmyTpQM//ppZ7Yj1rwhiIRxDlJQ9uP+U3Q+N3TH0EfYiQbbmmCA7S3 sXIfyzldJbdIziYWYYEtgkzDvOUGCdaVG9fqqS8Ru8MWHKcXcr+VqSdAOUN9GJ1SDafp 6IKW3SzEy8kp1MKObVU5YVR7bt3X8VVPqyFSZPb16jyl7oCqEuYZMAqsrf5pLMiVdMsa 5hdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703147121; x=1703751921; h=to:message-id:subject:date:mime-version:from :content-transfer-encoding:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=oJJ50D0d9v1dyZWRb3MRs/Hl/lNkWuMNnZUIAYlLQRc=; b=f4P3rtq/vgg6wNA1tebxvLZictndTt4I+YgsVUNerSrpIP5G405UAW3p6mDJLuuA3H Q/HukXWbEaO8O4p0FlXm2JYcq6uk5G+1GnPI0qvterW/kZaQCYQzzmpZqA+J6rQ83wym Q8bRRPaPmASs8JIPpGji1AY1AICdZGvFbz0WpnuR15qZbTFtE2hXENXSH42j8tYxDLGY 5FUkbhRG57nvDeFbcbJyzftdvdbGOLwECyh0mu7MmbJAwn0CuSED8qGPLFFRRmaI8GDu aD4mQlchZ2XSOvZtjx0SdRUJJHMjGuLpsLBcAIJ/0u/obuiyrfzvXIIkTnkYU2NMRKet ajwg== X-Gm-Message-State: AOJu0YyJ82HEWFgM97FoAv5aVsMmaehc+gAqkCcdVweKsc7gOsGCcXWq oyV+U5xJHBgwMk2f3/g3DLt311YzXLI= X-Google-Smtp-Source: AGHT+IE4Fx6NmYyyVO+1YWlDS9yaeMvqNwbwi5dqmQ9tiN6vYVUYDpvjLWvXdf/gbME83Dua+OfsZg== X-Received: by 2002:a17:906:81c7:b0:a1f:657e:649f with SMTP id e7-20020a17090681c700b00a1f657e649fmr6365282ejx.201.1703147120794; Thu, 21 Dec 2023 00:25:20 -0800 (PST) Received: from smtpclient.apple ([105.43.97.76]) by smtp.gmail.com with ESMTPSA id dx15-20020a170906a84f00b00a2363247829sm677373ejb.216.2023.12.21.00.25.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Dec 2023 00:25:20 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Amr Osman 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 (1.0) Date: Thu, 21 Dec 2023 10:25:08 +0200 Subject: move FreeBSD installation to a different disk partition on same Laptop Message-Id: <6BA82C96-78C6-4863-93D7-CAC351D05778@gmail.com> To: freebsd-hackers@freebsd.org X-Mailer: iPhone Mail (21B101) X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::629:from]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4Swk5L2w1tz3M55 X-Spamd-Bar: --- 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 w= indows 11 and Fedora 39 , I have cloned my system using =E2=80=98 dump | res= tore =E2=80=98 but I can=E2=80=99t find a way to make freeBSD boot-loader sh= ow 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 usi= ng rEFInd any help is appreciated=20 how to create a boot entry for the cloned system? My Disk structure=20 ada0 msdos 300MB EFI with rEFInd=20 UFS 256 GB FREEBSD 14 <=E2=80=94 current system=20 ada1 500GB freeSpace (I deleted that due to bug on windows installer that prevent= ed 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=20 Thanks amr= 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-- 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 From nobody Thu Dec 21 18:53:12 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 4Sx01w4WL8z547pd for ; Thu, 21 Dec 2023 18:53:24 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (pdx.rh.CN85.dnsmgr.net [65.75.216.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sx01v6sRJz3dQG for ; Thu, 21 Dec 2023 18:53:23 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Authentication-Results: mx1.freebsd.org; none Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 3BLIrCEv072903; Thu, 21 Dec 2023 10:53:12 -0800 (PST) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 3BLIrCHd072902; Thu, 21 Dec 2023 10:53:12 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202312211853.3BLIrCHd072902@gndrsh.dnsmgr.net> Subject: Re: move FreeBSD installation to a different disk partition on same Laptop In-Reply-To: <2977d629-1168-4acd-9506-fd76f9556d32@bein.link> To: Maxim V Filimonov Date: Thu, 21 Dec 2023 10:53:12 -0800 (PST) CC: Amr Osman , freebsd-hackers@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] 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 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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:10494, ipnet:65.75.216.0/23, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4Sx01v6sRJz3dQG > Hi, > > You can use dump and restore for UFS file systems. He already said he has done that. > > 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? You can use: efibootmgr -v to see the current EFI boot entires, but I think this is not your issue, and assume you are getting to the FreeBSD loader, but are not sure how to tell it to boot ada1p5 rather than ada0p2? When the menu comes up if you hit 3 that can drop you to the "OK " loader prompt. iirc you can then say: boot ada1p5:/boot/kernel/kernel but it has been a long time since I have done this. You may have to fool around with variables using set loaddev=ada1p5: Much of this may become automagic if you just remark ada0p2, your UFS parition on ada0, as something other than FreeBSD UFS so that the loader.efi finds ada1p5 all on its own as the parition to boot. > > > > My Disk structure > > > > ada0 > > msdos 300MB EFI with rEFInd > > UFS 256 GB FREEBSD 14 > > > 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 > > > > > Thanks > > amr > > -- > wbr, Maxim Filimonov > > > -- Rod Grimes rgrimes@freebsd.org