Re: Re-install of Arch on a larger drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxxxx> wrote:

> On Sun, 18 Mar 2018 17:46:21 +0100
> Ralf Mardorf <silver.bullet@xxxxxxxx> 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.
>



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux