When disaster strikes during upgrade

Hi everyone. I’ve been a user of opensuse 11.1 for a few months now and today I decided to upgrade to 11.2.

Right in the middle of the process, disaster appeared: power outage. My laptop did not mind but my network was gone. For some reason the zypper -d option did not get recognized on my system (?) so I was left with a broken system.

My best guess was that resuming the update process from a livecd was be the best option so I took out the 11.1 DVD and booted into the rescue system. I created a mount point and mounted the system:

mount /dev/sda6 /mnt/root

I then had to fix my network connection. First I checked to see if my driver was loaded (using lsmod) then i manually brought up the interface.

ifconfig eth0 up
ifconfig eth0 192.168.0.123

Next I added a gateway

route add default gw 192.168.0.1

Then I opened up /etc/resolv.conf and added the following line

nameserver 192.168.0.1

Then I was able to chroot into the directory:

chroot /mnt/root

and again i had to edit /etc/resolv.conf (this time in the chroot) to have name resolution working. I think i’ll have to remove this line once I have my system and the network manager working again.

Finally I was able to reload the update process

zypper dup

The process is now running again and I hope that afterwards my system will be back in the updated state. I will post further progress.

Why am I posting this? Just in case someone else has his upgrade progress interrupted. I hope its the right place.

Thanks! I 'm sure it’ll come in handy for me!