LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
-->
 
Search this Thread
Old 08-11-2010, 09:14 AM   #1
eldiener
LQ Newbie
 
Registered: Nov 2006
Distribution: Mepis, CentOS, OpenSuse
Posts: 21

Rep: Reputation: 15
Create boot CD using grub


What is the generic way to create a boot CD for any given Linux distro using grub ? Can anyone give me the exact commands for creating the proper ISO image. From there I know how to burn the ISO image to CD.
 
Old 08-11-2010, 09:24 AM   #2
eyemole80
Member
 
Registered: Jun 2004
Distribution: Fedora Core 1
Posts: 46
Blog Entries: 1

Rep: Reputation: 16
Creating a bootable CD itself is a big topic. There are different ways to do it. Using grub on top of that also is slightly non-conventional . Though I have created customized Live CD based on CentOS and Fedora but using ISOLINUX as boot loader. But it can be modified using grub as well. Following are the links that I have used to create Live CD and Grub bootaable USB linux installers.

http://www.linuxquestions.org/questi...to-cdr-273164/

http://deshantm.livejournal.com/35488.html

http://www.omninerd.com/articles/Ins..._File#comments

http://www.linuxquestions.org/questi...hlight=trouble

http://bobpeers.com/linux/hard_drive_install.php

http://ubuntuforums.org/showthread.php?t=316093

http://deepbluespaces.blogspot.com/2...hard-disk.html

http://orgs.man.ac.uk/documentation/grub/grub_3.html

http://sig9.com/bochs-grub

http://web2.clarkson.edu/projects/it...ddtutorial.txt

http://www.unicom.com/blog/entry/563

http://blogs.koolwal.net/2009/01/24/...ashjump-drive/

http://blogs.koolwal.net/2009/02/25/...rom-usb-drive/

==================================================================================================== ======
https://projects.centos.org/trac/liv.../KickstartFile

https://projects.centos.org/trac/livecd/ticket/19

https://projects.centos.org/trac/livecd/wiki/GetToolset

http://www.redhat.com/docs/manuals/e...allconfig.html

http://www.kevinslonka.com/index.php...log=137&page=1

http://ubuntuforums.org/showthread.php?t=688872

http://www.livecdlist.com/wiki/index...tion_Resources

http://www.babytux.org/articles/howto/how2livecd.php

http://pcquest.ciol.com/content/ente.../105070101.asp

http://www.linux.com/archive/articles/137524

http://www.linuxfromscratch.org/lfs/
 
Old 08-11-2010, 09:24 AM   #3
eyemole80
Member
 
Registered: Jun 2004
Distribution: Fedora Core 1
Posts: 46
Blog Entries: 1

Rep: Reputation: 16
Creating a bootable CD itself is a big topic. There are different ways to do it. Using grub on top of that also is slightly non-conventional . Though I have created customized Live CD based on CentOS and Fedora but using ISOLINUX as boot loader. But it can be modified using grub as well. Following are the links that I have used to create Live CD and Grub bootaable USB linux installers.

http://www.linuxquestions.org/questi...to-cdr-273164/

http://deshantm.livejournal.com/35488.html

http://www.omninerd.com/articles/Ins..._File#comments

http://www.linuxquestions.org/questi...hlight=trouble

http://bobpeers.com/linux/hard_drive_install.php

http://ubuntuforums.org/showthread.php?t=316093

http://deepbluespaces.blogspot.com/2...hard-disk.html

http://orgs.man.ac.uk/documentation/grub/grub_3.html

http://sig9.com/bochs-grub

http://web2.clarkson.edu/projects/it...ddtutorial.txt

http://www.unicom.com/blog/entry/563

http://blogs.koolwal.net/2009/01/24/...ashjump-drive/

http://blogs.koolwal.net/2009/02/25/...rom-usb-drive/

==================================================================================================== ======
https://projects.centos.org/trac/liv.../KickstartFile

https://projects.centos.org/trac/livecd/ticket/19

https://projects.centos.org/trac/livecd/wiki/GetToolset

http://www.redhat.com/docs/manuals/e...allconfig.html

http://www.kevinslonka.com/index.php...log=137&page=1

http://ubuntuforums.org/showthread.php?t=688872

http://www.livecdlist.com/wiki/index...tion_Resources

http://www.babytux.org/articles/howto/how2livecd.php

http://pcquest.ciol.com/content/ente.../105070101.asp

http://www.linux.com/archive/articles/137524

http://www.linuxfromscratch.org/lfs/
 
Old 08-11-2010, 04:33 PM   #4
eldiener
LQ Newbie
 
Registered: Nov 2006
Distribution: Mepis, CentOS, OpenSuse
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by eyemole80 View Post
Creating a bootable CD itself is a big topic. There are different ways to do it. Using grub on top of that also is slightly non-conventional . Though I have created customized Live CD based on CentOS and Fedora but using ISOLINUX as boot loader. But it can be modified using grub as well. Following are the links that I have used to create Live CD and Grub bootaable USB linux installers.

http://www.linuxquestions.org/questi...to-cdr-273164/

http://deshantm.livejournal.com/35488.html

http://www.omninerd.com/articles/Ins..._File#comments

http://www.linuxquestions.org/questi...hlight=trouble

http://bobpeers.com/linux/hard_drive_install.php

http://ubuntuforums.org/showthread.php?t=316093

http://deepbluespaces.blogspot.com/2...hard-disk.html

http://orgs.man.ac.uk/documentation/grub/grub_3.html

http://sig9.com/bochs-grub

http://web2.clarkson.edu/projects/it...ddtutorial.txt

http://www.unicom.com/blog/entry/563

http://blogs.koolwal.net/2009/01/24/...ashjump-drive/

http://blogs.koolwal.net/2009/02/25/...rom-usb-drive/

==================================================================================================== ======
https://projects.centos.org/trac/liv.../KickstartFile

https://projects.centos.org/trac/livecd/ticket/19

https://projects.centos.org/trac/livecd/wiki/GetToolset

http://www.redhat.com/docs/manuals/e...allconfig.html

http://www.kevinslonka.com/index.php...log=137&page=1

http://ubuntuforums.org/showthread.php?t=688872

http://www.livecdlist.com/wiki/index...tion_Resources

http://www.babytux.org/articles/howto/how2livecd.php

http://pcquest.ciol.com/content/ente.../105070101.asp

http://www.linux.com/archive/articles/137524

http://www.linuxfromscratch.org/lfs/
I can not believe that there is not a simple single way to create a boot CD using grub for any generic Linux distribution. is grub in each and every distribution radically different so that there is no common way of doing it ? If that is truly the case then I will ask this question on the appropriate forum for each Linux distribution for which I need a suitable grub boot CD.
 
Old 08-11-2010, 06:02 PM   #5
eyemole80
Member
 
Registered: Jun 2004
Distribution: Fedora Core 1
Posts: 46
Blog Entries: 1

Rep: Reputation: 16
for which distro , are you trying to create boot CD ?
 
Old 08-11-2010, 08:26 PM   #6
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Peppermint
Posts: 2,356

Rep: Reputation: 272Reputation: 272Reputation: 272
The command below (from the Gnu Grub page, see link below) will create an iso file named grub.iso to include all files in the directory below isoimages, run from the directory above isoimages. Obviously, either of these names can be changed to what you want. You will need the stage2_eltorito file to boot a CD. The distribution is irrelevant. See the link below:

mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o grub.iso isoimages

http://www.gnu.org/software/grub/man...D_002dROM.html
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why /boot/grub/grub.conf is symlinked to /boot/grub/menu.lst raj_hcl1986@rediffma Linux - Newbie 2 10-19-2008 03:19 AM
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 04:13 AM
How do you create a grub boot floppy Harold Linux - Newbie 2 11-14-2007 07:42 AM
How to set Grub not to auto boot any OS without Grub Boot menu shown ussr_1991 Linux - Software 2 09-01-2007 09:36 AM
need to access /boot/grub/menu.lst and /boot/grub/device.map neouto Linux - Newbie 8 09-04-2005 12:45 PM


All times are GMT -5. The time now is 04:16 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration