Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] SSD partitioning and migration
Date: Thu, 18 Jul 2013 22:23:48
In Reply to: [gentoo-user] SSD partitioning and migration by luis jure
1 On Thu, Jul 18, 2013 at 4:22 PM, luis jure <ljc@××××××××××××.uy> wrote:
2 >
3 >
4 > hello list,
6 Hi!
8 > i want to migrate my system, currently in a HD, to a new SSD. i thought it
9 > would be easy, but i decided to read a little before partitioning the disk
10 > (my first SDD) and now i'm really confused...
11 >
12 > i intend to have only two partitions in the SSD: one for / and the other
13 > for /home. i have another HD for storage, where i'm going to put swap.
15 Sounds like a good plan. I used the same strategy here.
17 > apparently it's better to use a GPT partitioning. are there any catches i
18 > should take into account? what about grub, can i just install it later on
19 > the ssd?
21 GPT is not required, if you use MBR it should work just as well. If
22 you use GPT you must enable GUID partition table support in your
23 kernel and ensure your boot loader supports it.
25 > thanks for any comment or pointers, i found so many different "guides"
26 > saying different things that i'm really confused.
28 Here are the basic steps I used for doing the same thing:
30 1. partition SSD (start sector at a multiple of 1MB to ensure proper alignment)
31 2. format new partitions using discard-capable filesystem like ext4, xfs, btrfs
32 3. mount them in a temporary mount point
33 4. rsync your filesystem from old drive to new drive
34 5. edit /etc/fstab on the new drive to use the new mount points
35 6. edit boot loader config to point to correct drive
36 7. install boot loader on new drive if it becomes your new boot device
37 8. (optionally) swap drive cables so the new drive shows up first if
38 it is your new boot device
40 Depending on whether you use UUID, labels, or device names you may not
41 need to change names or swap cables in your computer so drives show up
42 in the correct order.
44 Good luck :)


Subject Author
Re: [gentoo-user] SSD partitioning and migration William Kenworthy <billk@×××××××××.au>
Re: [gentoo-user] SSD partitioning and migration luis jure <ljc@××××××××××××.uy>