public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Hinnerk van Bruinehsen <h.v.bruinehsen@fu-berlin.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Is it safe to change the start of the first partition?
Date: Tue, 03 Jul 2012 09:52:04 +0200	[thread overview]
Message-ID: <4FF2A4A4.6070301@fu-berlin.de> (raw)
In-Reply-To: <1341301348.3112.2@numa-i>

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

On 03.07.2012 09:42, Helmut Jarausch wrote:
> On 07/03/2012 09:25:20 AM, Hinnerk van Bruinehsen wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>> 
>> On 03.07.2012 09:09, Helmut Jarausch wrote:
>>> Hi,
>>> 
>>> modern fdisk puts the first partition at block 63  while older 
>>> version have put it at block 1.
>>> 
>>> Now, I'm going to upgrade an older system. Is it safe to 
>>> repartition it by letting the first partition start 63 and 
>>> shortening the first partition by 62 blocks?
>>> 
>>> (I will loose the first partition which doesn't matter in my 
>>> case.)
>>> 
>>> Many thanks for sharing your experience, Helmut.
>>> 
>> 
>> Do you want to resize the partition or do you want to delete and 
>> recreate it?
>> 
>> The second option is no problem, the first could lead to some
>> data loss (if you are unlucky).
> 
> I'd like to delete and recreate ONLY the first partition (which is
> small). The question is, can I keep the other partitions.
> 
> As far as I remember, I once deleted the extended partition and
> tried to recreate logical partitions "at the same place". But that
> didn't work.
> 
> Helmut.
> 
> 

If the first partition is a primary partition it's no issue. If it is
inside a extended partion it gets tricky, because the extended
partition acts like a kind of container.

- From your description I guess it's a boot partition, which normally is
a primary one. In that case just delete it and recreate it afterwards.

Note: you may need to reinstall you bootloader afterwards (due to the
changed partition data) and don't forget to toggle the bootable flag
for that partition.

If it's an extended partition I fear that my experience doesn't
suffice to give you qualifield hints as I try to avoid them.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJP8qSkAAoJEJwwOFaNFkYcKSIH/i1USa0uUOGqfwaYZeJf9fhA
tSshu2Hu74KZZedkoVgu/zWIYpbPdu1al60elUR20TGXVtE7FXukpakjYLCb/50i
Izj9RAhkbk719TbeJ78Vmu7hVn+zXGMBsoRM6WsrLlm0rw1WhrRElunbkJ6qeURS
Bw2ZecSsnrxa3V89fizFHbQkWb15iN0O5afIbgLGgiwtzxhRCNRSNWJrNKpHiu2n
tnGO7A+0wWDbV7d2ua8mCwKYBa+Rxs9HerENaOY4jQaA8nxJoBW/Pplb7OZA5KZ0
q/Cv8MFhuMjci4EQ1RNNNucmTqzGZ4uLmhWrXNdzG0TKZ2IkvBKXDeptb+bs810=
=SBZ0
-----END PGP SIGNATURE-----



  reply	other threads:[~2012-07-03  7:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-03  7:09 [gentoo-user] Is it safe to change the start of the first partition? Helmut Jarausch
2012-07-03  7:25 ` Hinnerk van Bruinehsen
2012-07-03  7:42   ` Helmut Jarausch
2012-07-03  7:52     ` Hinnerk van Bruinehsen [this message]
2012-07-03  9:24 ` Alex Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FF2A4A4.6070301@fu-berlin.de \
    --to=h.v.bruinehsen@fu-berlin.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox