• 0 Posts
  • 13 Comments
Joined 9 months ago
cake
Cake day: January 23rd, 2024

help-circle
  • @data1701d Ok in that case, boot the os off of a USB and mount all the partitions, start with root on /mnt, then any other partitions relative to /mnt as they would be to root, then mount --bind /dev /mnt/dev, mount --bind /dev/pts /mnt/dev/pts, mount --rbind /sys /mnt/sys, mount --rbind /proc /mnt/proc, and then cp /etc/resolv.conf to /mnt/etc/resolv.conf, now chroot /mnt. Once there remove all existing versions of grub and install grub-pc, which is the bios version, next do grub_install /dev/sda or whatever your primary drive is, then exit chroot and halt the system. Now you should have a bios bootable system you can boot on your bios device.












  • What it means is that you’re getting the libs the program uses with the program instead of using the system libs, this defeats the whole point of shared memory and wastes RAM, it is inefficient but saves them from having to compile for each distro, still, the system loader has to resolve and load these making loading slower, if they had to include the libs, a better way to do it is to simply compile the binary as a static binary with all the libs compiled in, at least that way it saves the loader overhead.