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

Re: changing partition names



On 14/02/16 05:00 PM, rlharris@oplink.net wrote:
On Sun, February 14, 2016 2:42 pm, Frank McCormick wrote:
Can I just use fdisk or fsdisk to dump the existing partition record
edit the file to change sda4 to sda3 and then use fdisk or sfdisk to read
the file and create a properly named partition record ?

To rename partitions, I use gnome-disk-utility.  For some operations I use
GParted.  I tend to get into trouble when using fdisk or fsdisk.

Russ



  Unfortunately neither of those can do what I need.
This is what I have now from sfdisk -l

label: dos
label-id: 0x5a74aac4
device: /dev/sda
unit: sectors

/dev/sda1 : start=        2048, size=      194560, type=7
/dev/sda2 : start=      196608, size=    81920000, type=7
/dev/sda4 : start=    82116608, size=    74131456, type=83, bootable

 ^^^^^^^^ this is what I need to change to /dev/sda3

sda1 and sda2 are the Windows partitions. sda4 is Debian



Reply to: