Skip to content

LowLevelML/Grub-Iso-Kernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Make an ISO from kernel

In this I am going to make an iso from .bin with grub


Requirements

  • grub-mkrescue

resoures

Tutorial

mkdir -p isofiles/boot/grub

grub.cfg file inside of isofiles/boot/grub

set timeout=0
set default=0

menuentry "_word_of_os_" {
    multiboot2 /boot/_name_of_bin_.bin
    boot
}

the _name_.bin should be in isofiles/boot/

layout:

isofiles/
└── boot
    ├── grub
    │   └── grub.cfg
    └── kernel.bin
grub-mkrescue -o _name_of_iso_.iso isofiles

then if you want you can run in qemu

qemu-system-x86_64 -cdrom os.iso # or any other version of qemu

About

This is a tutorial on how to use grub-mkrescue to make an iso from a .bin kernel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages