// Make a grub2 boot cd in Ubuntu 10.04
mkdir grub2boot
cd grub2boot/
mkdir bootcd
cp -r /boot/ bootcd/
// Edit grub2 boot menu
chmod +w bootcd/boot/grub/grub.cfg
gedit bootcd/boot/grub/grub.cfg
grub-mkimage -o core.img biosdisk iso9660 part_msdos fat ntfs ext2
cat /usr/lib/grub/i386-pc/cdboot.img core.img > bootcd/boot/grub/torito.img
mkisofs -R -b boot/grub/torito.img -no-emul-boot -boot-load-size 4 -boot-info-table -o grub2.iso bootcd
// Done, burn or test your bootcd
Donation!!!
1 year ago
No comments:
Post a Comment