| Deutsch English Français Italiano |
|
<v8ht4d$2m326$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: The Natural Philosopher <tnp@invalid.invalid> Newsgroups: comp.sys.raspberry-pi Subject: Re: Move bookworm system from SSD to NVME Date: Fri, 2 Aug 2024 07:08:13 +0100 Organization: A little, after lunch Lines: 45 Message-ID: <v8ht4d$2m326$2@dont-email.me> References: <v8cqd6$1gdnp$1@dont-email.me> <v8e73l$1o2dm$1@dont-email.me> <v8fggs$22msn$4@dont-email.me> <v8gqdr$2aknv$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 02 Aug 2024 08:08:13 +0200 (CEST) Injection-Info: dont-email.me; posting-host="ea23ea9f645eabd6f2e83f8225e12d06"; logging-data="2821190"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+LkINFBu8lJPjhLZF2PN6i5iBuYG6cGAc=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:OmRxwX/wHRvjZsRLt7D7URGKtuw= Content-Language: en-GB In-Reply-To: <v8gqdr$2aknv$1@dont-email.me> Bytes: 2775 On 01/08/2024 21:15, druck wrote: > On 01/08/2024 09:20, The Natural Philosopher wrote: >> On 31/07/2024 21:33, druck wrote: >>> As long as your new NVME is larger than the SSD, you can just do low >>> level copy with the dd command, then resize the rootfs partition on >>> the new drive to use any extra space with the gparted program (if not >>> installed use: apt install gparted). >> >> That will at least get over the problem of having a different partuuid >> etc > > Yes the dd method will avoid any changes to partuuids, where as if you > use the rsync method you will have to change the values in /etc/fstab > and also potentially /boot/cmdline.txt (/boot/firmware/cmdline.txt on > Bookworm). > >> Is it possible to then create a DIFFERENT partition on the empty part >> of the new disk? And mount it as - say - /home? > > Yes, you can do this with gparted, move the existing /home to the new > partition and edit /etc/fstab to contain a line similar to:- > > PARTUUID=abcd1234-03 /home ext4 nofail,noatime,errors=remount-ro 0 0 > Ta. I thought it probably was. My Pi server build could not handle 3 USB drives so I need to reconstruct it with just 2, which means cloning the OS onto a fraction of a larger disk. Then creating another partition for all the data under /home > Then do a:- > > mount -a > > ---druck > -- "Corbyn talks about equality, justice, opportunity, health care, peace, community, compassion, investment, security, housing...." "What kind of person is not interested in those things?" "Jeremy Corbyn?"