Jump to content

How to make a bootable grub2 CD-Rom

  • Please log in to reply
1 reply to this topic

#1 OFFLINE   mhbell


    Posting Prodigy

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,266 posts

Posted 19 December 2009 - 05:55 PM

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, 19 December 2009 - 11:19 PM.

Registered Linux User #239772
Mint 18.1 Cinnimon, MX-16, Siduction LXQT, Debian Stretch, and Other Linux Distro's

#2 ONLINE   securitybreach


    CLI Phreak

  • Forum Admins
  • 24,661 posts

Posted 19 December 2009 - 09:28 PM

Another great Grub2 tutorial. Keep it up!!!!Thanks
Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users