How to recover incorrect bootsys
From Wiki-UX.info
Client executed bootsys in the wrong client
Example:
# bootsys -c crc8000 Called with options: "-c crc8000" WARNING: Could not open the directory to search for additional install kennels: "/opt/ignite/boot". Rebooting delta now. Firmware Version 45.44 Duplex Console IO Dependent Code (IODC) revision 1 Firmware Version 45.44 Duplex Console IO Dependent Code (IODC) revision 1 ------------------------------------------------------------------------------ (c) Copyright 1995-2004, Hewlett-Packard Company, All rights reserved ------------------------------------------------------------------------------ Processor Speed State CoProcessor State Cache Size Number State Inst Data --------- -------- --------------------- ----------------- ------------ 0 800 MHz Active Functional 67108864 67108864 1 800 MHz Idle Functional 67108864 67108864 Central Bus Speed (in MHz) : 200 Available Memory : 2097152 KB Good Memory Required : Not initialized. Defaults to 32 MB. Primary boot path: 0/1/1/1.0 Alternate boot path: 0/1/1/1.13 Console path: 0/0/1/1.0 Keyboard path: 0/0/4/0.0 Processor is booting from the first available device. To discontinue, press any key within 10 seconds. 10 seconds expired. Proceeding... Trying Primary Boot Path ------------------------ Booting... Boot IO Dependent Code (IODC) revision 3 HARD Booted. ISL Revision A.00.43 Apr 12, 2000 ISL booting hpux (;0)/stand/WINSTALL Boot : disk(0/1/1/1.0.0.0.0.0.0;0)/stand/WINSTALL 12283904 + 2244720 + 2718888 start 0x20c568 alloc_pdc_pages: Relocating PDC from 0xfffffff0f0c00000 to 0x3f900000. gate64: sysvec_vaddr = 0xc0002000 for 2 pages NOTICE: nfs3_link(): File system was registered at index 4. NOTICE: autofs_link(): File system was registered at index 6. NOTICE: cachefs_link(): File system was registered at index 7. System Console is on the Built-In Serial Interface iether0: INITIALIZING HP AB352-60001 PCI/PCI-X 1000Base-T Dual-port Core at hardware path 0/1/2/0 iether1: INITIALIZING HP AB352-60001 PCI/PCI-X 1000Base-T Dual-port Core at hardware path 0/1/2/1 igelan2: INITIALIZING HP A9784-60002 PCI/PCI-X 1000Base-T FC/GigE Combo Adapter at hardware path 0/4/1/0/6/0 Swap device table: (start & size given in 512-byte blocks) entry 0 - auto-configured on root device; ignored - no room WARNING: no swap device configured, so dump cannot be defaulted to primary swap. WARNING: No dump devices are configured. Dump is disabled. Starting the STREAMS daemons-phase 1 Create STCP device files Starting the STREAMS daemons-phase 2 $Revision: vmunix: vw: -proj selectors: CUPI80_BL2000_1108 -c 'Vw for CUPI80_BL2000_1108 build' -- cupi80_bl2000_1108 'CUPI80_BL2000_1108' Wed Nov 8 19:24:56 PST 2000 $ Memory Information: physical page size = 4096 bytes, logical page size = 4096 bytes Physical: 2095104 Kbytes, lockable: 1536924 Kbytes, available: 1788036 Kbytes * Preparing to execute init... ======= 06/19/08 13:01:52 EDT HP-UX Installation Initialization. (Thu Jun 19 13:01:52 EDT 2008) @(#)Ignite-UX Revision C.7.6.100 @(#)ignite/launch (opt) Revision: /branches/IUX_RA0806/ignite/src@73644 Last Modified: 2008-04-15 17:21:10 -0600 (Tue, 15 Apr 2008) * Configuring RAM filesystems... * Scanning system for IO devices... * Boot device is: 0/1/1/1.0.0 NOTE: Default (boot) source does not appear to be a valid (or complete) install source, switching source to Network * Setting keyboard language.
. Welcome to Ignite-UX! Use the <tab> key to navigate between fields, and the arrow keys within fields. Use the <return/enter> key to select an item. Use the <return/enter> or <space-bar> to pop-up a choices list. If the menus are not clear, select the "Help" item for more information. Hardware Summary: System Model: 9000/800/rp4440 +----------------------+---------------+--------------------+[ Scan Again ] | Disks: 6 ( 203.5GB)| Floppies: 0 | LAN cards: 3 | | CD/DVDs: 1 | Tapes: 0 | Memory: 2046Mb | | Graphics Ports: 0 | IO Buses: 7 | CPUs: 2 |[ H/W Details ] +----------------------+---------------+--------------------+ [ Install HP-UX ] [ Run an Expert Recovery Shell ] [ Advanced Options ] [ Reboot ] [ Help ]
To correct the issue and boot from the orginal kernel, follow this procedure:
- Reboot system
- Interrupt boot process
- Boot from primary path
- Interact with ISL? yes
- Execute following command
ISL> hpux (;0)/stand/vmunix
- Verify /stand/vmunix and AUTO file from the operating system console.
# ll /stand/[WVI]INSTALL* # lifcp r<dsf>:AUTO -
- Note: To found the correct special device file (dsf) check "/etc/lvmtab"file, "setboot" or "ioscan -fnkC disk" commands.