Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #164179

Re: changing partition names

From Frank McCormick <debianlist@videotron.ca>
Newsgroups linux.debian.user
Subject Re: changing partition names
Date 2016-02-15 04:40 +0100
Message-ID <r2ib0-3Gn-23@gated-at.bofh.it> (permalink)
References <r2bMe-7Rl-17@gated-at.bofh.it> <r2d1E-mG-11@gated-at.bofh.it> <r2f3u-1Hd-49@gated-at.bofh.it> <r2gCd-2zt-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 14/02/16 07:56 PM, Charlie Kravetz wrote:
> -----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.
>
> - --

   Yes it does work...but it just seems weird to me :) Maybe it's my OCD
kicking in but they should be sda1 sda2 sda3 :)

I don't thinkI want to get involved with backing up creating new one 
then restoring to solve what seems like a simple problem.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

changing partition names Frank McCormick <debianlist@videotron.ca> - 2016-02-14 21:50 +0100
  Re: changing partition names rlharris@oplink.net - 2016-02-14 23:10 +0100
    Re: changing partition names Frank McCormick <debianlist@videotron.ca> - 2016-02-15 01:20 +0100
      Re: changing partition names Charlie Kravetz <cjk@teamcharliesangels.com> - 2016-02-15 03:00 +0100
        Re: changing partition names Frank McCormick <debianlist@videotron.ca> - 2016-02-15 04:40 +0100
          Re: changing partition names Adam Wilson <moxalt@riseup.net> - 2016-02-16 07:50 +0100
  Re: changing partition names Felix Miata <mrmazda@earthlink.net> - 2016-02-15 02:00 +0100
    Re: changing partition names Frank McCormick <debianlist@videotron.ca> - 2016-02-15 04:50 +0100
  Re: changing partition names Jonathan Dowland <jmtd@debian.org> - 2016-02-15 11:50 +0100
    Re: changing partition names <tomas@tuxteam.de> - 2016-02-15 12:50 +0100
    Re: changing partition names Frank McCormick <debianlist@videotron.ca> - 2016-02-15 18:00 +0100
      Re: changing partition names jdd <jdd@dodin.org> - 2016-02-15 18:50 +0100
        Re: changing partition names Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-02-15 21:00 +0100
          Re: changing partition names Felix Miata <mrmazda@earthlink.net> - 2016-02-15 21:10 +0100
            Re: changing partition names Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-02-15 21:20 +0100
  Re: changing partition names Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-02-15 21:10 +0100
    Re: changing partition names Lisi Reisz <lisi.reisz@gmail.com> - 2016-02-16 00:20 +0100
      Re: changing partition names Felix Miata <mrmazda@earthlink.net> - 2016-02-16 00:40 +0100
        Re: changing partition names Frank McCormick <debianlist@videotron.ca> - 2016-02-16 01:30 +0100
          Re: changing partition names Felix Miata <mrmazda@earthlink.net> - 2016-02-16 04:40 +0100
        Re: changing partition names jdd <jdd@dodin.org> - 2016-02-16 08:50 +0100

csiph-web