Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.hawaii.edu!news.uoregon.edu!arclight.uoregon.edu!usenet.eel.ufl.edu!news.mathworks.com!fu-berlin.de!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: When booting, get Error: C:1286 > 1023 (BIOS limit). Then it hangs. Date: 11 May 1996 19:39:25 GMT Organization: Private BSD site, Dresden Lines: 67 Message-ID: <4n2qdd$1uq@uriah.heep.sax.de> References: <4ls0g6$d7h@tribune.concentric.net> <4m4erg$5k3@uriah.heep.sax.de> <4n1bqt$1cb@hammy.lonestar.org> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.6 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E gordon@sneaky.lerctr.org (Gordon Burditt) wrote: > On a related problem, my IDE drive has more than 1024 cylinders. > Currently slice 1 is DOS and slice 2 is FreeBSD, which extends > up to cylinder 1023. I'd like to use the extra space beyond that. > It appears that FreeBSD 2.1R doesn't like any portion of the slice to > be above 1024, even though root ends after the first hundred cylinders > or so. That surprises me to hear. I'm using drives with more than 1024 (ficticous) cylinders for a long time, and never had any problems as long as the root f/s was on sufficiently cylinder numbers. The only thing i remember is that FreeBSD 2.1R was picky and didn't load _anything_ from a partition the extended beyond 1024, while later bootstraps only refuse to load a file that extends beyond this mark (so you might still fall back to another kernel image in case of a catastrophic failure, just to back up your stuff, and correct the partitioning/slicing). > How do I create *another* FreeBSD slice, slice 3, using cylinders > 1024 and above, so I can use the space? I've done this successfully with sysinstall, fdisk should also work. > I've tried using fdisk, > setting up the partition, but disklabel refuses to create a disklabel > on wd0s3. It doesn't have to include root or swap or anything, I > just want to use the space. The tricky thing for standard disklabel is to setup the disktab entry. The magic is that partition `c' _must_ start at offset 0 (all numbers are relative to the slice, not to the start of the disk), and it _must_ cover exactly the number of blocks as the slice is. > I tried using sysinstall. It shows me 3 slices (63 sectors before > DOS, DOS, and FreeBSD) and it has the geometry wrong (number of > cylinders shows as 1024 rather than the true number). I fix > the number of cylinders. It *STILL* shows me only 3 slices, and > refuses to let me do a "create partition" for the space remaining > to the end of the disk, which it refuses to acknowledge exists. SCSI or IDE? Can you please do: cd /usr/src/release/libdisk make obj make tst01 ./obj/tst01 sd0 (or wd0 -- whatever applies to you) and post (or mail) the result? > Disklabel seems to be a useful utility, until you realize that it > won't actually *CREATE* or *FIX* a disklabel. You're using the wrong device, and run into a chicken-and-egg problem. Do NEVER use disklabel with anything else than a ``logical disk name'' (like sd0, wd0) unless you really know what you're doing. It's always best to let disklabel decide whether it has to use /dev/rsd0c, /dev/rsd0, or perhaps /dev/null :) to get what you want. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)