[Coco] strange nitros9 boot error code, very quickly after loading the boot track I get a tb*v, error 246 not ready
gene heskett
gheskett at wdtv.com
Tue Nov 23 23:33:36 EST 2010
On Tuesday, November 23, 2010 11:16:08 pm gene heskett did opine:
> On Tuesday, November 23, 2010 10:59:57 pm Robert Gault did opine:
> > gene heskett wrote:
> > > Greetings;
> > >
> > > I am attempting to arrive at a boot floppy, which when backed up to
> > > drive 128 in hdbdos, will do a total boot from the hard drive.
> > >
> > > So I copied the test boot disk to drive 128, the default for my copy
> > > of hdbdos.
> > >
> > > It seemed to work, but after reading the boot track, it reverted to
> > > the floppy drive.
> > >
> > > So then I switched the boot-floppy-6ms module for the boot_tc3
> > > module, and now it hangs at "KREL Boot tb*v", error 246 when asked
> > > to boot directly from the hard drives floppy partition 128.
> > >
> > > Any clues for sale?
> >
> > A standard boot disk placed on a HDBDOS "hard drive" will load from
> > the hard drive but as soon as the Boot module activates, the drive0
> > floppy will be read. As you suspected, you must change the Boot
> > module for one that reads the HDBDOS "hard drive".
> > So, what Boot module to use? The Boot module must be able to read the
> > type of hard drive in use, scsi, ide, virtual. One other crucial
> > point. The data in LSN0 on the hard drive must be changed so that it
> > points to the boot drive, which in your case is 128. You need the
> > Basic utility LINK.BAS which modifies LSN0 on the hard drive so that
> > DD.BT (starting sector of bootstrap file) points to OS9Boot on drive
> > 128.
>
> Ok, the lights just came on I think, and this needs to be done to the
> /sh@ dd.bt?
>
> And that figure would be the value of the 3 bytes of sh
> {t2|07}/DD/NITROS9/3.2.9/BOOTLISTS:dmode /sh
>
> nam=SH mgr=RBF ddr=rbsuper
> hpn=07 hpa=FF74 drv=00 stp=80 typ=81 dns=08 cyl=0023 sid=01
> vfy=01 sct=0012 t0s=0012 ilv=00 sas=08 wpc=1D ofs=BB90 rwc=
>
> called wpc and ofs, plus the offset to the os9boot file, which in this
> case is an additional $0B for a total offset of $1DBB9B, right?
>
> Back with a yay/nay in a bit.
Humm, $1dbb8f is the os9 partition size, so the /sh descriptor is set as
posted:
{t2|07}/DD/NITROS9/3.2.9/BOOTLISTS:dmode /sh
nam=SH mgr=RBF ddr=rbsuper
hpn=07 hpa=FF74 drv=00 stp=80 typ=81 dns=08 cyl=0023 sid=01
vfy=01 sct=0012 t0s=0012 ilv=00 sas=08 wpc=1D ofs=BB90 rwc=
So, I take that $1DBB90, add 128*630 and get $0x1EF690 for LSN0 of disk
128, then add another $0B getting 0x1EF69B for the address of the first
sector of the OS9boot file written to disk 128.
Then run ded /dd@ and look at DD.BT at offset $15, which contains 1E F6 9B.
No change needed.
And that is indeed the 87cd of krn2 if I look at it with ded /sh@ and go to
sector $0B
Next? What else can I show? Here is the directory of that 128th disk as
shown by dir -e /sh
Directory of /sh 23:19:19
Owner Last modified Attributes Sector Bytecount Name
----- ------------- ---------- ------ --------- ----------
0 00/11/22 1948 ------wr A 7F52 OS9Boot
0 00/02/24 1535 --e-rewr 8B 1FF sysgo
0 00/11/22 1948 d-ewrewr 8E 80 CMDS
0 00/11/22 1948 d-ewrewr D7 60 SYS
That sysgo is no doubt wrong, but if it stays on the hard drive its 100%
who cares.
Do I need to also update the size in /dd's DD.BSZ?
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
"This isn't brain surgery; it's just television."
- David Letterman
More information about the Coco
mailing list