[arch-general] Change letters of partitions

Damjan Georgievski gdamjan at gmail.com
Sun Sep 13 05:55:32 EDT 2009


> My partitions looked like this:
> /dev/sda1 (/)
> /dev/sda2 (/home)
> /dev/sda3 (swap)
>
> After I deleted the / partition and got this:
> /dev/sda1 (Windows)
> free space
> /dev/sda2 (/home)
> /dev/sda3 (swap)
>
> And i need this:
> /dev/sda1 (Windows)
> /dev/sda2 (/)
> /dev/sda3 (/home)
> /dev/sda4 (swap)
>
> How do I change home partition /dev/sda2 to /dev/sda3?

That's fairly easy but dangerous. With fdisk you first print the
partition table, then delete sda2 and sda3, and recreate them with
exactly the same begining and end sectors as sda3 and sda4.

Be very carefull
-- 
damjan


More information about the arch-general mailing list