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.
Your EFI partition where the veracrypt efi file is, is sda2 and your entries are pointing to sda3. Try adding also insmod part_gpt, might also need insmod chain.
Your EFI partition where the veracrypt efi file is, is sda2 and your entries are pointing to sda3. Try adding also insmod part_gpt, might also need insmod chain.
Hovewer, after give password, windows try to start (logo and circle) and after a while it crashes (strange horizontal stripes instead of the login screen).
The bootable usb maybe causing grub to mix up the disk order grub seeing the usb as hd0 and the internal drive as hd1.
I have a laptop that does that when a usb is inserted
Your ls output from Grub does not show a second partition on hd0 so hd1,2 should be right.
Quote:
Hovewer, after give password, windows try to start (logo and circle) and after a while it crashes (strange horizontal stripes instead of the login screen).
If you see the windows logo, you are not in Grub any longer but the windows/vercrypt bootloader and Grub won't be able to do anything about that. That means Grub has done it's job and chainloaded your windows or veracrypt boot file, it's a problem with windows or veracrypt.
If you see the windows logo, you are not in Grub any longer but the windows/vercrypt bootloader and Grub won't be able to do anything about that. That means Grub has done it's job and chainloaded your windows or veracrypt boot file, it's a problem with windows or veracrypt.
I don't think so,
because if I start VeraCrypt loader from UEFI menu it works properly
It might be the resolution setting so you could try some of the suggestions at the link below to edit /etc/default/grub with compatible resolution. I saw some posts which indicated the same problem but after 10-20 seconds, the garbled screen changed. Have you waited that long to see? Only other thing is the suggestion above.
Sorry, I forgot to post the link I referred to earlier. It's below at the Mint forums, read the suggestions in the second post carefully. It explains how to get the resolution from windows/Linux although this is 7 not 8 or 10, don't know if that will matter.
The above quote is from your earlier post, GRUB2 counts physical hard drives from ZERO, partitions from one. In your initial post, you make a reference to a menu.lst file which is a Grub Legacy file and hasn't been used with Debian for years??
Quote:
indeed, my /boot partition is on outside bootable usb and it is plugged.
You should probably explain that in a little more detail. Boot partition for what? Debian, windows, your veracrypt thing?
Your ls output above 3 three drives, hd0 with one partition, hd1 with partitions (including the EFI) and an hd2 drive with no partitions. At the time you ran that command, the EFI partition was hd1,2. If you attach/remove a drive including a flash drive these can change. If you boot from an installed system it can show differently than booting from a flash drive.
Quote:
because if I start VeraCrypt loader from UEFI menu it works properly
I think you may have to be satisfied with that but no harm in trying things. I don't really know anything about veracrypt, other than it's an encryption tool. Since your are only using it with windows, why not add an entry in the windows bootloader?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.