On 10/04/2016 12:41 PM, John Andersen wrote:
On 10/04/2016 08:30 AM, Per Jessen wrote:
Jeremy Baker wrote:
my apologies if this has been documented previously, but does anyone have a howto to upgrade to a larger hard drive using clonezilla with leap 42.1? I have been using the disk to disk clone, and every time I try it, it fails to boot on the new drive.
Dunno about clonezilla, but something like this ought to work:
partition new disk rsync -avx / /new cd /new mkdir -p dev mnt opt proc sys run sys install boot-loader on new disk if your /etc/fstab mounts by UUID, that'll need updating. remove old and boot.
Written from memomy, I might easily have missed something.
Presumably this is a great opportunity for a total reinstall. Why not also consider downloading the ISO for a fresh install, Put the current drive in a disk caddy (or whatever it takes to get it out of the way, but still be available).
Then do a new fresh install on the new disk with the partitions properly sized for the future.
Add users in the same order so they have the same uid.
Plug in the old drive and copy entire user directory structure over. Copy over selected pieces of /etc for things that are easier that way, cups, firewall, samba, and so on.
Copy over stuff in /var mail if you run a mail server.
For most personal machines, its usually easier and safer to do a fresh install plus selective copy than it is to move onto a new drive. You also dump a lot of cruff that has built up over the years.
And you ALWAYS have the old disk to fall back on, or that you can put on the shelf against the day you remember those tax records you squirreled away in an unusual directory for backup.
If it was an older install that had been upgraded over and over, I would
tend to agree. Fact is, it was a fresh install of 42.1, and I have
spent more than enough time getting it just the way I like it.
Unfortunately, I need more space. I think its just a grub issue, so was
hoping for some guidance.
--
Jeremy Baker