![]() ![]() ![]() sudo grub-install -boot-directory=/mnt/boot /dev/sda Restore Missing Grub Files Using the Grub Install Commandįinally, you can now reboot your Ubuntu and the Grub boot menu should now appear.Ĭongratulations you have just restored the Ubuntu Grub boot menu. Now we will use the “grub-install” command to restore all the missing files into the grub folder. sudo mount /dev/sda1 /mnt Mount The Partition with Ubuntu Installed On ItĪs shown in the above screenshot the “/dev/sda1” is mounted successfully. Next, we need to mount the partition where Ubuntu is installed to the “/mnt” mount point. Determine the Partition on Which Ubuntu is Installed Using blkid As you can see in our case Ubuntu is installed on the “/dev/sda1” partition. Just search for the partition with type “ext4”. sudo blkidĪfter executing the previous command, it will list all partitions. The “blkid” command can provide you with more information about the partitions especially if they are labeled. Determine the Partition on Which Ubuntu is Installed Using fdiskĪlso, you can check where Ubuntu is installed using the “blkid”. As you can see Ubuntu is installed on the “/dev/sda1” partition. You can know where Ubuntu is installed by using the “fdisk” or the “blkid” command.Īfter executing the previous command, you will get an output like the below screenshot. First, we need to know which partition is Ubuntu installed. Open a new terminal window from the left panel or simply you can use the next shortcut from your keyboard CTRL+ALT+T. As you see the kali linux is encrypted with luks and use lvm. This is how my kali linux partitions looks: Kali partitions. The rest of the size will be asigned to install Ubuntu. I have already installed Kali in one partition with about 40G. From the Install window, choose the “Try Ubuntu” option to open an Ubuntu live session. Im trying to configure a dual boot between Kali Linux and Ubuntu. Insert your Ubuntu Live USB or CD, then power on your machine. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |