Results 1 to 5 of 5

Thread: Making bootable grub 2 CD in Lucid

  1. #1
    Join Date
    Mar 2010
    Location
    George, South Africa
    Beans
    26
    Distro
    Ubuntu

    Making bootable grub 2 CD in Lucid

    It seems that the handy grub-mkrescue --overlay=/boot/grub Grub2CD.iso command that works nicely in Karmic is not the right way to create a cd iso in Lucid. Any ideas ?

    ~$ grub-mkrescue --overlay=/boot/grub Grub2CD.iso
    Unrecognized option `--overlay=/boot/grub'
    Usage: /usr/bin/grub-mkrescue [OPTION] SOURCE...
    Make GRUB rescue image.

    -h, --help print this message and exit
    -v, --version print the version information and exit
    --modules=MODULES pre-load specified modules MODULES
    --output=FILE save output in FILE [required]

    /usr/bin/grub-mkrescue generates a bootable rescue image with specified source files or directories.

    Report bugs to <bug-grub@gnu.org>.

  2. #2
    Join Date
    Mar 2010
    Location
    George, South Africa
    Beans
    26
    Distro
    Ubuntu

    Re: Making bootable grub 2 CD in Lucid

    Quote Originally Posted by moon_raker View Post
    It seems that the handy grub-mkrescue --overlay=/boot/grub Grub2CD.iso command that works nicely in Karmic is not the right way to create a cd iso in Lucid. Any ideas ?

    ~$ grub-mkrescue --overlay=/boot/grub Grub2CD.iso
    Unrecognized option `--overlay=/boot/grub'
    Usage: /usr/bin/grub-mkrescue [OPTION] SOURCE...
    Make GRUB rescue image.

    -h, --help print this message and exit
    -v, --version print the version information and exit
    --modules=MODULES pre-load specified modules MODULES
    --output=FILE save output in FILE [required]

    /usr/bin/grub-mkrescue generates a bootable rescue image with specified source files or directories.

    Report bugs to <bug-grub@gnu.org>.
    I am keen to make a bootable grub CD for Lucid, so if anyone can help with the command required please .. ?

  3. #3
    Join Date
    Jul 2005
    Location
    Hughenden, Australia
    Beans
    5,100
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    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)

  4. #4
    Join Date
    Mar 2010
    Location
    George, South Africa
    Beans
    26
    Distro
    Ubuntu

    Re: Making bootable grub 2 CD in Lucid

    Quote Originally Posted by Herman View Post
    Code:
    grub-mkrescue --output=rescue.iso /boot/grub
    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.
    Herman, with your Grub experience and expertise I was hoping for you to spot my post. You are a star. The new command works perfectly and I feel secure.

  5. #5
    Join Date
    Jul 2005
    Location
    Hughenden, Australia
    Beans
    5,100
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: Making bootable grub 2 CD in Lucid

    Oh, good, thank you for the feedback, I must go and update my website.

    You are a very good Ubuntu user to be making your own GRUB Rescue Disk. Everyone should make their own GRUB Rescue Disk, if everyone did, the world would be a better place. You're a star too.
    Ubuntu user since 2004 (Warty Warthog)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •