My first try following the instructions for Lucid was not successful, after shutdown -r now the Dynamic Cloud Server did not start up again. It is a pity that there is no serial console nor a Rescue or Repair-mode, so I gave it another try...
After loads of retries (new initialisation, waiting and another execution of do-release-upgrade --devel-release) I found the solution in the end:
- While do-release-upgrade --devel-release updated dhclient I took the old configuration with static-route, see dhclient: classless static route, bug? as well.
- As I had no second chance to boot without security, I removed apparmor (apt-get remove apparmor), maybe I will install this again after some research.
- Most important: New Linux-Kernels include a new IDE-driver, which adresses former hda devices as sda, so I changed three things after the package update but before reboot:
- In /boot/grub/menu.lst I replaced # kopt=root=/dev/hda1 ro console=tty0 console=ttyS0,57600 with # kopt=root=/dev/sda1 ro console=tty0 console=ttyS0,57600.
- After that I called update-grub to update the configuration of grub.
- In /etc/fstab I replaced all occurrences of hda with sda.
Now the server is up and running again :-)
Thank you very much! This article probably prevented similar experiences for me! You should consider to use flattr, I would enjoy to show some love for this one! :-D
ReplyDeleteHi, I'm looking to upgrade my 8.04 LTS dynamic cloud server from 1and1 to a 10.04 LTS.
ReplyDeleteI don't understand the first step (dhclient and static-route). Could you please give more info on what to do ?
Also, when trying to upgrade I've got a message telling me :
WARNING: Failed to read mirror file
No valid mirror found
Any idea ?
REgards,
@sgegmund: when asked during installation of dhclient just choose to use your old configuration. If your system is not able to set up it's network automatically you are lost.
ReplyDeleteYou're the best, I just done 10 failed installation !!!!
ReplyDeleteI'm trying
it's working but this line doesn't have to be replaced: # kopt=root=/dev/hda1 ro console=tty0 console=ttyS0,57600 with # kopt=root=/dev/sda1 ro console=tty0 console=ttyS0,57600.
ReplyDeleteit's not effective anyway BUT you need indeed to adjust "menu.lst" to replace hda by sda and that works !!
WELL DONE MATE
@chris and Ben update-grub uses the comment AFAIK and if you update your kernel these settings will be taken as well. Regards Mirko
ReplyDeleteYou definitely saved my life.
ReplyDeleteI let it down after something like 10 tries, I totally didn't see the device name change...
Thanks a lot !
to have something looking like a rescue disk, I load with grub fallback the netinst opensuse kernel:
ReplyDeletehttp://en.opensuse.org/SDB:Remote_installation