Re: disklabel and ext2

2003-03-21 Thread Heinrich Rebehn
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 [EMAIL PROTECTED]
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:[EMAIL PROTECTED]
Phone : +49/421/218-4664
Fax   :-3341
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


disklabel and ext2

2003-03-20 Thread synrat
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 [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message