Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 24 Oct 2014, 21:01
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Create bootable multi puppies CD with Grub stage2_eltorito
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
trio


Joined: 21 Dec 2008
Posts: 1805
Location: अनुमोदना

PostPosted: Mon 14 Feb 2011, 22:32    Post_subject:  Create bootable multi puppies CD with Grub stage2_eltorito
Sub_title: NOT FOR NEWBIES - Benefits of using Grub and not isolinux cd boot
 

Hi, just thought I wanna share this ... if it hasn't been shared yet Smile

Benefits:
1. You can make a multi puppies bootable CD that you could choose which puppy you want to boot, this is my case --> lost my harddisk on this old lappy, but it still has CD Drive but No USB Boot BIOS support, so I boot from CD and put my save files on the USB Flash (for CD-RW see point 3)
2. Even you can boot any other Linux on your HDD for example (by editing Grub menu entry at boot/pressing "E" button)
3. I have not done this with CD-RW only CD-R, but It's most logical to have a Multi Session - Multi Puppies bootable CD - with many pupsave files

How to:
A. First you must have a Grub "stage2_eltorito" or download it if you don't have it already (please just google the word)
B. Follow this instructions (GNU_GRUB_(0.97)_Simplified_for_Newbies_by_Joydeep Bakshi) http://jbakshi.50webs.com/Linux_tutorial/GRUB/GNU%20GRUB%20simplified.html:

1> Make a directory for the bootable image, say, `CD_GRUB' anywhere on your computer

2> Make a directory for GRUB --> CD_GRUB/boot/grub

3> Copy the file `stage2_eltorito' to CD_GRUB/boot/grub

4> Create the config file `menu.lst' under `CD_GRUB/boot/grub' --> CD_GRUB/boot/grub/menu.lst

The 'savedefault' command in each operating system's boot entry cause GRUB not to work from a CD. The 'savedefault' command in a hard-disk writes to a file in /boot/grub named 'default', and records the last system that was booted. We cannot use this when running GRUB from a CD, because we can't write changes to a CD with GRUB. So we need to delete all instances of the savedefault command.

Example menu.lst:

Code:
timeout 30
color black/cyan yellow/cyan
default 0

title Puppy Lucid 520
   root (cd)
   kernel /lucid/vmlinuz
   initrd /lucid/initrd.gz

title Puppy 431
   root (cd)
   kernel /431/vmlinuz
   initrd /431/initrd.gz

(you may want to add your preferred boot parameters, up to you)

5> Copy needed files from your desired iso (vmlinuz, initrd.gz, pupxxx.sfs) and put them in the right folder path as configured in the menu.lst (in the above example: create lucid and 431 --> CD_GRUB/lucid and CD_GRUB/431 )

6> Now make a ISO9660 image file like this
Open terminal at the place you put the folder CD_GRUB, then execute this command:

Code:
mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot \
-boot-load-size 4 -boot-info-table -o cd_grub.iso CD_GRUB


Note: boot-load-size 4 bit is required for compatibility with the BIOS on many older machines.

7> Burn the created .iso image

That's it ... hope this can be useful

_________________
PET Maker|WbarCC

Edited_times_total
Back to top
View user's profile Send_private_message 
trio


Joined: 21 Dec 2008
Posts: 1805
Location: अनुमोदना

PostPosted: Mon 14 Feb 2011, 22:40    Post_subject: Reserved  

You can also create a CD of stage2_eltorito alone (same process above without the puppy's files) ... only for boot-up CD to boot puppy on hdd for example, same function as wakepup diskette
_________________
PET Maker|WbarCC

Edited_time_total
Back to top
View user's profile Send_private_message 
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: Tue 15 Feb 2011, 01:52    Post_subject:  

Not to dampen your spirit, but isn't this what Multipup from puppylovr is doing?
_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send_private_message 
trio


Joined: 21 Dec 2008
Posts: 1805
Location: अनुमोदना

PostPosted: Tue 15 Feb 2011, 02:02    Post_subject:  

@Jamesbond:
And I quote myself: "Hi, just thought I wanna share this ... if it hasn't been shared yet"

_________________
PET Maker|WbarCC
Back to top
View user's profile Send_private_message 
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: Wed 16 Feb 2011, 09:54    Post_subject:  

trio wrote:
@Jamesbond:
And I quote myself: "Hi, just thought I wanna share this ... if it hasn't been shared yet"
That's the spirit Very Happy Just want to let you know so that you don't have to re-invent the wheel - unless you like doing so (sometimes I do that, too - re-inventing the wheel enables one to understand its working better Very Happy )
_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9203
Location: Stratford, Ontario

PostPosted: Wed 16 Feb 2011, 11:01    Post_subject:  

You can also use grldr from grub4dos instead of /boot/grub/stage2_eltorito as the boot code. I found that this worked on a few machines where the conventional method did not.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0539s ][ Queries: 11 (0.0033s) ][ GZIP on ]