Offline upgrade method after accidental power failure during RSS subscription update of ubuntu11.04

Source: Internet
Author: User

Ubuntu11.04 was released on October 28 as scheduled. I also upgraded it online that evening. Throughout the process, it was found that the installation took as much as one hour, longer than the download of the software package.
The tragedy is happening at this moment. According to the installation, there are more than 10 minutes left, and the school is powered off (the school lights out on time ). The next day, although the kernel has been updated to 2.6.38, it cannot enter the system, or even
Unable to load any system files, black screen. We had to restart to enter the old kernel version 2.6.37, and found that the old kernel could not normally enter the desktop, but only stayed in command mode.


Solution


When this happens unexpectedly, we recommend that you download the offline ISO image package update.


First switch to another system to download the ubuntu-11.04-alternate-i386.iso, note that the release here is alternate, not
Because cdromupgrade is required for offline update, this file is not available in the desktop version. After the download is complete, remember the storage path, which will be used later. Then go
In ubuntu command mode, enter the user name and password to log on. (You are advised to log in directly with the root user)


 

Then input the command: Mount-T iso9660-o loop/dev/sda1/ubuntu-11.04-alternate-i386.iso/mnt


Switch the directory CD/MNT.


Run the upgrade command:./cdromupgrade


 

Important Notes:


 

1. sda1 is the partition where the ubuntu-11.04-alternate-i386.iso is located. I downloaded it to drive c Under Win, Which is sda1. I also said before about the representation of different system partitions.


 

2. We recommend that you unplug the network cable before the upgrade. Otherwise, the update process will be quite slow. After the update is complete, go to the system and complete the remaining network updates.

 

The rest is waiting. After the restart, you can enter the 2.6.38 kernel version. You will be able to find the updates mentioned earlier, and there are other minor updates.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.