Re: Making bootable grub 2 CD in Lucid
Code:
grub-mkrescue --output=rescue.iso /boot/grub
I had a look at the new man page for grub-mkrescue, and you're right!
It appears as though they have changed the command since last time I tried it.
Thanks for posting.
I made up the above command, and tried it out and it seems to have worked for me.
It created an .iso file in my /home/herman directory, and I burnt it to disc and booted it in another computer, (to make sure I can tell it's the CD that I'm booting and not my installed GRUB), and the CD booted to a command line.
After that I typed: configfile /grub.cfg and I saw my own GRUB Menu, (from the computer I made the CD in).
So it looks like that command works.
Let me know if it works for you too.
I think we can probably type any name we like for the .iso, it's not compulsory to name it 'rescue', that's just the name I made up.
For most of us, the file path for our GRUB files that we want included in the .iso file will be /boot/grub.
It's possible to type in a different file path. I imagine some people would use a different file path if they are making their own customized GRUB CD, and they would be working on that project in some other folder.
Last edited by Herman; May 4th, 2010 at 09:04 AM.
Ubuntu user since 2004 (Warty Warthog)
Bookmarks