LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-16-2011, 04:25 PM   #1
dlefeber
LQ Newbie
 
Registered: Dec 2011
Posts: 2

Rep: Reputation: Disabled
Live USB with peristence, swap partition and extra storage partition


I have a 16GB Corsair Survivor flash drive that I have partitioned into three parts. The first partition (4.3 GB) contains the Ubuntu 11.10 live USB distro in which I used a USB tool to create. The second partition is a (6.7 GB) storage ext3, and the third partion is the remainder as a linux swap partition. The OS works fine but the other partitions are not usable. When I open my /etc/fstab there are no drives listed only

overlayfs / overlayfs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0

Moreover, the I did mount both partitions by going typing "sudo mount -a" in my terminal and fdisk -l listed them all. But I still cannot write to the ext3 partition and I cannot even find the swap partition.

So my question is how can I utilize the other two partitions. I have dropbox installed in my /home folder but I cannot sync the entire dropbox folder because there is not enough space. The dropbox folder is 6 GB and the casper-rw file(persistence) is only 4 GB, which cannot be increased because the file system is fat32. I want to move my /home folder to the ext3 and utilize the swap partition to improve system performance.
 
Old 12-16-2011, 05:24 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Usually that is one of the drawbacks to using a live sort of install to usb. Some distro's just don't let you easily mount the usb as a device. For lack of a better explanation the system thinks the usb drive is the cd drive.
At least that is what I have tended to see.

Since it is so big why not put it back to a single drive and do a normal type install? I do fine 8G. Some usb's just don't work as good as a real hard drive. I have no idea why either.

Last edited by jefro; 12-16-2011 at 05:26 PM.
 
Old 12-16-2011, 05:37 PM   #3
fingers99
Member
 
Registered: Nov 2011
Location: Liverpool UK
Distribution: Debian, Knoppix, Kanotix
Posts: 63

Rep: Reputation: Disabled
Just a thought -- if you can install from the live CD, why not simply install, creating the /storage partition in the process?

Usb drives do seem to be picky creatures -- you may have better luck with an SD card.
 
Old 12-16-2011, 06:16 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
http://www.pendrivelinux.com/create-...per-partition/

Do remember that USB 2.0 is only 480mb/s so your really not going to see any improvement with swap.
 
Old 12-16-2011, 10:38 PM   #5
dlefeber
LQ Newbie
 
Registered: Dec 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you everyone for your input. After a few tries to run a full desktop version directly from my USB and after considering michealk resonse; I decided the best solution is to maintain a live version on the USB and create a persistent drive as opposed to a casper-rw file.

Thank you for that link Michael. I actually saw that post earlier but wanted to try to have a swap partition.
I do not understand how the swap partition works; but, understandably 480 mbps is the fastest my usb 2.0 goes. So, that would at least to some degree reduce the benefit of a swap partition.
 
Old 12-17-2011, 02:29 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
That will work good for many things. Just don't try to do any updates that require changes to the original squash filesystem.
 
  


Reply



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
how to create new partition in existing live NAS storage Box. JATA01 Linux - Server 2 05-07-2010 01:59 AM
Linux, usb-storage... how to mount them and see their partition table Saradas Programming 5 11-12-2008 08:09 AM
Hard Drive Partition Management - Mandriva Double Partition with Swap File partition moshebagelfresser Linux - Hardware 2 05-23-2008 10:46 AM
USB Mass Storage Partition oulevon Linux - Hardware 3 11-20-2002 05:51 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:03 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