Grub2 manual boot ubuntu
Testing Machine OS: ubuntu 14.04.1 LTS x86_64
Disk Partitions:
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
Perform the following operations on the grub2 command line (enter c on the boot page:
Set root = (hd0, msdos1)
Hd0 is the disk where the root directory is located, the IDE Hard Disk starts with hd, And the SCSI hard disk starts with sd. Floppy Disk starts with fd. The name is not the same as that of linux. Is counted from 0.
Enter hd and press the tab key. Msdos1 is the partition of the root directory. Enter msdos and press the tab key to view the partition.
Linux/boot/vmlinuz * ro root =/dev/sda1
* Indicates the kernel version. Enter/boot/vmlinuz and press the tab key to perform Automatic completion. Sda1 is the partition of the root directory.
If the boot directory is a separate partition, the same as linux/vm... if the boot directory is not a separate partition, enter linux/boot/vm...
Initrd/initrd. img
Boot
Finally, the logon page is displayed.