[arch-general] Re-install of Arch on a larger drive
Paul Gideon Dann
pdgiddie at gmail.com
Mon Mar 19 09:17:02 UTC 2018
I've moved or cloned my general-use Arch system between disks more times
than I can count. This is what LVM is for. If you're not using LVM (or
BTRFS), I recommend you start, but in the meantime, the simplest solution
when moving between systems is to dd the contents of each partition from
the source disk to the destination disk, and then expand filesystems as
necessary:
sudo dd if=/dev/sdx1 of=/dev/sdy1 bs=1M oflag=direct
sudo fsck -f /dev/sdy1
sudo resize2fs /dev/sdy1
Paul
On 18 March 2018 at 17:08, Doug Newgard via arch-general <
arch-general at archlinux.org> wrote:
> On Sun, 18 Mar 2018 17:46:21 +0100
> Ralf Mardorf <silver.bullet at zoho.com> wrote:
>
> > On Sun, 18 Mar 2018 11:33:19 -0500, Doug Newgard via arch-general wrote:
> > >On Sun, 18 Mar 2018 17:30:27 +0100 Ralf Mardorf wrote:
> > >> The "dd" command is inappropriate, a "cp -a" is the most reasonable
> > >> solution. However, UUIDs are still an issue, the average desktop
> > >> computer user should consider to prefer a lable over an UUID.
> > >
> > >Why is it inappropriate? It should work fine, and work with no other
> > >changes. Even the UUIDs/Labels would be the same that way.
> >
> > If so, don't beat around the bush, simply provide the command that does
> > it all :).
>
> If you need more than what Ricardo Band already posted, you're beyond help.
>
More information about the arch-general
mailing list