From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bryan Whitehead Subject: Re: fdisk Date: Wed, 17 Jul 2002 11:25:31 -0700 Sender: linux-newbie-owner@vger.kernel.org Message-ID: <3D35B69B.7050503@jpl.nasa.gov> References: <200207171136.14806.azie@kawan.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: azie Cc: linux-newbie@vger.kernel.org Is libsafe being pre-loaded in /etc/ld.so.preload ? I had problems with fsck, fdisk, and mkfs.ext2 when libsafe was being preloaded. If the partition table is in some weird format, and you don't care about the data on the disk. You could just wipe the disk clean before you fdisk it. 'dd if=/dev/zero of=/dev/hda' azie wrote: > I'm using Dell Dimension PIV 2.0 with 40GB harddisk. When I try to use fdisk > to repartition my harddisk, I got this error. > > [begin] > > # fdisk /dev/hda > > Command (m for help): p > > Disk /dev/hda: 255 heads, 63 sectors, 2491 cylinders > Units = cylinders of 16065 * 512 bytes > > > 8 partitions: > # start end size fstype [fsize bsize cpg] > a: 1 7* 6* 4.2BSD 1024 8192 16 > b: 7* 40* 32* swap > c: 1 2492* 2491* unused 0 0 > e: 40* 42* 2* 4.2BSD 1024 8192 16 > f: 42* 2492* 2449* 4.2BSD 1024 8192 16 > > Command (m for help): n > Segmentation fault > > # > > [end] > > any idea why this happens and how to partition it using fdisk? > > - > To unsubscribe from this list: send the line "unsubscribe linux-newbie" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.linux-learn.org/faqs -- Bryan Whitehead SysAdmin - JPL - Interferometry Systems and Technology Phone: 818 354 2903 driver@jpl.nasa.gov - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs