After Ubuntu is installed with wubi hard disk, you cannot enter the system. Baidu has many methods. The following methods are feasible after testing: grub & gt; lsgrub & gt; ls (hd0, x) /# Find the WUBI-installed disk, which contains ubuntu/
After Ubuntu is installed with wubi hard disk, it cannot enter the system. Baidu has many methods. The following methods are feasible after testing:
- Grub> ls
- Grub> ls (hd0, x)/# Find the WUBI-installed disk, which contains the ubuntu/directory,
- Grub> insmod ntfs # load the ntfs module, because WUBI installed ubuntu on my ntfs Disk
- Grub> set root = (hd0, 5) # Here (hd0, 5) is the partition installed on ubuntu.
- Grub> ls $ Boot # Find the UUID of the BOOT partition, which will be used in the next step. Here I show 2250018e50016a3d
- Grub> search -- no-floppy -- fs-uuid -- set 2250018e50016a3d # the UUID here is the one that must be found
- Grub> loopback loop0/ubuntu/disks/root. disk # Set loop0, and WUBI installs ubuntu into a root. disk File.
- Grub> set root = (loop0) # reset root
- Grub> linux/boot/vmlinuzxxxxxxxxx (you can complete the tab) root =/dev/sda5 loop =/ubuntu/disks/root. disk ro quiet splash # load the kernel. Set this parameter to 5 based on the actual situation.
- Grub> initrd/boot/initrd. imgxxxxxxxxxxxx (you can complete the tab) # Not to mention everyone knows
- Gurb> boot
ENTER. Enter the familiar system and open the terminal
- # Update-grub2
- # Reboot
In this way, grub is fixed.