Re: Upgrade 5.0.6 to 5.0.7 - Failed

From: Bela Lubkin (belal_at_sco.com)
Date: 05/16/03


Date: Fri, 16 May 2003 07:32:59 GMT
To: scomsc@xenitec.ca

Stevalyn wrote:

> Bela Lubkin wrote:
> >[reposting article that didn't make it through the mail->news gateway]

[I'm still having a lot of trouble with gateways. I'll try posting this
one through Ed's gateway instead of JP's. (Most oddly, I posted 11
articles containing the exact string "reposting article that didn't make
it through the mail->news gateway"; google has apparently received
_none_ of them, even though several of the messages have been replied
to, and the replies are in google, so searching on that string gets
several matches now.)]

> >Steve Burger wrote:

> >>I just did an upgrade on 5.0.6 to 5.0.7.
> >>I now get
> >>
> >>"not a directory
> >>
> >>boot not found
> >>Cannot open
> >>Stage 1 boot failure: error loading hd(40)/boot
> >>
> >>I can boot off floppy and root from the hard drive."

> Sorry for the delay in answering. The machine in question is my mail
> server and with it down I was kind of isolated.
>
> The problem seems to have been as a result of the "DOS Translation"
> option on the Adaptec controller being disabled. 5.0.7 would not boot
> even after a clean installation with this option disabled. Unfortunately
> enabling it then effectively changed the drive geometry on the old drive
> and made it unreadable.
>
> My solution was to do a fresh install on a new hard drive and recover
> from tape to a temporary location (ie /old) then use chroot /old /bin/sh
> to check the configuration of the original setup and re-configure the
> new installation.
>
> I still have the original drive on the shelf for reference.

> I'm not unable to try your suggestions at this time but yes this machine
> could have had a different controller in the past, possibly an Adaptec
> 2940U. I can not be sure if I did a fresh install when I upgraded to the
> 29160.

Ok, then I think I understand well enough. You must have "stamped" the
drive with its geometry in the past when you switched from the 2940 to
29160. This would have worked for 506. I've recently discovered a bug
in 507 that makes it unable to pay attention to the OpenServer "geometry
stamp" in the masterboot sector.

If you're willing to fiddle with the original drive, I believe this
would fix it:

  - put it back in as boot drive

  - verify it still doesn't boot ("boot not found", etc.) (adjust the
    Adaptec BIOS settings if necessary to reproduce the scenario)

  - boot from floppies, root from hard drive

  - go to single-user mode

  - run:

      # dparam -w /dev/rhd00
      # /etc/_fst -w /dev/rhd00 -
      * 2/x
      RESPONSE: 0x0:0x2: 0x17a
      * 17a/h 10 <<-- using address ^^^ from above
      RESPONSE: 0x0:0x17a: 0x0 = 0x10
      * $q
      # dparam /dev/rhd00 `dparam /dev/rhd00`

  - now reboot from hard disk

OSR5's masterboot has a pointer at address 2, pointing to the beginning
of the disk parameter table. The first byte of the parameter table must
be 0x10, but isn't in OSR507. This causes the table to be ignored.
Here we're patching that byte back to the correct value; then stamping
the disk with its parameters.

If you can spare the time & downtime, I'd appreciate if you could try
this and tell me if it fixes the boot problem.

>Bela<



Relevant Pages

  • Re: Window XP boot files
    ... else to do to get my computer to boot up. ... After talking to the Gateway Tech I ... used the windows xp disk to boot the computer into windows and I ran error ... It will also now go into windows without the aid of the xp disk. ...
    (microsoft.public.windowsxp.general)
  • Re: computer will not turn on
    ... The computer doesn't even try to start and cannot boot from ... >Is there any way to boot from a floppy disk into DOS just ... to get into the system but trying a fresh install. ... >Mark-Allen Perry ...
    (microsoft.public.win2000.general)
  • Re: Fresh Iinstall of XP
    ... I need to make my fresh install of XP bootable. ... unless the Windows XP disk is in the cd drive. ... How do I make my hard disk bootable without completely installing XP ... You need to go into the bios and be sure one of the boot options is booting ...
    (microsoft.public.windowsxp.basics)
  • Re: computer will not turn on
    ... > The computer doesn't even try to start and cannot boot from ... >>Can you pull out the power cable and wait 15 minutes, ... >>Is there any way to boot from a floppy disk into DOS just ... > to get into the system but trying a fresh install. ...
    (microsoft.public.win2000.general)
  • Re: Stuck in Startup loop
    ... I assume that you tried to boot the Gateway PC with the HP ... disk, you must install it on the Gateway PC as a slave disk, ... This would be a good time to think about your backup scheme. ...
    (microsoft.public.windowsxp.general)