While I try my best to ensure the accuracy of every blogs posted, I cannot guarantee that it will suit your environment or platform. © Copyright 2008-2024 JackNg C. H.. All Rights Reserved.
Change boot device target number (Rev: 1.1)
Situation
I refered to the "Copy Solaris boot disk to another disk with different partitions layout" in my previous blog. After copying the data from disk 1 to disk 2, and installing the bootblocks in disk 2, we swapped disk 2 from slot 1 to slot 0 position.
After powered on the Sun Fire 280R server, the below boot error messages were encountered:
Boot device: disk file and args:
Evaluating: boot
Can't open boot device
At the OpenBoot PROM (OBP) command prompt,
ok devalias
disk1 /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@2,0
disk0 /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@1,0
disk /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@1,0
ok printenv boot-device
boot-device disk disk
From the devalias command, the default boot device (disk) was previously set to boot from disk target 1 slice 0 (disk@1,0) when disk 2 was originally placed in slot 1 position.
After we had swapped disk 2 from slot 1 to slot 0 position, the server can't open the boot device because it was looking for disk 2 at target 0 but disk 2 was previously configured to boot at target 1.
Solution
I created a new devalias called disk2 and set it to boot from disk target 0:
ok nvalias disk2 /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@0,0
Then, I set the default boot device to boot from disk2:
ok setenv boot-device disk2
Finally, wrote the new boot-device value to the PROM:
ok reset-all
The system will immediately reboot to boot from disk 2 at target 0 in the new slot 0 position.
Reference
[1] Sun Microsystems Documentation
Subscribe to:
Post Comments (Atom)
Please donate. Thanks.
paypal.me/jackngch
(PayPal-to-Paypal account only)
Popular Posts
-
If you spend long hours looking at your pc monitor screen daily, you might want to protect your eyes by changing the background colour o...
-
There are 3 partitions in the Dell Optiplex 9010 pc [Intel Core i7-3770 (3.40 Ghz) CPU, 32 GB DDR3 1600 Mhz memory, 1 TB SATA hardisk dr...
-
Assume running Windows 7 Enterprise x86 Operating System (OS) and had already installed the original RTM version (10.0.26624.0) of Window...
-
Microsoft KB2592687 is the Remote Desktop Protocol 8.0 update for the Windows 7 SP1 Operating System (OS) and Windows Server 2008 R2 S...
-
After login to the Windows 7 Home Premium x64 Operating system (OS) of the Acer Aspire X5900 pc [Intel i5-650, 3.20 GHz, Western Digital ...
-
I had bought the Roman Duo DeliCooker HL-400 ( S$1288.00 including 7% GST & delivery) on March 2014. I had found a Vees Electric Ho...
-
Diagram 1: Capacitor voltage (V C ) and current (I) waveforms In a capacitor, current (I) flows across the capacitor leads the capacitor v...
-
If you are searching for information on a mobile phone number, it will not be freely available in the public domain databases because of ...
-
Situation When I tried to add the " Chinese (PRC) - Chinese (Simplified) - Micosoft Pinyin IME 3.0 " keyboard layout to the Langua...
-
During SolidWorks 2019 SP2 installation, the below error message pop-up: SOLIDWORKS Installation Manager Microsoft SQL Server failed to...
No comments:
Post a Comment