Booting from new disk (rx2660)

How to easily duplicate your data and safely restore it without losing a single bit.
Post Reply
User avatar

Topic author
issinoho
Member
Posts: 8
Joined: Wed Apr 05, 2023 9:22 am
Reputation: 0
Location: Glasgow, Scotland
Status: Offline

Booting from new disk (rx2660)

Post by issinoho » Thu Feb 01, 2024 9:10 am

Hardware type: HP rx2660 (1.59GHz/6.0MB)
Software type: OpenVMS IA64 V8.4

Hi all, we had a boot disk crash in a rx2660 and replaced by a maintenance guy. Confirmed that both original disk and new disk are of type, HP DG036A9BB6

Disk is recognised as DKA800: and I've done an image restore from from a DVD boot which went without error.

I then used @sys$manager:boot_options from the DVD boot to create a new entry for that disk to the Boot Options list at position 1. See the following...

Code: Select all

EFI Boot Options list:   Timeout = 10 secs.

Entry  Description                                                Options
-----  ---------------------------------------------------------- -------------
   1   OpenVMS Recovered Disk PKA0.5000-00E0-186C-1142            -fl 0,0
         DKA800 PCI(0|1|1|0) Sas(500000E0186C1142,Lun0)
   2   hp I64 OpenVMS PKA0.5000-00E0-1421-C9C2                    -fl 0,0
         Device not Found
   3   Internal Bootable DVD
         DNA0 PCI(0|0|2|1) Usb(0,0)
   4   iLO Virtual Media
         Device not Found
   5   Core LAN A
         EWA0 PCI(0|1|2|0) Mac(0017a4ab6251)
   6   Core LAN B
         EWB0 PCI(0|1|2|1) Mac(0017a4ab6250)
   7   EFI Shell [Built-in]
         VenHw(d65a6b8c-71e5-4df0-d2f009a9)
--------------------------------------------------------------------------------

5 entries found.
(The entry in position 2 is the entry for the original disk.)

The problem is that the system will not boot off that disk and I get the following sequence...

Code: Select all

PKA0.5000-00E0-186C-1142
Load of OpenVMS Recovered Disk PKA0.5000-00E0-186C-1142 failed: Not Found

Loading.: hp I64 OpenVMS PKA0.5000-00E0-1421-C9C2
Load of hp I64 OpenVMS PKA0.5000-00E0-1421-C9C2 failed: Not Found

Loading.: Internal Bootable DVD
My first question is: am I missing anything here? If not, what could be going wrong. All input gratefully received.

TIA.

Added in 55 minutes 34 seconds:
Update. Running the VALIDATE (option 5) from BOOT_OPTIONS reports the following...

Code: Select all

Validate EFI Boot Options list:   Timeout = 10 secs.
--------------------------------------------------------------------------------
   1   OpenVMS Recovered Disk PKA0.5000-00E0-186C-1142            -fl 0,0
         DKA800 PCI(0|1|1|0) Sas(500000E0186C1142,Lun0)
         efi$bcfg: Invalid MBR/GPT on Disk.
So the image restore doesn't set the boot sectors correctly??

User avatar

imiller
Master
Posts: 147
Joined: Fri Jun 28, 2019 8:45 am
Reputation: 0
Location: South Tyneside, UK
Status: Offline
Contact:

Re: Booting from new disk (rx2660)

Post by imiller » Thu Feb 01, 2024 12:08 pm

When you restored the system disk from an image backup, did you do that from tape?
I expect that to work but you could try the following
booting from the DVD again, going to the DCL prompt and mounting DKA800
then do
$ SET BOOTBLOCK DKA800:/PRESERVE=SIG
Then check the boot menu
@SYS$MANAGER:BOOT_OPTIONS

See https://docs.vmssoftware.com/vsi-openvm ... -BootBlock
there are warnings about various things that may go wrong and require fixing with SET BOOTBLOCK
Last edited by imiller on Thu Feb 01, 2024 12:17 pm, edited 2 times in total.
Ian Miller
[ personal opinion only. usual disclaimers apply. Do not taunt happy fun ball ].

User avatar

Topic author
issinoho
Member
Posts: 8
Joined: Wed Apr 05, 2023 9:22 am
Reputation: 0
Location: Glasgow, Scotland
Status: Offline

Re: Booting from new disk (rx2660)

Post by issinoho » Thu Feb 01, 2024 3:26 pm

Thanks for the reply, Ian.

By the time I had read your post I had worked out that I could examine the boot sector by running...

Code: Select all

$ sb:==$sys$system:sys$setboot
$ sb -s -f dka800:
and set the boot sector by running the utility without parameters - I'm sure it ends up doing the same thing as your suggestion.

One thing to note that after setting the boot sector I had to re-run the boot_options validate option which magically corrected something in the EFI settings file.

After that the system booted up - thanks again!


sms
Master
Posts: 349
Joined: Fri Aug 21, 2020 5:18 pm
Reputation: 0
Status: Offline

Re: Booting from new disk (rx2660)

Post by sms » Thu Feb 01, 2024 6:42 pm

Code: Select all

> [...] from a DVD boot [...]

   Which VMS/BACKUP version?

   I don't recall ever trying to use a BACKUP/IMAGE-restored disk on an
IA64 system, so I know nothing, and I could be hallucinating, but I seem
to recall reading descriptions/discussions involving bugs in the
EFI/Boot stuff in early VMS versions for IA64.  I thought that those
problems all got fixed, but I couldn't say when that might have
happened.

User avatar

imiller
Master
Posts: 147
Joined: Fri Jun 28, 2019 8:45 am
Reputation: 0
Location: South Tyneside, UK
Status: Offline
Contact:

Re: Booting from new disk (rx2660)

Post by imiller » Fri Feb 02, 2024 4:09 am

The link i posted above documents the issue with some versions of BACKUP and how to fix it

Added in 2 minutes 29 seconds:
issinoho wrote:
Thu Feb 01, 2024 3:26 pm
Thanks for the reply, Ian.

By the time I had read your post I had worked out that I could examine the boot sector by running...

Code: Select all

$ sb:==$sys$system:sys$setboot
$ sb -s -f dka800:
and set the boot sector by running the utility without parameters - I'm sure it ends up doing the same thing as your suggestion.

One thing to note that after setting the boot sector I had to re-run the boot_options validate option which magically corrected something in the EFI settings file.

After that the system booted up - thanks again!
The command I posted runs SYS$SETBOOT and the /PRESERVE=SIG qualifier on the command may have avoided having to revalidate the boot option.
Ian Miller
[ personal opinion only. usual disclaimers apply. Do not taunt happy fun ball ].

Post Reply