[comp.os.minix] Multi partition boot

MAB01057%UFRJ.BITNET@cornellc.cit.cornell.edu (Marcelo Amarante Ferreira Gomes) (06/08/90)

Here it goes:

This package contains a new boot sector to be installed in
your hard disk's master boot record. It contains the code
written in assembler and the necessary files to install it
with MS/DOS. It shouldn't be difficult to modify the installator
to run under Minix.

The files are in tar format, compressed and uuencoded.
There is a readme file, wich doesn't help much, admittedly,
since the doc was prepared in a hurry.

Have fun.

Marcelo A. Ferreira Gomes (Wally Gator) <MAB01057@UFRJ.bitnet>
----------------------- cut here ----------------------------
begin 640 wboot.tar.Z
M'YV-<LJ$(=.F#("#"|,J7,BPH<.'$"-*1 BCXHV*( #(J A#AHR,,3C"B)%1
M)$<9-6K   &#AHT9,VK$J$&#|LF*-6ZD|  BX\2?0(,*'4JTJ-&C2),J7<JT
MZ4,J:,K,*0/"3|HV4D&$"0B"SAL08JC6F4H&Q)TT=-" 0#'GC1PY>5* :#+E
M|9$G42Z*3OF31LX5\N4/9L6|)4Z<L1\':*7C *GD"-+GDRYLN7+F#-K=G@X
M\=<@<Z:V$8-5C@L%7\."&"O8+%JU;-W"E4O7+M&(/K^#3SXM6'$BD$P#K/W
M\>;CR),K7\Z\N7.B"H|_#EUF=.G3J<62=5TX!MNX<^O>S4N<KU_ 6'L7AQ\
M>/'G\./+GT^_?OTT;N;04?R&CHLQ!D7&T44K:7321P"$Q|%) )ADT0PVT,"2
M2S#)-(,,+K$$@PTVQ# #3SX%*.*());(W LJ*| <:**15H9IJ(&E76N$P=;6
M=2)=UMYN9W'&W=JL;=88\:9:.212":IY&0@J-|3$OGM!T9__^F@0(RJL::>
MC;*|5!MXN.F&'HV^"2D<D4NFJ>::;+;9I (@0*D??_Z-8266,VZYUHVSA6<;
M>7OUN%MZ0/FV9GE%=GFHHPVZNAR38*0 %1IS $"''*\<88<8;0| GZA<$&
M&Y:& 8(;9=P|UI1T@##5&%)T2,95+WA1E=1@=|&&/J!J$"0TB'ZWJ/$%FOL
ML4A%NFI_( 34EQQ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HR -*5,

end

MAB01057%UFRJ.BITNET@cornellc.cit.cornell.edu (Marcelo Amarante Ferreira Gomes) (06/08/90)

First fix already:

The last few lines in setboot.asm contain messages wich are output by
the program and I didn't translate to English. Please do so. They read:

    'Boot da particao (A-D): '
    'Erro na carga do sistema operacional'
    'Particao Sem sistema operacional'

when they should be, respectively:

    'Boot from partition (A-D): '
    'Error loading operating system'
    'No operating system to load'

Since the program really expects a password, the first one could even be:

    'Boot password: '

... or something like that. But keep in mind that all this code must fit
in the first few (0x1BE) bytes of the boot record. So, keep these messages
small enough.

Since these changes are so small, I won't post a fix to them.
Have fun.

Marcelo A. Ferreira Gomes (Wally Gator) <MAB01057@UFRJ.bitnet>