Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in2.uu.net!199.60.229.3!newsfeed.direct.ca!torn!nott!statcan.ca!jeays From: jeays@statcan.ca (Mike Jeays) Subject: Two FreeBSD partitions on one disk Message-ID: <E7q3p9.D2G@statcan.ca> Organization: Statistics Canada X-Newsreader: TIN [version 1.2 PL2] Date: Thu, 27 Mar 1997 22:27:09 GMT Lines: 27 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37895 I set up my disk with two FreeBSD partitions (500 MB each), and a DOS/Windows partition. FreeBSD has been installed on the first and runs successfully, but I didn't run 'newfs' on the second partition, which I intend to mount. Disk name: wd1 FDISK Partition Editor DISK Geometry: 826 cyls/64 heads/63 sectors Offset Size End Name PType Desc Subtype Flags 0 63 62 - 6 unused 0 63 1020033 1020095 wd1s1 3 freebsd 165 C 1020096 1020096 2040191 wd1s2 3 freebsd 165 2040192 1290240 3330431 wd1s3 2 fat 6 3330432 2016 3332447 - 6 unused 0 If I try to mount /dev/wd1s2, I am told the superblock is bad - clearly because I have not run newfs on it. How can I do this, or would I be better off to start over with a single 1 GB partition? Various attempts such as "newfs /dev/wd1s2" don't work, and I think I may wipe out the whole thing if I experiment without quite understanding what I am doing. (I got into this mess because I had trouble with an earlier disk that was defective, but which led me to believe that partitions this large would not work.) Any help will be much appreciated! Thanks in advance.