#Chrooting in Mint

1 messages · Page 1 of 1 (latest)

reef rover
#

Hi! It's been a while I last talked here. I don't have any specific problem, but it's more of a general question - chrooting

I got a rather old tablet that has a hybrid UEFI (32 bit uefi, 64 bit cpu) that I'm installing Mint onto, but I can't get it done now due to grub not installing a 32bit binary.

I know where the problem is, all I'm curious is about is chrooting to the system. How do you mount the virtual filesystems to ensure that apt and other things function while installing or fixing things up from a different mountpoint? In Gentoo, we usually just have arch-chroot or we mount them manually which usually results in longer commands. I'm just curious if it's any differently done in Mint.

I found these links that help with chrooting, but I noticed that they use a for loop to mount them all with one command, is this still relatable till this day? The posts are fairly old.

Links in general:
https://forums.linuxmint.com/viewtopic.php?t=215393
https://help.ubuntu.com/community/Grub2/Installing#via_ChRoot

Thanks and have a great day!

frigid bough
reef rover
#

I was aware on how to fix it since I ran to the same issue on gentoo, which a useflag fixed it. The main question mostly was about chrooting in mint

#

wondered if its any different than from what i know

#

just making sure if using the commands im familar of with mounting virtual filesystems wont come back and bite me on the long run

(like this for example)

mount --rbind /sys /mnt/sys
mount --make-rslave /mnt/sys
mount --rbind /dev /mnt/dev
mount --make-rslave /mnt/dev
mount --bind /run /mnt/run
mount --make-slave /mnt/run```
frigid bough
#

seems to show an example in the article by mr. minty