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

Re: changing partition names



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 14 Feb 2016 19:11:37 -0500
Frank McCormick <debianlist@videotron.ca> wrote:

>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
>

Debian should not care if a partition number is missing. It should
still work. The only way I know to renumber a partition is to delete
the ones after the missing number. Then you can create new partitions,
starting at the empty space. 

- -- 
Charlie Kravetz
Linux Registered User Number 425914
[http://linuxcounter.net/user/425914.html]
Never let anyone steal your DREAM.   [http://keepingdreams.com]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJWwSI2AAoJEIqui46mydCA6M0H/RbPLlZJSS51sjSnjMXUpxMT
8QREy3gSthznuXtgQlDsRgBIhVWOF6ZNoA1yDnZmlf4KP1EnY5JJweVbNeJ2XaSn
so4Nir7H0xkZTgv5QfFGeXnTURK9nuejt9eHUZj1x5wnv7FfoJATiJUbAP4dSiUB
QAaxxsblzR6BLCAqgT98PV4Ny4DxsKpthNNwqNteIHWLoTdMO4nic5iHW3WKS074
BpoQzY6hzwu27TgnjUe7sns/t4tsgDJIyv1d15Zu5oTo9O7pgK+9pqYiEe0HzdNr
OQq9hXzMdxRNvlypi8Onq0+RQl/utJIwA8BwUGnupjitYPg9HnOrTlDGKdlniWE=
=Sbgu
-----END PGP SIGNATURE-----

Reply to: