From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 6 Sep 1995 03:48:00 -0400 From: Staffan Ulfberg staffanu@tcs07.nada.kth.se Subject: fixes in the works Topicbox-Message-UUID: 20b24120-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19950906074800.JBkEMfO762u-lphnCbYkd1GLfXOGTIIWMsf8MV9dOjE@z> In article <67661.sharris@fox.nstn.ca> sharris@fox.nstn.CA (sharris) writes: jmk@plan9.ATt.COM wrote: > > From: staffanu@tcs07.nada.kth.SE (Staffan Ulfberg) > > Subject: Re: Installation problems:-( > > ... > > When b.com is started, it prints info about the hard drives it can > > find on the screen; in my case: > > > > >hd0: 1669260 sectors 854661120 bytes > > >hd1: 128 sectors 280559616 bytes (This is wrong! The drive is 560MB.) > > (Exactly half of "real capacity"?) DOS or the BIOS has a limitation where it can't handle anything > 1023 cylinders, so there's often something in the boot sector fiddles the numbers. e.g. with a 1200 cylinder 8 head drive, the BIOS pretends it's 600 and 16 to get around that limitation. Linux on large drives needs to have this nonsense overridden or it gets very confused. Sounds to me like Plan 9 & the DOS number-fiddling software don't like each other & Plan 9 is only seeing half the cylinders. I also thought it might have to do with this, but not anymore... I have deleted all partitions on the second drive, fiddled with the CMOS setup options,... nothing helps. (Also, I don't have a DOS driver to use the >1024 cylinders - I use OS/2 :-) Also, I have succesfully installed Plan 9 on my first drive now, which is 850 MB. I just think my drive is incompatible. Anyone else using a Samsung 560 MB? Staffan P.S. I found some very informative documents describing how partitoining, booting, 1024 cylinder boundaries, etc. work on a PC: ftp://ftp.rahul.net/pub/lps/hard-disk/How_It_Works... -- /D{def}def /d{.00017 add D}D /C{2 copy dup mul exch dup mul}D /g 150 string D /y .29 D 150 150 8[.4 0 0 .4 -45 -90]{/x -1.2 D 0 1 149{x y /n 300 D{/n n 5 sub D C exch sub x add 3 1 roll 2 mul mul y add C add 4 gt n 5 eq or{exit }if}loop pop pop g exch n put /x x d}for /y y d g}image showpage