Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Not sure what you expect here. You should just get back to a prompt after the mkdir and mount commands and there will be no output in the terminal. Since the command below showed output, that means you have the mount point /mnt/sda4 and it is mounted.
Result of trying the fix by BW-userx. I used esc key and f9, and selected boot from efi file. It still boots to Windows. I'm not sure how to do what HAPPY TUX suggested.
sudo mount /dev/sda1 /mnt
EFI 'system volume information'
sudo !!
sudo ls /mnt
EFI 'system volume information'
sudo ls /mnt/EFI
Boot HP Microsoft ubuntu
sudo ls /mnt.efi/ubuntu
BOOTx64.CSV fw fwupx64.efi grub.cfg grubx64.efi mmx64.efi shimx64.efi
sudo umount /dev/sda1
umount: /dev/sda1: not mounted.
sudo umount /dev/sda4
umount: /dev/sda4: not mounted.
sudo mkdir /mnt/sda4
sudo mount /dev/sda4 /mnt/ /sda4/mnt
mount: /mnt/sda/: mount point does not exist.
sudo mount /dev/sda1 /mnt/sda4/boot/efi
mount: /mnt/sda4/efi: mount point does not exist.
sudo mount -B $i /mnt/sda/$i
mount: /mnt/sda/: mount point does not exist.
sudo chroot /mnt/sda4
chroot: failed to run command '/bin/bash': No such file or directory
sudo grub-install /dev/sda
Installing for i386-pc platform
grub-install: error: failed to get canonical path of `/cow'.
update-grub
grub-mkconfig: You must run this as root
sudo update-grub
/usr/sbin/grub-probe: failed to get canonical path of `/cow'.
exit
Normally mint doesn't put it's grub.cfg in the efi/ubuntu directory
If Mint is like Ubuntu, it will have a grub.cfg file in the EFI/ubuntu directory which is generally just 3 lines and it points to the actual grub.cfg file on the filesystem /boot/grub/ partition. Apparently, Mint still creates an EFI directory named ubuntu. The links below discuss this. It looks like Mint still uses an ubuntu directory on EFI.
Can't connect to wifi, hope this asus will hold up to finish this.
sudo umount /dev/sda1
umount: /dev/sda1: not mounted.
sudo umount /dev/sda4
umount: /dev/sda4: not mounted.
sudo mkdir /mnt/sda4
mkdir: cannot create directory '/mnt/sda4': File exists
sudo mount /dev/sda4 /mnt/sda4
sudo mount /dev/sda1 /mnt/sda4/boot/efi
mount: mnt,sda4/boot/efi: mount point does not exist.
for i in /dev /dev/pts /proc sys run; do sudo mount -B /mnt/sda4$i; done
mount: /mnt/sda4run: mouint point does not exist
sudo chroot /mnt/sda4
root@mint:/#
root@mint:/# sudo grub-install dev/sda
Installing for x86_64-efi platform
grub-install: error: cannot find EFI directory
root@mint:/# sudo update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-20-generic
Found initrd image: /boot/initrd.img-4.15.0-20-gemeric
WARNING: Filed to connect to lvemtad. Falling back to device scanning.
Adding boot menu entry for EFI firmware configuration
done
root@mint:/# sudo mount /dev/sda1 /mnt/sda4/boot/efi
mount: /mnt/sda4/boot/efi: Mopunt point does not exist
I tried going back and correcting the missing / but got the same return.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.