GRUB2 manually booting Ubuntu

Source: Internet
Author: User

Test machine os for Ubuntu 14.04.1 LTS x86_64


The disk partitioning situation is:

Filesystem 1k-blocks used Available use% mounted on
/DEV/SDA1 19736236 3676896 15033756 20%/
None 4 0 4 0%/sys/fs/cgroup
Udev 369132 4 369128 1%/dev
TMPFS 75984 840 75144 2%/run
None 5120 0 5120 0%/run/lock
None 379908 0 379908 0%/run/shm
None 102400 0 102400 0%/run/user


On the GRUB2 command line (enter C in the boot interface), for example, the following:

Set root= (HD0,MSDOS1)

The hd0 is the disk where the root folder resides, and the IDE hard drive starts with HD and the SCSI drive starts with SD. The floppy disk is opened with FD . Naming is not as big as Linux. is from 0.

Press the TAB key to view after entering HD. MSDOS1 is the partition where the root folder resides, and you can view it by pressing the TAB key after entering Msdos.

linux/boot/vmlinuz* ro root=/dev/sda1

The * number is the kernel version number, enter/boot/vmlinuz and press TAB to be able to make their own active completion. SDA1 is the partition where the root folder resides.

If the boot folder is separate partition as LINUX/VM ... If boot is not a separate partition, enter LINUX/BOOT/VM ...

Initrd/initrd.img

Boot

Finally successfully entered the landing screen.


GRUB2 manually booting Ubuntu

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.