Support #10480
openUpdate to hipster from hipster-2015 boots to black screen
0%
Description
I recently inherited support of a system that was running oi_151a5. I was able to run "pkg image-update" successfully, then changed the publisher to hipster-2015 and updated again without issue. However, when I switch publishers again to the current hipster, the update proceeds normally, until I reboot, when the new boot environment just loads to a black screen. Old boot environments work fine.
The only sign of trouble is that following the update, there is a line "pkg: '/sbin/bootadm update-archive -R /tmp/tmpSy9AlP' failed. with a return code of 1."
Is there any way that I can get more information about what is happening when the system tries to boot? Sorry for my ignorance, I am new to Solaris/OpenIndiana.
I have attached the output of the image-update command. The hardware is a Dell PowerEdge R310, and the bootloader is GRUB. I am happy to provide any other information asked for. The specific commands I ran were:
sudo pkg image-update -v --be-name updated
reboot to BE updated
sudo pkg unset-publisher opensolaris.org
sudo pkg set-publisher -G http://pkg.openindiana.org/dev -g http://pkg.openindiana.org/hipster-2015 openindiana.org
sudo pkg image-update -v --be-name hipster-2015
reboot to BE hipster-2015
sudo pkg set-publisher -G http://pkg.openindiana.org/hipster-2015 -g http://pkg.openindiana.org/hipster openindiana.org
sudo pkg image-update -v --be-name hipster
reboot to BE hipster, loads to black screen
Files
Updated by Toomas Soome about 3 years ago
John Mueller wrote:
I recently inherited support of a system that was running oi_151a5. I was able to run "pkg image-update" successfully, then changed the publisher to hipster-2015 and updated again without issue. However, when I switch publishers again to the current hipster, the update proceeds normally, until I reboot, when the new boot environment just loads to a black screen. Old boot environments work fine.
The only sign of trouble is that following the update, there is a line "pkg: '/sbin/bootadm update-archive -R /tmp/tmpSy9AlP' failed. with a return code of 1."
Is there any way that I can get more information about what is happening when the system tries to boot? Sorry for my ignorance, I am new to Solaris/OpenIndiana.
I have attached the output of the image-update command. The hardware is a Dell PowerEdge R310, and the bootloader is GRUB. I am happy to provide any other information asked for. The specific commands I ran were:
sudo pkg image-update -v --be-name updated
reboot to BE updated
sudo pkg unset-publisher opensolaris.org
sudo pkg set-publisher -G http://pkg.openindiana.org/dev -g http://pkg.openindiana.org/hipster-2015 openindiana.org
sudo pkg image-update -v --be-name hipster-2015
reboot to BE hipster-2015
sudo pkg set-publisher -G http://pkg.openindiana.org/hipster-2015 -g http://pkg.openindiana.org/hipster openindiana.org
sudo pkg image-update -v --be-name hipster
reboot to BE hipster, loads to black screen
try:
beadm mount bename /mnt
bootadm install-bootloader -vMfR /mnt
and see if or what it is complaining.
Updated by John Mueller about 3 years ago
$ sudo beadm mount hipster /mnt
Mounted successfully on: '/mnt'
$ sudo bootadm install-bootloader -vMfR /mnt
Command: "/sbin/installgrub -F -m -f //boot/grub/stage1 //boot/grub/stage2 /dev/rdsk/c0d0s0"
Output:
stage2 written to partition 0, 281 sectors starting at 50 (abs 16115)
stage1 written to partition 0 sector 0 (abs 16065)
stage1 written to master boot sector
Command: "/sbin/installgrub -F -m -f //boot/grub/stage1 //boot/grub/stage2 /dev/rdsk/c1d0s0"
Output:
stage2 written to partition 0, 281 sectors starting at 50 (abs 16115)
stage1 written to partition 0 sector 0 (abs 16065)
stage1 written to master boot sector
No obvious errors running those commands, and boot behavior is unchanged.
Updated by John Mueller about 3 years ago
So, this is reproducible in a virtual environment.
Using latest VirtualBox, I installed from http://dlc.openindiana.org/isos/archive/151a5/oi-dev-151a5-text-x86.iso
After following update steps above, the final reboot leads to blank black screen.
The only addition thing necessary was adding a line to /etc/ssh/sshd_config per Known Issues section of https://wiki.openindiana.org/oi/Upgrading+OpenIndiana
I have also tried appending options (-s or -v) to the end of the line "kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS" in the boot sequence, with no change in behavior.
Any help is appreciated.