Super Grub2 Disk Sid Chroot Grub2 Installation

From Super Grub Disk Wiki
Jump to navigationJump to search

Note: This step is not needed at all. It only explains a way of running the commands inside:

supergrub-meta-mkrescue

script just in case that script is not used at all.

Please skip this step.

As explained in Super Grub2 Disk Sid Chroot you need to enter in the chroot thanks to:

chroot /mnt/ssd/sgd_chroot_sid_amd64/ /bin/bash

We are going to build 3 different sets of target + platform:

  • i386-efi
  • i386-pc
  • x86_64-efi

There isn't a:

  • x86_64-pc

because in those computers i386-pc is used instead.

Hybrid build

sudo apt-get -y remove grub-.*-bin
 sudo apt-get -y install \
 grub-pc-bin \
 grub-efi-amd64-bin

i386 - pc build

sudo apt-get -y remove grub-.*-bin
 sudo apt-get -y install \
 grub-pc-bin

x86_64 - efi build

sudo apt-get -y remove grub-.*-bin
 sudo apt-get -y install \
 grub-efi-amd64-bin

i386 - efi build

sudo apt-get -y remove grub-.*-bin
 sudo apt-get -y install \
 grub-efi-ia32-bin