Lights Out Upgrade to Fedora Core 17.
Upgrading to Fedora Core 17 on a headless unit proved difficult.
I was upgrading from FC16 - had a disk failure on the FC15 system I described in the earlier post and installed FC16 on the replacement drive.
Pre-upgrade supports VNC access to make this possible - but there were hiccups.
I was upgrading from FC16 - had a disk failure on the FC15 system I described in the earlier post and installed FC16 on the replacement drive.
Pre-upgrade supports VNC access to make this possible - but there were hiccups.
- IIRC pre upgrade did not configure grub correctly and reboot just brought me back to FC16 - I had to go down to the system and choose the pre-upgrade kernel while booting (this is a known bug: here and here)
- Once the install was started, the vnc server was started as requested during pre-upgrade. I connected to the vnc server and accidentally closed the vnc viewer and could not connect back to the vnc server! This is also known and thanks to Ambarish for the workaround:
- I downloaded the debug symbols for the tiger vnc server in an FC17 system running in a virtual machine (as the virtual machine was a 64 bit system, I had to specify the architecture for my 32 bit system): setarch=i686 yumdownloader --enablerepo fedora-debuginfo tigervnc-debuginfo
- Use rpm2cpio to convert to cpio archive and extract the contents
- Copy the entire contents to the system being upgraded (e.g. at /tmp/d).
- Fire up gdb and point it to the debug symbols:
- Load symbols: set debug-file-directory /tmp/d/usr/lib/debug
- Set source search directory: directory /tmp/d/usr/src/.../tigervnc-1.0.1/
- Attach to running Xvnc (vnc server)
- break at rfb::VNCSConnectionST::checkIdleTimeout()
- Try to connect with vnc viewer and when you hit the breakpoint
- set rfb::Server::idleTimeout.value=600
- set rfb::Server::neverShared.value = false
- And, voila you are connected to the vnc server again!
- But, now the upgrade is hung at upgrading the package sbcl! Again, a known bug. Kill the process from a VT console and the upgrade continues...
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home