LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-04-2011, 08:24 PM   #1
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 252

Rep: Reputation: 31
How do you generate a grub 2 pxe image?


I am trying to network boot grub 2. I have already set up a network boot server, and it works fine serving the debian pxe installer. I have looked at the grub 2 manual, but when I followed the instructions on this page, I got several errors: my grub-mkimage (version 1.96) doesn't support the --format option, and I do not have the pxe or pxecmd modules. I am running debian lenny with the grub2 package installed. Do I need to get another package or add another option?
 
Old 10-05-2011, 05:09 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,300

Rep: Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213
Cheat. http://wiki.osdev.org/Diskless_booti...XE.2BGRUB2_Way
 
Old 10-06-2011, 08:40 PM   #3
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 252

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by jefro View Post
Same problem. My grub-mkimage doesn't have the "--format" option. I think I'll install the newest version of grub2 from the source to see if a newer version supports it.
 
Old 10-06-2011, 11:25 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,300

Rep: Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213
Sorry, let us know. Maybe someone else has a better idea.
 
Old 10-07-2011, 06:04 PM   #5
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 252

Original Poster
Rep: Reputation: 31
Success!

After installing from source, grub-mkimage 1.99 (the latest version) does support the --format option (incidentally, the grub manual I looked at is for version 1.99). I don't have access to the computer I want to netboot just now, but I will post the result when I can test it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Swap on Linux-based PXE image cccc Linux - Networking 3 07-29-2011 08:55 PM
Creating an Image for PXE Boot Nightfish. Linux - General 4 07-28-2010 02:33 PM
How to generate iso image from RHEL4 DVD? chintan_gaurav8 General 3 01-07-2010 07:15 AM
Custom Fedora image for PXE baddah Fedora 1 04-30-2008 08:46 PM
boot from pxe image jcai Linux - General 1 06-21-2006 08:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration