Bootable El-Torito CD with GRUB Legacy: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
adding section about solving problems
Line 94:
 
You can use both files and folders together with the -graft-points argument.
 
== Solving problems ==
 
If you don't find a solution to your problem below, please ask in [http://forum.osdev.org/ the forums].
 
=== I get a permission denied error ===
 
The output of genisoimage looks like this:
 
Size of boot image is 4 sectors -> No emulation
genisoimage: Permission denied. Error opening boot image file 'isofiles/boot/grub/stage2_eltorito' for update.
 
The problem is that you use the -boot-info-table command line argument that patches the boot file to include information about the CD, but the boot file is not writable by genisoimage. The solution is to make it writable, like this:
 
$ chown myself isofiles/boot/grub/stage2_eltorito # Make sure you are the owner of the file. Replace "myself"
# with your username. Maybe you need to use sudo.
$ chmod u+w isofiles/boot/grub/stage2_eltorito # Make the file writable for the owner of the file (you).
 
== See Also ==