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 Wed 22 Oct 2014, 12:06
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How I Got Puppy To Install On USB/Pendrive with Grub 2
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
lindylex

Joined: 09 Feb 2008
Posts: 7

PostPosted: Wed 02 Apr 2014, 13:51    Post subject:  How I Got Puppy To Install On USB/Pendrive with Grub 2
Subject description: Mulitple OS on USB/Pendrive
 

How I Got Puppy To Install On USB/Pendrive with Grub 2

[ Goal ]
Create a usb stick with multiple rescue and Linux versions.

1.
I use unetbootin to give me an idea of how it creates files for the following is slacko-5.7.0-PAE.iso

Install unetbootin and install slacko-5.7.0-PAE.iso to the usb/pendrive drive.

Copy all the files it creates to a different location. These are the files that were created.

boot.cat
boot.msg
help2.msg
help.msg
initrd.gz
isolinux.bin
isolinux.cfg
ldlinux.sys
logo.16
memdisk_6.02
menu.c32
puppy_slacko_5.7.0.sfs
README.HTM
syslinux.cfg
ubnfilel.txt
ubnpathl.txt
vmlinuz

2.

Use the following instructions to create a bootable usb stick.

http://www.jayway.com/2012/07/04/creating-a-linux-multi-os-installation-usb-stick/

This tutorial has an error. When yo get to this “grub-install --no-floppy --root-directory=/mnt /dev/sdb”

Change directory to the root-directory of the mounted usb/pendrive and execute this instead.

grub-install --no-floppy --root-directory=mnt /dev/sdb

“sdb” will change based on how your system mounted the drive.

3.

On the usb/pendrive make the following directory structure “/boot/slacko_puppy/”

cd

to mounted usb/pendrive

mkdir boot

change to boot

cd boot

make the sub-directory “slacko_puppy”

mkdir slacko_puppy

Copy the files from instruction number 1.

boot.cat
boot.msg
help2.msg
help.msg
initrd.gz
isolinux.bin
isolinux.cfg
ldlinux.sys
logo.16
memdisk_6.02
menu.c32
puppy_slacko_5.7.0.sfs
README.HTM
syslinux.cfg
ubnfilel.txt
ubnpathl.txt
vmlinuz

to

/boot/slacko_puppy/

On the usb/pendrive

4.

Edit or create on the usb/pendrive the following file.

gedit mnt/boot/grub/grub.cfg

This is the grub file on the usb/pendrive. Add the following to the mnt/boot/grub/grub.cfg file.

menuentry "Puppy Linux" {
set root=(hd0,1)
linux /boot/slacko_puppy/vmlinuz pmedia=usbhd psubdir=/boot/slacko_puppy/ pfix=fsck
initrd /boot/slacko_puppy/initrd.gz
}

That is it. To add additional OS I would recommend using unetbootin to extract the file it creates and copy them to a different location within /boot/ and rerun.

grub-install --no-floppy --root-directory=mnt /dev/sdb

and edit mnt/boot/grub/grub.cfg to add additional OS.
Back to top
View user's profile Send private message 
SpottedDog

Joined: 22 Apr 2014
Posts: 2

PostPosted: Tue 22 Apr 2014, 14:20    Post subject:  

Being a linux noob, I just used YUMI on an M$ XP machine, loaded multiple .iso on one stick.

There are Linux versions avalable.
Check it out here:

http://www.pendrivelinux.com/yumi-multiboot-usb-creator/
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


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