From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 15 16:32:37 2015 Received: (at submit) by debbugs.gnu.org; 15 Jul 2015 20:32:37 +0000 Received: from localhost ([127.0.0.1]:50416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFTM4-0006JU-Ey for submit@debbugs.gnu.org; Wed, 15 Jul 2015 16:32:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51690) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFSRg-0004sh-6L for submit@debbugs.gnu.org; Wed, 15 Jul 2015 15:34:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFSRZ-0003gj-IN for submit@debbugs.gnu.org; Wed, 15 Jul 2015 15:34:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFSRZ-0003gZ-FW for submit@debbugs.gnu.org; Wed, 15 Jul 2015 15:34:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFSRV-0000xY-1R for bug-parted@gnu.org; Wed, 15 Jul 2015 15:34:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFSRS-0003bJ-Gi for bug-parted@gnu.org; Wed, 15 Jul 2015 15:34:08 -0400 Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]:33169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFSRS-0003aT-8S for bug-parted@gnu.org; Wed, 15 Jul 2015 15:34:06 -0400 Received: by laem6 with SMTP id m6so30865525lae.0 for ; Wed, 15 Jul 2015 12:34:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=qe6WmSfiTx7K3Re6iHKGevwOB80oKDhfCySZDYImkdM=; b=RwfCDMGtAhUIr6Xq0q/t3m4bejs9GGCSPMyhbJeq8oyyQNMRYXXLEiQHUYty75PH9o SPjXd6E1sWWdy6qCo5blFlaFbnAKlK36KgYKhl3LAoSbDJr9gzc0pbqkcbkSuHOPLt4a ZjV5Mxvl/KzadvB97n3z4Bzp+TwLpefqQmheSa7Rw5ldo2gXAvhAbqinvj0tMyJdo+vI E3hC9flJvPrbMzRU/D11CdLHXbJ/Ylm4eKi8lPm6yMFhVj1qGtoNHyUH5pKcliwSQWHw iRKjX6KYirgn04qFgoFnBRwOBkEEadUkxA5ja6wBygyxkf9/m8btbJxe3KvKV69yTYom 3eqw== MIME-Version: 1.0 X-Received: by 10.112.205.1 with SMTP id lc1mr5750372lbc.94.1436988844456; Wed, 15 Jul 2015 12:34:04 -0700 (PDT) Received: by 10.152.45.5 with HTTP; Wed, 15 Jul 2015 12:34:04 -0700 (PDT) Date: Wed, 15 Jul 2015 19:34:04 +0000 X-Google-Sender-Auth: a9b_hCW23njWsdhZ65UhYHtsDWU Message-ID: Subject: GPT backup corruption causes parted and linux installer to crash From: CeDeROM To: bug-parted@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 15 Jul 2015 16:32:35 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.0 (----) Hello, I have bought 2x2TB disks and set it up for RAID0. I have installed Win7 first with UEFI that created GPT partitions. I want to install FreeBSD and Linux on it.. Using Lubuntu AMD64 14.04.02 ISO and UEFI boot I have problem with installation. Installer crashes, so I have tried gparted it crashes as well, and so parted, below are details. Please advise :-) Tomek root@lubuntu:~# parted GNU Parted 2.3 Using /dev/sda Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) print Error: Invalid argument during seek for read on /dev/sda Retry/Ignore/Cancel? r Error: Invalid argument during seek for read on /dev/sda Retry/Ignore/Cancel? r Error: Invalid argument during seek for read on /dev/sda Retry/Ignore/Cancel? i Error: The backup GPT table is corrupt, but the primary appears OK, so that will be used. OK/Cancel? y parted: invalid token: y OK/Cancel? o Backtrace has 8 calls on stack: 8: /lib/x86_64-linux-gnu/libparted.so.0(ped_assert+0x31) [0x7fbc7ebf04b1] 7: /lib/x86_64-linux-gnu/libparted.so.0(+0x3f5f6) [0x7fbc7ec205f6] 6: /lib/x86_64-linux-gnu/libparted.so.0(ped_disk_new+0x49) [0x7fbc7ebf5f99] 5: parted() [0x406dff] 4: parted(interactive_mode+0x101) [0x40db71] 3: parted(main+0x153d) [0x4065bd] 2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fbc7e3cdec5] 1: parted() [0x406617] You found a bug in GNU Parted! Here's what you have to do: Don't panic! The bug has most likely not affected any of your data. Help us to fix this bug by doing the following: Check whether the bug has already been fixed by checking the last version of GNU Parted that you can find at: http://ftp.gnu.org/gnu/parted/ Please check this version prior to bug reporting. If this has not been fixed yet or if you don't know how to check, please visit the GNU Parted website: http://www.gnu.org/software/parted for further information. Your report should contain the version of this release (2.3) along with the error message below, the output of parted DEVICE unit co print unit s print and the following history of commands you entered. Also include any additional information about your setup you consider important. Assertion (last_usable <= disk->dev->length) at ../../../libparted/labels/gpt.c:994 in function _parse_header() failed. Aborted (core dumped) root@lubuntu:~# uname -a Linux lubuntu 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux root@lubuntu:~# parted --version parted (GNU parted) 2.3 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by . -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 15 16:58:21 2015 Received: (at submit) by debbugs.gnu.org; 15 Jul 2015 20:58:21 +0000 Received: from localhost ([127.0.0.1]:50422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFTkx-0006uw-RV for submit@debbugs.gnu.org; Wed, 15 Jul 2015 16:58:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53877) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFSX5-00051F-HN for submit@debbugs.gnu.org; Wed, 15 Jul 2015 15:39:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFSWy-0006MX-NZ for submit@debbugs.gnu.org; Wed, 15 Jul 2015 15:39:50 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFSWy-0006MS-Kg for submit@debbugs.gnu.org; Wed, 15 Jul 2015 15:39:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFSWx-0001vJ-GY for bug-parted@gnu.org; Wed, 15 Jul 2015 15:39:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFSWw-0006M5-BG for bug-parted@gnu.org; Wed, 15 Jul 2015 15:39:47 -0400 Received: from mail-la0-x233.google.com ([2a00:1450:4010:c03::233]:36552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFSWw-0006M1-3U for bug-parted@gnu.org; Wed, 15 Jul 2015 15:39:46 -0400 Received: by lagw2 with SMTP id w2so30928987lag.3 for ; Wed, 15 Jul 2015 12:39:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=I/C3OUxryJo3B6zUNengEGctzrLRFP0CRSSQnNurzYI=; b=qxJUHNaKresSyI2xiGWJWZHnRmtcBl3lVTk1Ti69ulVjSYmytS5GIgOthzsPvqBfxt RIqBcZ7FD1rGHP5ZT1eS0ZxZlS2JV2txOI9u6k1V8JThTMPWunLQIYzMghpCKdLHI+O3 Aet6Q9875jyGHWcgMGTZwI7sg2+DouGd1MqY2J3wHhWxOPBMkHP9FN7jN3lMa0slJNd5 nzfqOJv2KVFy0sFehh+/Q0T6TFm4aeRoD0kRZ9FH3mN4VaSjb8EPHrXoB2ro8IWRqfHt MuDZS7ud1CMZRV2C8W8fsOQNSBRCV9Q4Zt4xNYjsnJPI0CJ/dTkrhu/lfJFrfbYt9jgU qQ4Q== MIME-Version: 1.0 X-Received: by 10.112.85.3 with SMTP id d3mr5801116lbz.33.1436989185233; Wed, 15 Jul 2015 12:39:45 -0700 (PDT) Received: by 10.152.45.5 with HTTP; Wed, 15 Jul 2015 12:39:45 -0700 (PDT) In-Reply-To: References: Date: Wed, 15 Jul 2015 19:39:45 +0000 X-Google-Sender-Auth: Z5LMdyqGkjcXI_-IrA1vGAXDupo Message-ID: Subject: Re: GPT backup corruption causes parted and linux installer to crash From: CeDeROM To: bug-parted@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 15 Jul 2015 16:58:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.0 (----) I have found a solution for that - use GDISK and rewrite GPT partition table. Still, it would be nice parted to do the job :-) root@lubuntu:~# gdisk The program 'gdisk' can be found in the following packages: * gdisk * gdisk-noicu Try: apt-get install root@lubuntu:~# apt-get install gdisk Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: gdisk 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 186 kB of archives. After this operation, 761 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main gdisk amd64 0.8.8-1build1 [186 kB] Fetched 186 kB in 1s (154 kB/s) Selecting previously unselected package gdisk. (Reading database ... 113515 files and directories currently installed.) Preparing to unpack .../gdisk_0.8.8-1build1_amd64.deb ... Unpacking gdisk (0.8.8-1build1) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Setting up gdisk (0.8.8-1build1) ... root@lubuntu:~# gdisk GPT fdisk (gdisk) version 0.8.8 Type device filename, or press to exit: /dev/sda Warning! Disk size is smaller than the main header indicates! Loading secondary header from the last sector of the disk! You should use 'v' to verify disk integrity, and perhaps options on the experts' menu to repair the disk. Caution: invalid backup GPT header, but valid main header; regenerating backup header from main header. Warning! One or more CRCs don't match. You should repair the disk! Partition table scan: MBR: protective BSD: not present APM: not present GPT: damaged **************************************************************************** Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk verification and recovery are STRONGLY recommended. **************************************************************************** Command (? for help): p Disk /dev/sda: 3907029168 sectors, 1.8 TiB Logical sector size: 512 bytes Disk identifier (GUID): BFD8B9FE-8BF3-4AF3-B04C-326FC7FB5569 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 7812499934 Partitions will be aligned on 2048-sector boundaries Total free space is 6890901949 sectors (3.2 TiB) Number Start (sector) End (sector) Size Code Name 1 2048 206847 100.0 MiB EF00 EFI system partition 2 206848 468991 128.0 MiB 0C01 Microsoft reserved part 3 468992 307199999 146.3 GiB 0700 Basic data partition 4 307200000 614399999 146.5 GiB A500 FreeBSD 5 614400000 921599999 146.5 GiB 0700 Basic data partition Command (? for help): w Caution! Secondary header was placed beyond the disk's limits! Moving the header, but other problems may occur! Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!! Do you want to proceed? (Y/N): y OK; writing new GUID partition table (GPT) to /dev/sda. The operation has completed successfully. root@lubuntu:~# parted GNU Parted 2.3 Using /dev/sda Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) print Model: ATA WDC WD20EFRX-68E (scsi) Disk /dev/sda: 2000GB Sector size (logical/physical): 512B/4096B Partition Table: gpt Number Start End Size File system Name Flags 1 1049kB 106MB 105MB EFI system partition boot 2 106MB 240MB 134MB Microsoft reserved partition msftres 3 240MB 157GB 157GB Basic data partition msftdata 4 157GB 315GB 157GB FreeBSD 5 315GB 472GB 157GB Basic data partition msftdata (parted) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 15 16:58:22 2015 Received: (at submit) by debbugs.gnu.org; 15 Jul 2015 20:58:22 +0000 Received: from localhost ([127.0.0.1]:50424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFTkz-0006uz-5U for submit@debbugs.gnu.org; Wed, 15 Jul 2015 16:58:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60751) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFSnV-0005Qp-RL for submit@debbugs.gnu.org; Wed, 15 Jul 2015 15:56:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFSnP-0005fY-L6 for submit@debbugs.gnu.org; Wed, 15 Jul 2015 15:56:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFSnP-0005fU-J3 for submit@debbugs.gnu.org; Wed, 15 Jul 2015 15:56:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFSnO-0003WZ-Kc for bug-parted@gnu.org; Wed, 15 Jul 2015 15:56:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFSnM-0005e8-DV for bug-parted@gnu.org; Wed, 15 Jul 2015 15:56:46 -0400 Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]:35630) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFSnM-0005dx-5a for bug-parted@gnu.org; Wed, 15 Jul 2015 15:56:44 -0400 Received: by lahh5 with SMTP id h5so31185965lah.2 for ; Wed, 15 Jul 2015 12:56:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=JCeKNEcenrvUXckLWnMq8ZLTy/QzBSJQKTv8CxDgHRo=; b=ikZC8hCWtv6tGFkWUuxlZcaZ9Yq+BgwoJvoTxV+qV+fvux8bFPrNsN7SBNMGzsIMg6 lw93gNtTG/Yd8fuGoO/jfFkbe7zkNASuI7vEeu7VGG6xlFJzlxLtxp4CPwT7CyvPY8Mq 3C7cxgNZerNzRUvjFy8kgm44co+K/vFlOcTx+Ydhgs9K0YWouhtY/5nOPj/VYhX/H/eh mWGIZ2qmEgHvzG8W6DZdaUJlXyV+Cs7HeF3E0+6yirUg5iQIijlrDSNGMjeAHEqIoABR WN706+cAZjFlHZ/hqH/2DCPsvgb1GPse+ZTWa1fX0Xd7IxyyIGK2soC0+/t4uFzSGo2K U2Yg== MIME-Version: 1.0 X-Received: by 10.112.46.130 with SMTP id v2mr5741130lbm.119.1436990203031; Wed, 15 Jul 2015 12:56:43 -0700 (PDT) Received: by 10.152.45.5 with HTTP; Wed, 15 Jul 2015 12:56:42 -0700 (PDT) In-Reply-To: References: Date: Wed, 15 Jul 2015 21:56:42 +0200 X-Google-Sender-Auth: PyBAIIKyFDXF_HvzzojgnhMnRnE Message-ID: Subject: Re: GPT backup corruption causes parted and linux installer to crash From: CeDeROM To: bug-parted@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 15 Jul 2015 16:58:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.0 (----) Well, fixing GPT backup does not fix the problem of paritioning under LUbuntu 14.04 LTS. This is blocker and I cannot install. I will try fresh release installer.. -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 16 10:48:28 2015 Received: (at 21070) by debbugs.gnu.org; 16 Jul 2015 14:48:28 +0000 Received: from localhost ([127.0.0.1]:51256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFkSZ-0004Uj-TD for submit@debbugs.gnu.org; Thu, 16 Jul 2015 10:48:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51035) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFkSX-0004UW-Mp for 21070@debbugs.gnu.org; Thu, 16 Jul 2015 10:48:26 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id A29A6344EB1; Thu, 16 Jul 2015 14:48:19 +0000 (UTC) Received: from lister.brianlane.com (ovpn-113-156.phx2.redhat.com [10.3.113.156]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6GEmH8D008360 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 16 Jul 2015 10:48:19 -0400 Date: Thu, 16 Jul 2015 07:48:17 -0700 From: "Brian C. Lane" To: CeDeROM Subject: Re: bug#21070: GPT backup corruption causes parted and linux installer to crash Message-ID: <20150716144817.GY3080@lister.brianlane.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 21070 Cc: 21070@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -6.3 (------) On Wed, Jul 15, 2015 at 07:34:04PM +0000, CeDeROM wrote: > > root@lubuntu:~# parted > GNU Parted 2.3 This version of parted is pretty old, the current release, v3.2, has much better support for handling corrupt GPT disks. -- Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT) From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 16 13:36:20 2015 Received: (at submit) by debbugs.gnu.org; 16 Jul 2015 17:36:20 +0000 Received: from localhost ([127.0.0.1]:51360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFn51-0001fp-CE for submit@debbugs.gnu.org; Thu, 16 Jul 2015 13:36:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46451) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFn4z-0001fT-Dn for submit@debbugs.gnu.org; Thu, 16 Jul 2015 13:36:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFn4s-0006gl-Uw for submit@debbugs.gnu.org; Thu, 16 Jul 2015 13:36:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFn4s-0006gg-SS for submit@debbugs.gnu.org; Thu, 16 Jul 2015 13:36:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59940) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFn4r-0004h6-Eg for bug-parted@gnu.org; Thu, 16 Jul 2015 13:36:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFn4o-0006eJ-79 for bug-parted@gnu.org; Thu, 16 Jul 2015 13:36:09 -0400 Received: from eastrmfepo102.cox.net ([68.230.241.214]:54104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFn4n-0006da-Qc for bug-parted@gnu.org; Thu, 16 Jul 2015 13:36:06 -0400 Received: from eastrmimpo109 ([68.230.241.222]) by eastrmfepo102.cox.net (InterMail vM.8.01.05.15 201-2260-151-145-20131218) with ESMTP id <20150716173603.PFMF6891.eastrmfepo102.cox.net@eastrmimpo109> for ; Thu, 16 Jul 2015 13:36:03 -0400 Received: from nessus.rodsbooks.com ([98.182.36.23]) by eastrmimpo109 with cox id t5c21q00S0Vxc5u015c2Xj; Thu, 16 Jul 2015 13:36:03 -0400 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020204.55A7EB83.0097,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.0 cv=FIzFMZUs c=1 sm=1 a=5/GQi7ztvdfnmBZvbhqgsw==:17 a=28bguoTQAAAA:8 a=hTJJpgObMeYA:10 a=zOBTXjUuO1YA:10 a=mDV3o1hIAAAA:8 a=fxJcL_dCAAAA:8 a=WGWNOd9kwBk0_LzFYjIA:9 a=pILNOxqGKmIA:10 a=5/GQi7ztvdfnmBZvbhqgsw==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from [192.168.1.2] (nessus.rodsbooks.com [192.168.1.2]) by nessus.rodsbooks.com (Postfix) with ESMTP id B38D82A04C4 for ; Thu, 16 Jul 2015 13:36:02 -0400 (EDT) Message-ID: <55A7EB82.5080207@rodsbooks.com> Date: Thu, 16 Jul 2015 13:36:02 -0400 From: Rod Smith User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: bug-parted@gnu.org Subject: Re: bug#21070: GPT backup corruption causes parted and linux installer to crash References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.0 (-----) On 07/16/2015 12:01 PM, bug-parted-request@gnu.org wrote: > I have bought 2x2TB disks and set it up for RAID0. I have installed > Win7 first with UEFI that created GPT partitions. ... > root@lubuntu:~# gdisk > GPT fdisk (gdisk) version 0.8.8 > > Type device filename, or press to exit: /dev/sda ... > Command (? for help): p > Disk /dev/sda: 3907029168 sectors, 1.8 TiB > Logical sector size: 512 bytes > Disk identifier (GUID): BFD8B9FE-8BF3-4AF3-B04C-326FC7FB5569 > Partition table holds up to 128 entries > First usable sector is 34, last usable sector is 7812499934 > Partitions will be aligned on 2048-sector boundaries > Total free space is 6890901949 sectors (3.2 TiB) I've quoted some information that highlights issues that point to the root cause of your problem: * You've got 2x2TB in a RAID setup, so you should be seeing a disk device on the order of 4TB (~3.6TiB) * gdisk says that the disk is 1.8TiB in size -- about the size of ONE of your two disks, NOT a RAID configuration. * The partition table indicates that the last usable sector on the disk is 7,812,499,934, which works out to about 3.6TiB -- so the original GPT was laid out with RAID active. Overall, it looks like you're not using RAID from Linux. If this is motherboard-based software RAID (aka "fake RAID"), you should NOT be directly accessing /dev/sda, /dev/sdb, etc.; you should be using devices in /dev/mapper, whose names vary depending on your chipset. Also, sometimes Linux and Windows get out of sync on these drivers, so that one OS activates the driver and the other doesn't. If you don't see devices in /dev/mapper, you'll need to look into activating RAID in Ubuntu. See the Ubuntu Community Wiki for advice on this topic: https://help.ubuntu.com/community/Installation/SoftwareRAID All that said, if a more up-to-date version of parted produces the errors you report, that still constitutes a bug. As Brian Lane said, though, your parted is a bit behind the times. This often happens when you use a distribution-provided package, particularly for a long-term support distribution like an Ubuntu LTS or a CentOS (vs. a non-LTS Ubuntu or Fedora). -- Rod Smith rodsmith@rodsbooks.com http://www.rodsbooks.com From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 16 13:54:07 2015 Received: (at 21070) by debbugs.gnu.org; 16 Jul 2015 17:54:07 +0000 Received: from localhost ([127.0.0.1]:51370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFnME-00028r-IY for submit@debbugs.gnu.org; Thu, 16 Jul 2015 13:54:07 -0400 Received: from mail-wg0-f47.google.com ([74.125.82.47]:36014) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFnMB-00028M-VY for 21070@debbugs.gnu.org; Thu, 16 Jul 2015 13:54:05 -0400 Received: by wgxm20 with SMTP id m20so64417501wgx.3 for <21070@debbugs.gnu.org>; Thu, 16 Jul 2015 10:53:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=OeVNxr9un3Hvaks3T5CcwfVaKqirfvbITdFE5Hc96js=; b=SA7Xy8G3UhJ7tzsTHZtpkmPoRThHYcVui9pzwcr0Xcw5uunXX8vv7Ka5+mKECcL+o5 XUnkaQZbXSZXRVGW0RVbPn0BnEqrd7TgfDbj1kR2KpHaqWgfSa62JYGdINxXRJnBfqfL VUTEAFzUSt/jk+1w0mtNe/efBUGppkiHFHCaGpg9x6EhMU1gMexW3pcJ0nnL29m1Z6iE DLpUXBmJdXnkYqxc0JSl+RQCxsHlVZUjuI9gfEFZCw4VoTeTbXevu/V0zEvmwYHPzjbI hvRDmDsZMqSFZV4G2oGZkM61kP7bc+a5lkrMwvLWlDWd14CNVODdrkpRSkEKWgw22tZr pH9w== X-Gm-Message-State: ALoCoQmJ8kcdc3JEDncN3yXyPhvePCv3VBKtEbeP8yZM0xH5lCnEtnTzbsl556B8M3resAyenHMt MIME-Version: 1.0 X-Received: by 10.194.205.225 with SMTP id lj1mr20845758wjc.138.1437069238038; Thu, 16 Jul 2015 10:53:58 -0700 (PDT) Received: by 10.27.127.196 with HTTP; Thu, 16 Jul 2015 10:53:57 -0700 (PDT) In-Reply-To: <55A7EB82.5080207@rodsbooks.com> References: <55A7EB82.5080207@rodsbooks.com> Date: Thu, 16 Jul 2015 10:53:57 -0700 Message-ID: Subject: Re: bug#21070: GPT backup corruption causes parted and linux installer to crash From: Dan Williams To: Rod Smith Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21070 Cc: 21070@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -0.7 (/) On Thu, Jul 16, 2015 at 10:36 AM, Rod Smith wrote: > On 07/16/2015 12:01 PM, bug-parted-request@gnu.org wrote: > >> I have bought 2x2TB disks and set it up for RAID0. I have installed >> Win7 first with UEFI that created GPT partitions. > ... >> root@lubuntu:~# gdisk >> GPT fdisk (gdisk) version 0.8.8 >> >> Type device filename, or press to exit: /dev/sda > ... >> Command (? for help): p >> Disk /dev/sda: 3907029168 sectors, 1.8 TiB >> Logical sector size: 512 bytes >> Disk identifier (GUID): BFD8B9FE-8BF3-4AF3-B04C-326FC7FB5569 >> Partition table holds up to 128 entries >> First usable sector is 34, last usable sector is 7812499934 >> Partitions will be aligned on 2048-sector boundaries >> Total free space is 6890901949 sectors (3.2 TiB) > > I've quoted some information that highlights issues that point to the > root cause of your problem: > > * You've got 2x2TB in a RAID setup, so you should be seeing a > disk device on the order of 4TB (~3.6TiB) > * gdisk says that the disk is 1.8TiB in size -- about the size > of ONE of your two disks, NOT a RAID configuration. > * The partition table indicates that the last usable sector on > the disk is 7,812,499,934, which works out to about 3.6TiB -- > so the original GPT was laid out with RAID active. > > Overall, it looks like you're not using RAID from Linux. If this is > motherboard-based software RAID (aka "fake RAID"), you should NOT be > directly accessing /dev/sda, /dev/sdb, etc.; you should be using devices > in /dev/mapper, whose names vary depending on your chipset. Also, > sometimes Linux and Windows get out of sync on these drivers, so that > one OS activates the driver and the other doesn't. If you don't see > devices in /dev/mapper, you'll need to look into activating RAID in > Ubuntu. See the Ubuntu Community Wiki for advice on this topic: > > https://help.ubuntu.com/community/Installation/SoftwareRAID > > All that said, if a more up-to-date version of parted produces the > errors you report, that still constitutes a bug. As Brian Lane said, > though, your parted is a bit behind the times. This often happens when > you use a distribution-provided package, particularly for a long-term > support distribution like an Ubuntu LTS or a CentOS (vs. a non-LTS > Ubuntu or Fedora). Note that the most up to date Firmware-RAID ("fake-RAID" is a misnomer) support is provided by mdadm for Intel platforms, not dmraid. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 18 14:26:28 2015 Received: (at 21070-done) by debbugs.gnu.org; 18 Sep 2015 18:26:28 +0000 Received: from localhost ([127.0.0.1]:37211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zd0Me-0002jc-1l for submit@debbugs.gnu.org; Fri, 18 Sep 2015 14:26:28 -0400 Received: from mail-yk0-f172.google.com ([209.85.160.172]:34329) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zd0Mc-0002jS-3F for 21070-done@debbugs.gnu.org; Fri, 18 Sep 2015 14:26:26 -0400 Received: by ykdg206 with SMTP id g206so54295659ykd.1 for <21070-done@debbugs.gnu.org>; Fri, 18 Sep 2015 11:26:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=ZRLc7MJsCZtPLZTMYDtf8F+GenlV1ZzuKiDdZjcOZqI=; b=xVM3ehkENqthrdASStChXyno/lCTwSoMywz6jbBx8rI5EW9ertuji/H8PnJH1EC75/ qCex7F6aluwJRIyhSTkfi2pO4bgVrhOGEHGlrDn+prVPZkYpx0wQhoj0XkfrZGgeiaSX H8aQ6Z8KcNSCWqWHW9anZWb0M0JsThjWlw117gJkn5I9ysSSSilWL7R0EgIhKVpdi3xs l2Yzm68RKiUfP4XM6UbAQT/XmbtZoroIiRdPnQDgH5vxP+c+NOA9xAkpm28D3vxUKPHa jd6fsW6KODFVT+tn1GKkS41ybJoK6Tp805tl8iJJCFaFUEhdE8Stq0NysqA3lZe1A5wP EVFw== X-Received: by 10.129.74.138 with SMTP id x132mr5825187ywa.112.1442600785458; Fri, 18 Sep 2015 11:26:25 -0700 (PDT) Received: from [10.1.1.230] (fl-67-77-88-12.sta.embarqhsd.net. [67.77.88.12]) by smtp.googlemail.com with ESMTPSA id c137sm6332621ywa.43.2015.09.18.11.26.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Sep 2015 11:26:24 -0700 (PDT) Subject: Re: bug#21070: GPT backup corruption causes parted and linux installer to crash To: CeDeROM , 21070-done@debbugs.gnu.org References: From: Phil Susi Message-ID: <55FC5743.4080202@ubuntu.com> Date: Fri, 18 Sep 2015 14:26:11 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21070-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -0.7 (/) On 7/15/2015 3:34 PM, CeDeROM wrote: > Hello, > > I have bought 2x2TB disks and set it up for RAID0. I have installed > Win7 first with UEFI that created GPT partitions. I want to install > FreeBSD and Linux on it.. > > Using Lubuntu AMD64 14.04.02 ISO and UEFI boot I have problem with > installation. Installer crashes, so I have tried gparted it crashes as > well, and so parted, below are details. > > Please advise :-) > Tomek > > root@lubuntu:~# parted > GNU Parted 2.3 > Using /dev/sda You must not access an individual disk when it is part of a fake raid array; you must instead partition the array as a whole ( e.g. /dev/mapper/somethingorther ). It appears to be a disk that claims to be larger than it actually is. That old version of parted refuses to handle it, so you could also use a more recent release ( Ubuntu 15.04 should do ). From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 18 14:29:45 2015 Received: (at 21070-done) by debbugs.gnu.org; 18 Sep 2015 18:29:45 +0000 Received: from localhost ([127.0.0.1]:37222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zd0Po-0002pO-Mp for submit@debbugs.gnu.org; Fri, 18 Sep 2015 14:29:44 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:36537) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zd0Pm-0002pG-Qv for 21070-done@debbugs.gnu.org; Fri, 18 Sep 2015 14:29:43 -0400 Received: by wicgb1 with SMTP id gb1so43329504wic.1 for <21070-done@debbugs.gnu.org>; Fri, 18 Sep 2015 11:29:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ul/q6yk1LchhQDiaYp6GLGe8o0gKpJIGVbSYKNvx1Dc=; b=ztKG9yQrGquTY+MxJf9re+U77003UL/GD0jLBAb4gP7cg8Ct+Vg2XqSBLt4MehxDkN 2Z8xwHORraAfkyXpCA7aDLLQ7WvZENCjPFMmQMguih5fRbvNCPgPxmm/FGXe0kFFFCsb A9JuSySTrHOZN68B/f1yvEehY8CNJvFOaawN2ZMsqsPexs62hy6EMJP5+G617yFJwPn0 UgVzN63SddT+GsuXquMCMQ5fZOzdnJiWqMch/apbzjJh7hAtl3kYcWvpJUy+77D4ivZ1 gEASElYU0uW+7keisnVrK4E+wz2xuFfxOtXngeXFLdmgYJU1G21+19dzbs4HnXgsMQLH Jtng== MIME-Version: 1.0 X-Received: by 10.180.104.68 with SMTP id gc4mr41451086wib.67.1442600982251; Fri, 18 Sep 2015 11:29:42 -0700 (PDT) Received: by 10.28.50.132 with HTTP; Fri, 18 Sep 2015 11:29:42 -0700 (PDT) Received: by 10.28.50.132 with HTTP; Fri, 18 Sep 2015 11:29:42 -0700 (PDT) In-Reply-To: <55FC5743.4080202@ubuntu.com> References: <55FC5743.4080202@ubuntu.com> Date: Fri, 18 Sep 2015 20:29:42 +0200 X-Google-Sender-Auth: IETPhG9p-zmv6Bbw7_zSFX1kqvE Message-ID: Subject: Re: bug#21070: GPT backup corruption causes parted and linux installer to crash From: CeDeROM To: Phil Susi Content-Type: multipart/alternative; boundary=f46d04427204198f84052009b7de X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21070-done Cc: 21070-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -0.7 (/) --f46d04427204198f84052009b7de Content-Type: text/plain; charset=UTF-8 Yes 15.04 did it. Older cannot. Best regards :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info --f46d04427204198f84052009b7de Content-Type: text/html; charset=UTF-8

Yes 15.04 did it. Older cannot. Best regards :-)

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

--f46d04427204198f84052009b7de-- From unknown Tue Jun 17 22:20:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 17 Oct 2015 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