Jump to content

How to make a bootable grub2 CD-Rom


mhbell

Recommended Posts

How to make a bootable grub2 CD-Rom This is the way that you can make a bootable grub2 CD of your own Grub configuration including the Modules in your Grub2 directory. The following code makes a ISO image which you can burn to a CD. From a terminal type the following

grub-mkrescue  --overlay=/boot/grub Grub2CD.iso

The (--overlay=) points to your grub2 folder and grub config file The (Grub2CD.iso) is the name of the ISO file created. You can name this anything you want. When you bootup using the bootable CD that you made it will take you to a Grub prompt. If you have a Menu with several menu Items and you want to choose one to boot to. Then type the following at the prompt.

configfile /grub.cfg

now you will have your grub menu This is very handy for saving the grub2 config file that is on your computer and being able to rescue a damaged grub file that would not let you boot up your computer. Mel :thumbsup:

Edited by mhbell
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...