From unknown Sat Aug 09 13:01:47 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#57802 <57802@debbugs.gnu.org> To: bug#57802 <57802@debbugs.gnu.org> Subject: Status: MBR problem Reply-To: bug#57802 <57802@debbugs.gnu.org> Date: Sat, 09 Aug 2025 20:01:47 +0000 retitle 57802 MBR problem reassign 57802 parted submitter 57802 Thomas severity 57802 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 14 09:46:07 2022 Received: (at submit) by debbugs.gnu.org; 14 Sep 2022 13:46:08 +0000 Received: from localhost ([127.0.0.1]:54182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYSiK-0006KB-6e for submit@debbugs.gnu.org; Wed, 14 Sep 2022 09:46:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:50476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYQcZ-0006pV-JF for submit@debbugs.gnu.org; Wed, 14 Sep 2022 07:32:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYQcW-0002ZL-5l for bug-parted@gnu.org; Wed, 14 Sep 2022 07:31:59 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:44718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYQcU-000567-Hn for bug-parted@gnu.org; Wed, 14 Sep 2022 07:31:55 -0400 Received: by mail-pf1-x435.google.com with SMTP id j12so14595984pfi.11 for ; Wed, 14 Sep 2022 04:31:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=/NXHrzIjXix77fOSsabacPoYRvI8G4MRZVi9CvW29xc=; b=MFLNW07ecwHSuPqjhI0AbmE8JE1AT+8i46MWZuha8aA7VfOuDygwcVJNe6UJNTkB5C Lu4CgEhESqclvjeQnaVOqke7Bk269Hlr4U6pblKGFdVeT58U+nGONo68GrusytRXbnOj g+YMgk9jA/dxOpa0zWAh1WB6ViLTfV/Vfs67TYNMjofTFHPfdpBZoPBXFJChHUYI6Ti/ 0p3s129KTSq/6SjAuu38Qze2srPvwMeneaY8y2TJXz0gPlQf0k0bSYVngjf1ztYuvz3z u0nkTWSrN5O8azJCZ0GADo1jI1ljBAOaBcj7ItCOMLTrxqomeuaHEPUfNsGdRJ4s92Uu ZsqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=/NXHrzIjXix77fOSsabacPoYRvI8G4MRZVi9CvW29xc=; b=mbKKxUz0iPH+eEX/p9/lMMM5umYjbu7oQuRSFGFrF0VOj9/eVo7uU7//UOKrmd2hW9 jfW0viq+xHKBngtld9S+bmseST2v0DHHkZ/JxQmtyOGZupbmqdg3Eeqm5llxg97mjLp/ ORRvT4TNzMWKQwe/zLqKYnsG++Y+corUebgehHW775ht3VsIq2yh2LQe9X3L5b1g4qIw RWEi3LTNGo+VRr310/9BBawAXjA3FEo08n/OLH6mnQROKLBTQwkJzGDSvgRR+vEGu2bP Le1vYsRqjaoN01llWE8wrdvYuKZq7rmumVr0GJRImlesEzJShtRJCnqv6aN/jh48/223 AP1g== X-Gm-Message-State: ACgBeo26Oleih36ygoGfEM/bm/9yhCyj1ILLHDtoadGIfWgA86uIeRoG AzjFPVx0Y8ZaJJNI7PAYnaXsUOSiq5TufTPEAK9ZE7Iec9s= X-Google-Smtp-Source: AA6agR4yZkS2Ajusacjn3KG73Gd0f1f5g6/uKWu99JNbjFZ5bWTylupYJY8hP+mw5Zt5ISoIB5udSF9eIhnBh1bjEBM= X-Received: by 2002:a05:6a00:1706:b0:547:3e11:9160 with SMTP id h6-20020a056a00170600b005473e119160mr3943497pfc.79.1663155112024; Wed, 14 Sep 2022 04:31:52 -0700 (PDT) MIME-Version: 1.0 From: Thomas Date: Wed, 14 Sep 2022 13:31:41 +0200 Message-ID: Subject: MBR problem To: bug-parted@gnu.org Content-Type: multipart/alternative; boundary="000000000000a89f4e05e8a179ec" Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=thomas.dejean@gmail.com; helo=mail-pf1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 14 Sep 2022 09:46:02 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --000000000000a89f4e05e8a179ec Content-Type: text/plain; charset="UTF-8" Hello, I discovered that Gparted writes to the MBR (0 to 446 sectors) when it is empty. Yesterday i used a live cd of ubuntu to delete a partition of my disk with Gparted. And my pc didn't boot after that. My os is a Fedora server installed in UEFI. Note that Grub is not installed in the MBR or in the partition. I don't know how but it boots fine like that. So i had to delete the code Gparted writed in the MBR (0 to 446 sectors) to boot again ("sudo dd if=/dev/zero of=/dev/sda bs=446 count=1"). I think Gparted should not touch the MBR (0 to 446 sectors) when it is not ask by the user. Thanks Thomas --000000000000a89f4e05e8a179ec Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hello,

I discovered that Gparted writes to the MBR (0 to 446 sectors) when it i= s empty.

Yesterday i used a live cd of ubuntu to delete a partition o= f my disk with Gparted. And my pc didn't boot after that.

My os is a Fedora server instal= led in UEFI. Note that Grub is not installed in the MBR or in the partition= . I don't know how but it boots fine like that.


So= i had to delete the code Gparted writed in the MBR (0 to 446 sectors) to b= oot again ("sudo dd if=3D/dev/zero of=3D/dev/sda bs=3D446 count=3D1&qu= ot;).

I think Gparted should not touch the MBR (0 to 446 sectors)= when it is not ask by the user.


Thanks

Thomas

--000000000000a89f4e05e8a179ec-- From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 14 12:37:13 2022 Received: (at 57802) by debbugs.gnu.org; 14 Sep 2022 16:37:13 +0000 Received: from localhost ([127.0.0.1]:55891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYVNx-0005Ka-99 for submit@debbugs.gnu.org; Wed, 14 Sep 2022 12:37:13 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:59385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYVNu-0005KI-0w for 57802@debbugs.gnu.org; Wed, 14 Sep 2022 12:37:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1663173429; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=i8GG2f52ieMt2FmsESuvolv/+tR6Tu9Hejxis7HwlWA=; b=Nwwcjda2S9Sr3GdSduJqQAZz/W8wb9LfycUJVIkklH1HKR0ozet968GGpLrRdATd+XlB0j R+/QAdb4/xiYeN4KthS6TZUvved9UiwpPb+6NWNgJCMS7relgv9EMhE4aqVuc9xvXjal92 /mWKZ6a6wHNEcW0NMY6hTY/VwLFbrw4= Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-326-zSmx2n5oMKOu-Bi5ISEytg-1; Wed, 14 Sep 2022 12:37:08 -0400 X-MC-Unique: zSmx2n5oMKOu-Bi5ISEytg-1 Received: by mail-pj1-f72.google.com with SMTP id t18-20020a17090ad51200b00200aaa66422so7485838pju.0 for <57802@debbugs.gnu.org>; Wed, 14 Sep 2022 09:37:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=i8GG2f52ieMt2FmsESuvolv/+tR6Tu9Hejxis7HwlWA=; b=dMntUEtKKZ4C8hpFQjtrwCTvgFeyybQovxR0277m6E2GVAM7Jxgw+RwN9DmIhQiib6 xbGSQ1IcRUtZ9rEaSClGi3VeZ/QNgUACPo0fw6U862zve+0OZXUwfHAbrPBnolWavx8q B4BFOds/Oe4K5xWzePy4O0jCsm2LIr0WWnBZFwu2Vc7M8BiQnlTxRA21EPV1CJKeggW9 6+19mHKau0HYRCYaLP4GA7riyIUUbooIDYgfiBPrvs5tCszZbgiP7V/j6LQRM1VhJrN0 n/8/SWgEC3PQN2UGlEh6HFMyp2oZ5ZdC2aDSCLUE3Yvh+HTxX5xFlct53l4fICaId6Z+ MsjQ== X-Gm-Message-State: ACgBeo3I4+pDysZHQ1bYOhoDHoXczmgp/me8zKrDPDSNwfY8+P+7/wTq fpPsi99NR/Ws6aZkQZIwqxt4AAEYsmKQgv7EcNpAdZGkjKEJ6KVGfZo88/aafElsHut9shfo6Ox M+KUBkLwhguDSyVo= X-Received: by 2002:a63:1050:0:b0:439:61d0:7374 with SMTP id 16-20020a631050000000b0043961d07374mr5153409pgq.7.1663173427440; Wed, 14 Sep 2022 09:37:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR43mvcxiwq7nUOKKHoNhqD1H7hjtnrcaMZL65mTn93HlUzk/dqkd4Je2F6zeJTdKf2MIYrY4Q== X-Received: by 2002:a63:1050:0:b0:439:61d0:7374 with SMTP id 16-20020a631050000000b0043961d07374mr5153386pgq.7.1663173427066; Wed, 14 Sep 2022 09:37:07 -0700 (PDT) Received: from ohop.brianlane.com ([2601:603:5000:15f8:52e5:49ff:fe52:c5be]) by smtp.gmail.com with ESMTPSA id om14-20020a17090b3a8e00b00200b12f2bf5sm8402849pjb.1.2022.09.14.09.37.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 09:37:05 -0700 (PDT) Date: Wed, 14 Sep 2022 09:37:02 -0700 From: "Brian C. Lane" To: 57802-close@debbugs.gnu.org Subject: Re: bug#57802: MBR problem Message-ID: References: MIME-Version: 1.0 In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 57802 Cc: 57802@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Wed, Sep 14, 2022 at 01:31:41PM +0200, Thomas wrote: > Hello, > > I discovered that Gparted writes to the MBR (0 to 446 sectors) when it is > empty. > > Yesterday i used a live cd of ubuntu to delete a partition of my disk with > Gparted. And my pc didn't boot after that. > > My os is a Fedora server installed in UEFI. Note that Grub is not installed > in the MBR or in the partition. I don't know how but it boots fine like > that. > > > So i had to delete the code Gparted writed in the MBR (0 to 446 sectors) to > boot again ("sudo dd if=/dev/zero of=/dev/sda bs=446 count=1"). > > I think Gparted should not touch the MBR (0 to 446 sectors) when it is not > ask by the user. parted is not gparted (see https://gparted.org/), and parted only writes the bootloader code when using a msdos disklabel. While it is possible to use a msdos disklabel with UEFI, it should be using GPT. I'm also not sure why a UEFI system wouldn't boot with the MBR written. It should just ignore it and use the ESP partition. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart From unknown Sat Aug 09 13:01:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 13 Oct 2022 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator