LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-28-2009, 05:44 AM   #1
asininity
Member
 
Registered: Apr 2007
Posts: 57

Rep: Reputation: 16
Help with USB install.


OK I'm trying to set up a usb stick with two partitions, one for all my files and a suite of portable apps such as LiberKey for windows based machines and the other partition with Puppy Linux on it so I can boot it up.

I've partitioned the drive I have a large partition for the liberkey/files and a smaller one for Puppy. My problem is that Puppy wont boot despite its partition being maked as bootable in gparted.
 
Old 09-28-2009, 06:11 AM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OK
sounds good

Umm...need to know how you formatted the usb?
did you install syslinux if using fat32
or grub if using ext2?

so, please give more info?

if it was my usb it would be as so;
example my usb is sdb1 and sdb2

sdb1 fat32 holds puppy and any files
sdb2 ext2 holds puppy save file

you can actually just use one partition
as puppy can save to partition it boots from
 
Old 09-28-2009, 06:48 AM   #3
asininity
Member
 
Registered: Apr 2007
Posts: 57

Original Poster
Rep: Reputation: 16
Ok think I know where I've gone wrong. I formatted the bigger partition with LiberKey and files with fat32. Formatted the smaller partition with puppy with ext3 as I believe 4.3 supports it. I didn't put grub on there. How do I go about installing it?

sdb1 = fat32 for liberkey files
sdb2 = ext3 for puppy linux

I was unaware that I could boot from puppy whilst having liberkey on the same partition.
 
Old 09-28-2009, 07:09 AM   #4
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I dont know what liberkey is?

anyway, it may be harder trying to boot puppy/linux from sdb2...

and you should probably make sdb2 ext2, as it will save some space

so, if you can put it on sdb1, we gotta install syslinux
or if you wanna/have to go with sdb2 I will walk you thru that
 
Old 09-28-2009, 07:36 AM   #5
asininity
Member
 
Registered: Apr 2007
Posts: 57

Original Poster
Rep: Reputation: 16
Apologies LiberKey a set of portable apps much like PortableApps but imo better.

Before I decide which to do, what is easier? What do you recommend?
 
Old 09-28-2009, 07:40 AM   #6
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
liberkey looks pretty cool

I dont have windows at all dude
No windows here

Um, your gonna usually need the 1st partition as fat32 for some windows pc's
or they may not recognize usb...

ok, we can try to get grub going from sdb2

do you have a linux livecd available now?
to install grub we prob need linux livecd
 
Old 09-28-2009, 07:51 AM   #7
asininity
Member
 
Registered: Apr 2007
Posts: 57

Original Poster
Rep: Reputation: 16
I only have windows to play games on which unfortunately linux cant (yet, I hope) and because theres still some things I can do in windows that I cant in linux such as find out system (hardware) details, network details, etc. This is not a knock on linux just fact with games and my lack of knowledge in linux.

I like liberkey mainly for at work.

I did have the livecd however my 2 yr old just broke it this morning and that was my last cd, need to buy more later when shes woken up. I thought windows might have a problem if the fat32 partition wasn't first. If you could run through the instructions though it would be good and I can do them once I can burn a new cd.

Thanks mate.
 
Old 09-28-2009, 07:52 AM   #8
asininity
Member
 
Registered: Apr 2007
Posts: 57

Original Poster
Rep: Reputation: 16
Double post.
 
Old 09-28-2009, 08:02 AM   #9
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OK

assuming your going to be using a Ubuntu or puppy livecd:

1) boot off the livecd, and get to desktop
insert usb and make sure sdb2 is mounted
ubuntu will do this auto probably

2) open a terminal, in ubuntu become root
with
sudo su
puppy your already root

3) now, make a boot and grub folder on usb

Code:
mkdir -p /mnt/sdb2/boot/grub
in ubuntu it will prob be

Code:
mkdir -p /media/disk/boot/grub
now, install grub to usb sdb2

Code:
grub-install --root-directory=/mnt/sdb2 /dev/sdb
that will install grub to sdb2

now, you need a menu.lst to go in boot/grub
here is example puppy menu.lst

Code:
default 0
timeout 30

title Puppy persistent
root (hd0,1)
kernel /vmlinuz root=/dev/ram0 pmedia=usbflash pfix=copy
initrd /initrd.gz

title Puppy fresh boot
root (hd0,1)
kernel /vmlinuz root=/dev/ram0 pmedia=usbflash pfix=ram
initrd /initrd.gz
not sure if grub will be recognized from sdb2
though it should hopfully

tell me if that works
remember, were setiing up grub to boot usb as 1st hd, 2nd partition
(hd0,1)
 
Old 09-28-2009, 08:04 AM   #10
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Make sure what usb device is before installing grub!

puppy may see usb as sdb1
ubuntu may see usb as sda1

enter "mount" in terminal while usb is inserted to find out
also, fdisk -l, as root will show all partitions
thats a - and little L
fdisk -l
 
Old 09-28-2009, 08:13 AM   #11
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
just wondering
but, maybe you could use a Linux Live toolkit running persistent off USB?

I got a few

ThorsHammer
and now

PocketWriter-full

you wanna try either??
 
Old 09-28-2009, 08:39 AM   #12
asininity
Member
 
Registered: Apr 2007
Posts: 57

Original Poster
Rep: Reputation: 16
Sorry bare with me but what are they (thorshammer, linux live toolkit, and pocketwriter)?
 
Old 09-28-2009, 09:27 AM   #13
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Oh

sorry
heres thorshammer info/download
http://www.linuxquestions.org/questi...remble-751227/

heres alpha build of PocketWriter
http://www.linuxquestions.org/questi...nd-hdd-758196/

if all thats too much info

download link for thorshammer
http://multidistro.com/downloads/ham...mer-090109.iso

link for pocketwriter
http://multidistro.com/pwl/PWL-FULL.tar.gz
 
  


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
Easy-Peasy USB install of slack-based zorOS-3.6 for grub/syslinux usb noburn iso2 cd linus72 Linux - General 0 07-16-2009 09:31 PM
may install from cdrom to USB FLASH DRIVE(to get it a USB stick bootable) the ubuntu lse123 Linux - Newbie 5 01-02-2009 04:56 PM
BT3 install from usb pen to usb external sata Nalec Linux - Newbie 1 08-16-2008 10:51 PM
I can't (install in USB), boot from USB, from Ubuntu, from Windows XP... gginis Linux - Software 4 06-26-2008 09:46 AM
can I install usb-ohci module when I already have usb-uhci? krapaud Mandriva 9 11-17-2003 02:31 AM

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

All times are GMT -5. The time now is 10:43 PM.

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