Re: Change letters of partitions

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



> 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


[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