I dont understand why you need to do a chroot?
If you are in Mint, you should be able to just mount the efi directory and do a grub-install
Are you not in Mint?
I assume he is using USB stick and is chrooting to the ssd
I think I would prefer to boot it from a grub> prompt, or use supergrub2disk.
But go ahead… chroot should work
Can I ask why grub was not installed in the first place, when Mint was installed?
I think the modprobe needs to be done after the chroot… you want the module in the installed Mint kernel, not in the usb drive kernel.
NO… it is worse than that… the chroot only lets you 'be in ’ the filesystem… it does not start up the installed Mint kernel
No good… you really need to boot the installed Mint, not just chroot into its filesystem
Grub-install needs to be run in the system that is going to control grub.
No idea. Maybe it’s easier (as mentioned earlier by Paul) to just reinstall.
I think we are getting to that.
Did you see the added bit on chroot in last reply?
I saw it. Maybe because he has asked from another forum. Chrooting and a new to Linux is a bit strange combo.
I like simple stuff and you dont get any simplicité than this
But LMDE not ubuntu version if there is a fault in the grub part.
Did one yesterday no problem, then ran update and that again asked me to update the grub, so perhaps there is an underlying issue.
I’ll check my work laptop’s Mint update tomorrow. It’s been a while since last update because it’s just a backup boot system in that laptop. If there’s issues I’ll report here.
Same here, @nevj . I have been trying different distros to dual boot my old ASUS desktop alongside Debian 12 on the computer I now use solely for handling my mom’s affairs. Dern if it has not been hard sailing, though.
Last night, I tried once again to use Peppermint Devuan and it always freezes after install and restart. But I went to bed and woke up this morning with it still on the Peppermint logo and powered down and back on. Next thing I know, I am in Peppermint. What??
I had read on some forums for a few distros that it had known issues and that if you go ahead and reboot, you will have a working system. Well I did. Only thing…I forgot that it had taken over grub and after a few tries at setting it up, decided to use gparted and wipe that partition.
Yup. No boot. Grub prompt. But I gotta say that was way easier to fix at grub prompt than I remember chroot being. Did not have to think of each /dir to mount. It is the only way I will do it now.
Sheila
Try supergrub2disk… it will boot almost anything
The problem we have here is an inexperienced user who is not going to find the chroot procedure easy to adapt to their system. The grub> prompt procedure requires some practice too.
I think @mamaon_ondiwnd would be best advised to either
- use supergrub2disk, or
- reinstall Mint and write grub during the install.
Well, it never ceases to amaze me the tools that keep appearing. I looked at Supergrub2 and I will now need to add it to my toolkit.
I agree at this point.
Thanks,
Sheila
Do I get a star for suggesting this as an easy option in the first place
Hey Neville, i would also like to just take the easy steps, as to your suggestions, I will find a guide on how to use supergrub2disk. Some questions about that tho is if I could I use a ventoy USB to place it into ? also when you mention reintalling mint and write grub during the install I am unsure what you mean by this, if you could elaborate I would really like to finally start using Linux !
Its done automatically but lmde aqks you to confirm where as part of the install then again at update
Very easy
The easiest way for you is to reinstall Mint. Near the end of the install procedure it shpuld ask you
- do you wish to install a bootloader (ie grub), and if you say yes
- on which disk should grub be written… the disk thatvyou choose tonwritd grub on should contain an EFI partition of about 500Mb formatted to fat32.
I am not sure about Mint installer… if you choose the ‘use the whole disk’ option for partitioning, it may not ask about installing grub. It may install grub without asking in which case it will put grub on the same disk as Mint. As long as you have grub installed on a disk, you can boot with grub by pointing the BIOS boot order to that disk.
The first time you boot, it will see only Mint . You can mske it see other OS’s by boiting into Mint and doing
update-grub
If the whole disk install option fails you should choose the ‘custom partitioning’ option and setup a linux partition mounted to ‘/’, an EFI partition mounted to ‘/boot/efi’, and a swap partition. If you dont understand partitioning, now is a good time to learn.
I am a bit wary about Mint… it may have that efivarfs module bug.
Consider using LMDE (Linux mint debian edition) instead, as Paul suggests.
Paul knows everything about installing LMDE.
Supergub2disk may work from a Ventoy usb drive. I dont know for sure. I always use small usb drives without Ventoy. That always works.
If you can get your current Mint to boot with supergrub2disk, all you need to do is
mount /dev/sdx /boot/efi...... if itbis not already mounted
grub-install --efi-directory=/boot/efi
where sdx is your efi partition… eg sda2
Mint does not by default partition the disk as such , it does create a boot grub area (ok that is a partition but not massive. So if you want to split the disk you must format and partition seperate then choose which part of the disk to install.
It then creates its small space to suit that