Date: Sun, 07 Mar 1999 07:27:45 -0500 From: "Mark S. Reichman" <mark@borg.com> To: Mark Hannon <mark.hannon@stockholm.mail.telia.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Use extended partition for FreeBSD? Message-ID: <36E270C1.1C580F85@borg.com> References: <36E14B67.E5427D07@stockholm.mail.telia.com> <36E19082.B11A7AC5@borg.com> <36E220D7.846A2C9A@stockholm.mail.telia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Yeah, I see your point. I wacked the entire extended partition when I did it. .You want to free up wd0s6 which exists inside wd0s2.(?) I am not exactly sure but, what you want to do is prolly not possible. You might be able to do something like this though: 1) copy contents of wd0s2 to either wd0s1 or wd0s3, if you have room. 2) wack wd0s2 3) make a new freebsd slice as big as you want. 4) make the leftovers back into a extended fat partition. (how? I dont know) 5) copy old wd0s2 back to new fat partition. Or... Buy another disk.. Hehe.. Try searching old usenet posts about this. You cant be the first to want to attempt something like this. http://www.dejanews.com Even after duplicating a FreeBSD system from one disk to another, I would have to say I am still not an expert in this area. Maybe someone else has a better option. Like I said before, when you do get this figured, /stand/sysintall is the easiest way to do it. Later Mark Mark Hannon wrote: > > Hi, > But my problem is that it is wd0s6, ie a 'logical' drive within the DOS > extended partition that I have available and logical drives do not appear > in fdisk! When I fire up /stand/sysinstall I see this: > > Disk name: wd0 FDISK Partition Editor > > DISK Geometry: 523 cyls/255 heads/63 sectors = 8401995 sectors > > Offset Size End Name PType Desc Subtype Flags > > 0 63 62 - 6 unused 0 > 63 2056257 2056319 wd0s1 2 fat 11 > 2056320 5510295 7566614 wd0s2 4 extended 5 > 7566615 835380 8401994 wd0s3 3 freebsd 165 C > 8401995 2835 8404829 - 6 unused 0 > > It is not possible to look inside the extended partition! > > Regards/Mark > > "Mark S. Reichman" wrote: > > > I just did this... About 2 weeks ago actually. > > I used /stand/sysinstall for the whole thing. > > > > Use: > > > > 5 Configure Do post-install configuration of FreeBSD > > > > Then: > > > > L Label The disk Label editor > > F Fdisk The disk Slice (PC-style partition) Editor > > > > I fount it easier. Not easy... But easier.. > > > > > > > > Hi, > > > > > > I am trying to reuse an old DOS extended partition to extend my FreeBSD > > > diskspace. My primary FreeBSD partition is wd0s3, the partition I am > > > trying > > > to use is wd0s6. > > > > > > The disktools only seem aimed at installing onto primary partitions so I > > > am > > > using disklabel etal. However, with no luck, when I try to label the > > > disk I > > > get: > > > > > > putte:~# disklabel -w -r wd0s6 auto > > > disklabel: ioctl DIOCGDINFO: Invalid argument > > > disklabel: auto: unknown disk type > > > > > > Any other suggestions as to how to do this? > > > > > > Regards/Mark > > > > > > PS Running 3.1-RELEASE > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > -- > > > > \|/ > > (@ @) > > +----------oOO----(_)------------------+ > > | Mark S. Reichman FreeBSD | > > | mark@borg.com Got source? | > > | | > > | May the source be with you! | > > | | > > +------------------------oOO-----------+ > > |__|__| > > || || > > ooO Ooo -- \|/ (@ @) +----------oOO----(_)------------------+ | Mark S. Reichman FreeBSD | | mark@borg.com Got source? | | | | May the source be with you! | | | +------------------------oOO-----------+ |__|__| || || ooO Ooo 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?36E270C1.1C580F85>