Tag Info

Hot answers tagged

3

Got the answer from help-grub mailing list: probe -u $root --set=abc use $abc as uuid variable of $root. So, in my specific case, the relevant part of grub.cfg became: probe -u $root --set=rootuuid set imgdevpath="/dev/disk/by-uuid/$rootuuid" And it works great.


2

Following up on the answer by @terdon - when you do the test-step, and grub2-mkconfig does not find the Windows partition. Next, make sure you have the "ntfs-3g" package installed, so that your Linux system can read the Windows partition(s). sudo yum install ntfs-3g After installing that, when you run sudo grub2-mkconfig > /dev/null ... you ...


1

I fixed it! Here are the commands I used this time: # parted /dev/sda (parted) mklabel msdos (parted) mkpart primary ext2 2MiB 2GiB (parted) mkpart primary ext4 2GiB 100% (parted) set 1 boot on (parted) q # mkfs.ext2 /dev/sda1 # cryptsetup --key-size 512 --hash sha512 --iter-time 5000 --use-random luksFormat /dev/sda2 # cryptsetup open --type luks ...


1

You need to tell grub what default kernel to use in grub.conf. For mint, may be something like 'set default="0". For the linux types I have used, the very top entry in the grub.conf is entry 0. So if you had three kernels listed, and you want to boot on the 3rd one, use 'default=2' or for mint, maybe 'set default=2'. This link may or may not be useful: ...


1

According to this mail: https://lists.gnu.org/archive/html/grub-devel/2013-01/msg00070.html excerpt > @@ -3135,6 +3136,9 @@ > The @option{--hotkey} option associates a hotkey with a menu entry. > @var{key} may be a single letter, or one of the aliases @samp{backspace}, > @samp{tab}, or @samp{delete}. > + > +The @option{--id} may be ...



Only top voted, non community-wiki answers of a minimum length are eligible