Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More explanation #12

Open
venkisagunner93 opened this issue Jan 5, 2021 · 1 comment
Open

More explanation #12

venkisagunner93 opened this issue Jan 5, 2021 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@venkisagunner93
Copy link

Thank you for the work. I'm using your repository to create my own boot to RAM flavor.

Just wanted to get some more clarification on some of the commands. At the very end you are using grub-mkstandalone to create BIOS and UEFI image (I dont know the difference). My question is if I'm trying to partition using GPT is it enough to create only UEFI image? If so how would I modify xorriso command ? Thank you help much appreciated.

grub-mkstandalone \
   --format=x86_64-efi \
   --output=isolinux/bootx64.efi \
   --locales="" \
   --fonts="" \
   "boot/grub/grub.cfg=isolinux/grub.cfg"

sudo xorriso \
   -as mkisofs \
   -iso-level 3 \
   -full-iso9660-filenames \
   -volid "Ubuntu from scratch" \
   -eltorito-boot boot/grub/bios.img \
   -no-emul-boot \
   -boot-load-size 4 \
   -boot-info-table \
   --eltorito-catalog boot/grub/boot.cat \
   --grub2-boot-info \
   --grub2-mbr /usr/lib/grub/i386-pc/boot_hybrid.img \
   -eltorito-alt-boot \
   -e EFI/efiboot.img \
   -no-emul-boot \
   -append_partition 2 0xef isolinux/efiboot.img \
   -output "../ubuntu-from-scratch.iso" \
   -m "isolinux/efiboot.img" \
   -m "isolinux/bios.img" \
   -graft-points \
      "/EFI/efiboot.img=isolinux/efiboot.img" \
      "/boot/grub/bios.img=isolinux/bios.img" \
      "."
@mvallim mvallim added the question Further information is requested label Jan 30, 2021
@mvallim
Copy link
Owner

mvallim commented Apr 14, 2021

@mvallim mvallim self-assigned this Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants