Article View: alt.lang.asm
Article #360Re: Help about MBR and BOOT sectors
From: b2a
Date: Tue, 14 Jul 1998 00:00
Date: Tue, 14 Jul 1998 00:00
34 lines
2936 bytes
2936 bytes
I just tried this again, and found that John is correct; DOS requires a valid partition table in MBR to boot. First time through this, I made a stupid mistake: I have two drives in my machine, and each has a bootable DOS installation. If I load and start SBR from image on disk 80H, after zeroing the partition table on MBR of same disk, the SBR finds DOS on disk 81H and boots that, which made it appear that DOS would boot w/o ptab in MBR. Thankyou for the correction, John. - Bruce John S. Fine wrote in message <6ogea5$5nk$1@winter.news.erols.com>... >b2a wrote: >> >> At least BSD and DOS both expect to be called with SI pointing to their >> entry in the partition table....doesn't seem to matter where in memory you >> leave the table image, so long as the SBR code can see it. If you do this, >> you don't actually need to leave the partition table in it's usual place in >> the MBR -- everything will boot ok > > I don't know about BSD, but when I tested with DOS it need its >partition >entry BOTH in memory (pointed to by si) and in the MBR. > > An early version of my multi-boot-mbr did not rewrite the modified mbr >back to disk. It just left it in RAM. Unixware could be booted that >way, but DOS required that its active bit be set in its partition entry >on disk. >-- >http://www.erols.com/johnfine/ >http://www.geocities.com/SiliconValley/Peaks/8600/
Technical Details
Message-ID:
<6ogq0r$kgs$1@winter.news.erols.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6od5ki$its$1@winter.news.erols.com> <6odh6g$d5t$1@winter.news.erols.com> <6ofql2$2ra$1@winter.news.erols.com> <6ogdvl$48j$1@winter.news.erols.com> <6ogea5$5nk$1@winter.news.erols.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102597,98ba2fcc8fb05c45 X-Google-Attributes: gid102597,public X-Google-Thread: f7d8d,98ba2fcc8fb05c45 X-Google-Attributes: gidf7d8d,public X-Google-Thread: feaef,98ba2fcc8fb05c45 X-Google-Attributes: gidfeaef,public X-Google-Thread: 15219e,98ba2fcc8fb05c45 X-Google-Attributes: gid15219e,public X-Google-Thread: f71eb,98ba2fcc8fb05c45 X-Google-Attributes: gidf71eb,public X-Google-Thread: 102bfa,98ba2fcc8fb05c45 X-Google-Attributes: gid102bfa,public X-Google-Thread: f9e32,98ba2fcc8fb05c45 X-Google-Attributes: gidf9e32,public X-Google-Thread: 114917,98ba2fcc8fb05c45 X-Google-Attributes: gid114917,public From: "b2a" <blaing@efn.org> Subject: Re: Help about MBR and BOOT sectors Date: 1998/07/14 Message-ID: <6ogq0r$kgs$1@winter.news.erols.com> X-Deja-AN: 371503489 Approved: <johnfine@erols.com> References: <6od5ki$its$1@winter.news.erols.com> <6odh6g$d5t$1@winter.news.erols.com> <6ofql2$2ra$1@winter.news.erols.com> <6ogdvl$48j$1@winter.news.erols.com> <6ogea5$5nk$1@winter.news.erols.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 X-Mozilla-Status: 0801 X-Complaints-To: abuse@rcn.com X-Trace: winter.news.erols.com 900459355 21020 207.172.241.209 (14 Jul 1998 23:35:55 GMT) Organization: Oregon Public Networking Newsgroups: alt.lang.asm,alt.msdos.programmer,borland.public.tasm,comp.lang.asm.x86,comp.msdos.programmer,comp.os.msdos.mail-news,comp.os.msdos.misc,fj.binaries.msdos,git.club.asme,microsoft.public.masm