LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-16-2010, 04:28 PM   #1
jorbaud
LQ Newbie
 
Registered: Aug 2010
Posts: 13

Rep: Reputation: 0
How do you transfer linux already on a usb to a second usb


I have puppy linux on a 512mb usb flash drive. I would like to put all of it onto a different usb flash drive with more memory. I used windows vista and copied all of the files from my first usb to my second but when I tried to boot it did not work.
Thank You in advance.
 
Old 08-16-2010, 04:29 PM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
you need to install syslinux or whatever to the second usb
how did you install it to usb first time?
 
Old 08-16-2010, 04:32 PM   #3
jorbaud
LQ Newbie
 
Registered: Aug 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by linus72 View Post
you need to install syslinux or whatever to the second usb
how did you install it to usb first time?
I used UNbootin and put the .iso onto the usb.
 
Old 08-16-2010, 04:43 PM   #4
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
just repeat the install on the 2nd usb using unetbootin and transfer the pup save manually
if no pupsave then just repeat the install
 
Old 08-16-2010, 05:19 PM   #5
royce2020
Member
 
Registered: Jan 2003
Posts: 81

Rep: Reputation: 15
You could use partimage. I don't know if this is in puppy, but it is in the Knoppix and DSL boot CDs, as well as GParted Live.
Partimage works a bit like Norton Ghost, making an almost exact copy of one partition as a file that can be writen back to the second.

plug the first USB stick in, and assuming your stick is sdb1, run the following command:
Code:
partimage -z1 -d -c -b -V50 -f3 save /dev/sdb1 ~/myUSB.part.gz
This will make a compressed, non-described, non-checked, image broken into 50Mb pieces called myUSB.part.gz### in your home directory.

You can now unplug the first stick (unless you booted from it).
Plug in the second, larger stick.
Assuming the new stick is /dev/sdc1, run the following:
Code:
partimage restore -b /dev/sdc1 -b ~/myUSB.part.gz000
This will write the image onto the new stick, along with the boot sector, hidden files and so on. One of the neat features is that the two partitions don't have to be the same size (like using DD or ghost would need).

If you wanted to, you can use this method for backing up any sort of storage device, too.
 
Old 08-16-2010, 05:32 PM   #6
jorbaud
LQ Newbie
 
Registered: Aug 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by linus72 View Post
just repeat the install on the 2nd usb using unetbootin and transfer the pup save manually
if no pupsave then just repeat the install
I did this and transfered my save over. I am on linux again but it still says I have the same memory left (62mb). I am running off of a 1gb instead of a 512mb now. How can I get it to realize it has more space?
 
Old 08-16-2010, 05:33 PM   #7
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
Quote:
but it still says I have the same memory left (62mb).
what do you mean ?

you mean you want to make the pupsave bigger?
 
Old 08-16-2010, 05:35 PM   #8
jorbaud
LQ Newbie
 
Registered: Aug 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by linus72 View Post
what do you mean ?

you mean you want to make the pupsave bigger?
I do not really know, sorry. How would I make the pupsave bigger?
 
Old 08-16-2010, 05:40 PM   #9
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Even simpler:

Code:
sudo dd if=/dev/sdb of=/dev/sdc
provided that /dev/sdb is your first USB device and /dev/sdc is your second USB device.
 
Old 08-16-2010, 05:46 PM   #10
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
jorbaud please be careful with dd
there may be an easier way Kenny

Doesnt the new puppy have the menu option at desktop to make the save bigger?

jorbaud what happens if you
boot puppy and at desktop open file manager
navigate to where the pup-save is and try to mount it?

make a folder to mount it on say "pup"
mkdir /pup
mount -o loop /path/to/pup_save /pup

replace "pup_save" with whatever the real name is
 
Old 08-16-2010, 10:04 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,383

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
We'd need to know how you installed puppy to proved the best answer. There are a few ways to install puppy.
 
  


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
No transfer process shown during USB transfer mad.slacker Slackware 6 01-23-2010 04:48 PM
Transfer data to USB using Linux terminal from Windows rap1984 Linux - Newbie 8 11-16-2009 09:48 PM
Install on USB to transfer to another HD cosmo289 Mandriva 6 06-21-2006 09:46 PM
USB Blocking PC on transfer MBH Linux - Hardware 2 05-27-2006 04:00 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 04:22 PM


All times are GMT -5. The time now is 06:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration