diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2014-12-01 17:24:38 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2014-12-01 17:24:38 +0100 |
commit | 0921a33fc9f3724cb36a03a24b58b0a5bfc519b1 (patch) | |
tree | 6f3db52ba8c38928749806cb2d94ca548b3b19bd /make_cdrom.sh | |
parent | 6f11c9e5c15cc8ef936741e5ee7575b731a47e0f (diff) | |
download | kogata-0921a33fc9f3724cb36a03a24b58b0a5bfc519b1.tar.gz kogata-0921a33fc9f3724cb36a03a24b58b0a5bfc519b1.zip |
Advance HH, GDT, IDT (details below)
- Implement higher-half in loader with paging (using 4Mb pages)
- Add GDT installation code
- Add IDT installation code (spend a loong time debugging the ISRs!)
- Add CDROM generation scripts
- Add scripts to launch bochs (debug) and qemu (debug)
Diffstat (limited to 'make_cdrom.sh')
-rwxr-xr-x | make_cdrom.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/make_cdrom.sh b/make_cdrom.sh new file mode 100755 index 0000000..ef9e5f7 --- /dev/null +++ b/make_cdrom.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +mkdir -p cdrom/boot/grub + +if [ ! -e cdrom/boot/grub/stage2_eltorito ]; then + echo "Please copy grub's stage2_eltorito to cdrom/boot/grub." + exit -1 +fi + +cp menu_cdrom.lst cdrom/boot/grub/menu.lst +cp kernel/kernel.bin cdrom; strip cdrom/kernel.bin + +genisoimage -R -b boot/grub/stage2_eltorito -no-emul-boot \ + -boot-load-size 4 -boot-info-table -input-charset ascii \ + -A macroscope -o cdrom.iso cdrom |