Date: Fri, 21 Mar 2003 12:01:12 +0100 From: Heinrich Rebehn <rebehn@ant.uni-bremen.de> To: synrat <synrat@wirewalk.org> Cc: freebsd-questions@freebsd.org Subject: Re: disklabel and ext2 Message-ID: <3E7AF0F8.9000704@ant.uni-bremen.de> In-Reply-To: <20030320213107.A1918@mail.wirewalk.com> References: <20030320213107.A1918@mail.wirewalk.com>
next in thread | previous in thread | raw e-mail | index | archive | help
synrat wrote: > I can't delete 2 linux partitions from a drive using disklabel. > No matter what /dev/ad0 slices I try to edit, linux partitions don't show > up, but fdisk thinks differently. I can easily delete and recreate the > first 2 partitions as slices 1 and 2, but can't get rid of the other 2. > Thanx in advance. > below is fdisk output for /dev/ad0 > > data for partition 1 is: > sysid 165,(FreeBSD/NetBSD/386BSD) > start 63, size 40949622 (19994 Meg), flag 80 (active) > beg: cyl 0/ head 1/ sector 1; > end: cyl 1023/ head 254/ sector 63 > The data for partition 2 is: > sysid 165,(FreeBSD/NetBSD/386BSD) > start 40949685, size 2040255 (996 Meg), flag 80 (active) > beg: cyl 1023/ head 255/ sector 63; > end: cyl 1023/ head 254/ sector 63 > The data for partition 3 is: > sysid 131,(Linux filesystem) > start 42989940, size 33206355 (16214 Meg), flag 0 > beg: cyl 1023/ head 255/ sector 63; > end: cyl 1023/ head 254/ sector 63 > The data for partition 4 is: > sysid 130,(Linux swap or Solaris x86) > start 76196295, size 1975995 (964 Meg), flag 0 > beg: cyl 1023/ head 255/ sector 63; > end: cyl 1023/ head 254/ sector 63 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > AFAIK you cannot delete Linux partitions using disklabel. Disklabel is only for editing the slices _inside_ the FreeBSD partitions. You must delete the partitions using fdisk (which i have never before used). I think it's easier using Linux fdisk (or /stand/sysinstall) Heinrich -- Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - E-mail: mailto:rebehn@ant.uni-bremen.de Phone : +49/421/218-4664 Fax : -3341 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E7AF0F8.9000704>