Update the offline upgrade method after unexpected power failure in 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 at). This is the problem. On the second day, although the kernel has been updated to 2.6.38, it cannot access the system, or even load any system files. It has been a black screen. We had to restart to enter the old kernel version 2.6.37, and found that the old kernel could not work.

Ubuntu 11.04 was released on October 28 as scheduled. I also upgraded the version online that night to Catch fresh food. 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 at). This is the problem.

On the second day, although the kernel has been updated to 2.6.38, it cannot access the system, or even load any system files. It has been a 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 desktop, because offline updates require cdromupgrade, and the desktop version does not have this file. After the download is complete, remember the storage path, which will be used later. Then enter the ubuntu command mode and 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, as shown in:

Related Article

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.