From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.44.254]) by listman.redhat.com (Postfix) with ESMTP id C998E3EA15 for ; Mon, 19 Nov 2001 14:56:55 -0500 (EST) Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id fAJJutp20173 for ; Mon, 19 Nov 2001 14:56:55 -0500 Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id fAJJutr01921 for axp-list@listman.redhat.com; Mon, 19 Nov 2001 14:56:55 -0500 Received: from ellpspace.math.ualberta.ca (ellpspace.math.ualberta.ca [129.128.207.67]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id fAJJutw01917 for ; Mon, 19 Nov 2001 14:56:55 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.11.6/8.11.6) id fAJJums11945 for axp-list@redhat.com; Mon, 19 Nov 2001 12:56:48 -0700 Date: Mon, 19 Nov 2001 12:56:48 -0700 From: Michal Jaegermann To: axp-list@redhat.com Subject: Re: fdisk segfault on XP1000 (RH 7.1) Message-ID: <20011119125648.A11882@ellpspace.math.ualberta.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from John.Jemiolo@compaq.com on Mon, Nov 19, 2001 at 01:43:01PM -0500 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Mon, Nov 19, 2001 at 01:43:01PM -0500, Jemiolo, John wrote: > you cannot span the entire disk with "c" Yes, you can. Linux does not care. You do _not need_ that partition with Linux but if it is there there is no harm done (well, you have only seven partitions left for other purposes). I have many disks in actual use to show it. You may _want_ that partition if the same disk will be ever accessed by something else. > Start it at the end of the > previous partition, this is NOT like unix where the "c" is the entire > disk, here it's the root filesystem so your effectivly writing over your > boot and swap partitions when the install installs packages in / Note that 'c' partition you from the original message was of a type "unused" so the above does not apply. A version of 'fdisk' as supplied by Red Hat has a nasty habit of dumping a core if there are traces of an old "FAT style" partition table on a disk and you attempt to write a new "BSD-like" one. This was reported quite a few times both to Red Hat and utils-linux maintainer, and reports included proposed patches, but apparently without results (I did not check for that problem the latest version utils-linux). Maybe there are also some other troubles of that sort with "leftovers"? If this is indeed the case you should be able to work around by overwriting first two, say, sectors with nulls ('dd if=/dev/zero of=/dev/sda count=2' or something like that) and writing a new disk label on a "clean slate". I never had troubles with any variant of 'fdisk' after such sweeping. If you are trying to fix an existing labelling make careful notes about partition boundaries. You likely want to restore them and not to reinstall everything from scratch. :-) Michal