Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.sys.raspberry-pi    |    Raspberry Pi computers & related hardwar    |    26,127 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 24,696 of 26,127    |
|    The Natural Philosopher to druck    |
|    Re: Move bookworm system from SSD to NVM    |
|    02 Aug 24 07:08:13    |
      From: tnp@invalid.invalid              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?"              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca