Modify the LiveCD pilot command to guide Ubuntu11.04

Source: Internet
Author: User
My fourth system-Ubuntu boot was successful (the other three were win7, xp, and macos). I finally completed the study for half a day, and the method was almost used again. Because I have installed ubuntu on a mobile hard drive, it is much more troublesome. Direct pilot, winly, and bootthink are all failed. I tried to copy the grub. conf of a large segment to the menu. lst of easybcd, and the result could not be identified. Finally, I remembered the method used to install the Red Flag-extract the content.

My fourth system-Ubuntu boot was successful (the other three were win7, xp, and mac OS ).

The method was used almost once every day. Because I have installed ubuntu on a mobile hard drive, it is much more troublesome. I tried direct boot, winly, and boot think, but they all ended in failure. I tried to copy the grub. conf of a large segment to the menu. lst of easybcd, and the result could not be identified. Finally, I remembered the method used to install the Red Flag-extract the kernel to the C disk and then transform the livecd boot command to start the uuid error. After changing the uuid, the boot was successful. Share methods. (Because it is installed on a local hard disk and guided to a mobile hard disk, uuid is identified and mixed. uuid of the local hard disk (sda9) is converted into a mobile hard disk (sdb9), resulting in uuid errors, it is also one of the main reasons for my difficulties)

In fact, ubuntu boot (or even other linux boot such as the Red Flag) does not need any complicated grub commands, and does not need to boot from ubuntu or the risk of loss of win7 boot, and does not need a large boot menu, grub for dos does not even need to be installed. As long as an easyBCD is installed, you can use the Linux boot command after installation with slight changes.

To install Ubuntu 11.04, visit http://www.linuxidc.com/linux/2011-06/37853.htm. I modified the livecd pilot command.

Transformation Method:

Original livecd command

Root
Kernel/vmlinuz iso-scan/filename =/Ubuntu-11.04-desktop-i386.iso boot = casper splash
Initrd/initrd. lz

Boot

1. Extract the vmlinuz-2.6.38-8-generic and initrd. img-2.6.38-8-generic from the boot folder in the ubuntu installation directory in livecd (or with extexplorer) to the C Disk

2. Open the easybcd -- add new entry --, NSTbootloader tab, and press configure to go to menu. lst editing.

3. The text part of the above command should be changed, and the kernel should be changed to/vmlinuz-2.6.38-8-generic root = UUID = ************* ro quiet splash

This UUID is the uuid of the disk partition installed in ubuntu. Enter sudo blkid in the livecd terminal. Then, the uuid of each disk is displayed. Copy the uuid from the ubuntu disk to the directory.

Initrd later changed to/initrd. img-2.6.38-8-generic, other unchanged, save, close easyBCD

4. Restart and select the NSTbootloader item used to install the system.

The above is only about the transformation method. If your installation method is different from the link, find the menu you use after extracting the kernel to the C drive. lst, change the contents after kernel and initrd in the original livecd command to/vmlinuz-2.6.38-8-generic root = UUID = ************ ro quiet splash and/initrd. img-2.6.38-8-generic, other do not move, and then restart from the original livecd boot entry. For example, menu. lst involves ubuntu security mode and other related items. In the command, find the livecd kernel and change it to the extracted system kernel.

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.