LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Running out of room on USB drive. (https://www.linuxquestions.org/questions/linux-newbie-8/running-out-of-room-on-usb-drive-4175486402/)

bart2201 11-30-2013 06:58 PM

Running out of room on USB drive.
 
I am running Puppy linux 5.2.8 using a 8gb usb drive. I am running out of room and need to know how large a partition can I make if I use a 64gb usb drive. Also would i have to re install linux if I switch to the new usb drive?

frankbell 11-30-2013 07:42 PM

You can make it as large as you want. I have a two terabyte external divided into two 1TB ext3 partitions and another 2TB NTFS external (it's attached to the dualboot box) that work just fine with Linux.

This article will tell you more: http://www.cyberciti.biz/tips/what-i...-by-linux.html

bart2201 11-30-2013 08:35 PM

Thanks Frank. I'm using this set up because my hard drive is pretty much dead and until I can afford to get things fixed I must use the Puppy Linux system. My lupusave file seems to get filled up pretty quickly and thats why I asking if I can make it 24gb or so with the larger drive. Currently my Sandisk usb drive is an 8gb but has zero room left. I've tried to access the lupusave file to delete things but cannot get to it. This is my only system and I'm extremely constricted by finances to get things back to where I can use my computer like i did before the drive started dying. As you can tell I'm not very computer literate but I do my best.

Just in case you are wondering why I just don't simply buy a new computer or at least pay to replace the hard drive, its because I'm a disabled Viet Nam era vet living on vets disability of $1038 a month so every penny is accounted for. By the way my system is an Acer ax1301-u1302 running the Athlon II 2700 processor with a 750gb hd. One very important question for you. Can I get an external hard drive and set it up to use as if it were the internal hard drive and would this enable me to once again have full functionality of my computer?

rokytnji 11-30-2013 08:53 PM

Quote:

Can I get an external hard drive and set it up to use as if it were the internal hard drive and would this enable me to once again have full functionality of my computer?
If you are running a frugal install. I assume so because you said

Quote:

My lupusave file seems to get filled up pretty quickly
So you should be able to move your personal save file over to the external drive just fine and puppy will find it on boot. I run a puppy 5.0.1 GuyDog install on a 128MB SD flash drive and keep my personal 2gig save in the internal hard drive on this latop.

Code:

sh-4.2# inxi -Fxz
Resuming in non X mode: glxinfo not found. For package install advice run: inxi --recommends
System:    Host: puppypc15741 Kernel: 2.6.39 i686 (32 bit, gcc: 4.4.5)
          Desktop: Openbox 3.5.0 Distro: Guy Dog Linux Linux 2.6.39 [ arch]
Machine:  System: Acer (portable) product: Aspire 5534 version: V1.10
          Mobo: Acer model: Aspire 5534 version: V1.10 Bios: Acer version: V1.10 date: 08/26/2009
CPU:      Dual core AMD Athlon X2 L310 (-MCP-) cache: 1024 KB flags: (lm nx pae sse sse2 sse3 svm) bmips: 4787.58
          Clock Speeds: 1: 1196.899 MHz 2: 1196.899 MHz
Graphics:  Card: ATI RS780M/RS780MN [Radeon HD 3200 Graphics] bus-ID: 01:05.0
          X.org: 1.7.7 driver: radeon tty size: 80x24 Advanced Data: N/A for root
Audio:    Card: ATI SBx00 Azalia (Intel HDA) driver: HDA Intel bus-ID: 00:14.2 Sound: ALSA ver: 1.0.24
Network:  Card-1: Atheros AR928X Wireless Network Adapter (PCI-Express) driver: ath9k bus-ID: 02:00.0
          IF: wlan0 state: up mac: <filter>
          Card-2: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller
          driver: r8169 ver: 2.3LK-NAPI port: 2000 bus-ID: 08:00.0
          IF: eth0 state: down mac: <filter>
Drives:    HDD Total Size: 250.2GB (20.3% used) 1: id: /dev/sda model: TOSHIBA_MK2555GS size: 250.1GB
          2: id: /dev/sdb model: Multi size: 0.1GB
Partition:
Sensors:  None detected - is lm-sensors installed and configured?
Info:      Processes: 78 Uptime: 2:25 Memory: 353.9/3546.9MB Runlevel: 5 Gcc sys: N/A Client: Shell (sh) inxi: 1.9.16

My save file sits in a ntfs partition even but is formatted (the file) as ext2 file system. I can grow it as needed.
You should be able to do the same on your lupu install but instead of internal hard drive (since you say it is broken) just
cut and paste over to the external drive. I also advise to make a duplicate of personal save file in case you bork it.
just copy and paste into a folder named backup. Then rename it to

whateversavebackup.2sfs. Move it out of the backup folder and place it next to the current save. That way you have a choice on bootup
which save file to use. I do this so in case I break my personal save file for what ever reason. I have a backup to boot into that
had my previous working changes. This is how I backup my Puppy frugal installs.

bart2201 11-30-2013 09:29 PM

Wow, thanks again you guys. I'll have to wait till I can get the drive but with the help you have provided I should be able to get things running fairly smoothly once again.

rokytnji 11-30-2013 10:27 PM

Just to elaborate on my post so you can see what I mean

Code:

sh-4.2# cd /mnt/home
sh-4.2# ls
book                        MSOCache            Recovery
BOOTSECT.BAK                OEM                    $Recycle.Bin
Documents and Settings        pagefile.sys            RHDSetup.log
fsckme.flg                PerfLogs            System Volume Information
guydogsave-1st.2fs        ProgramData            Users
guydogsave-1stbk.2fs        Program Files            Windows
hiberfil.sys                Program Files (x86)

That is /dev/sda internal sata drive that holds the Windows 7 install on this laptop. bk is shorthand for back up for me.

Code:

sh-4.2# fdisk -l

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1acc359d

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1              1        1567    12586896  27  Unknown
/dev/sda2  *        1568        1635      542694+  7  HPFS/NTFS
/dev/sda3            1635      30402  231066808    7  HPFS/NTFS

Disk /dev/sdb: 125 MB, 125960192 bytes
255 heads, 63 sectors/track, 15 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00035e01

  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1  *          1          15      120456    b  W95 FAT32
sh-4.2# blkid
/dev/loop1: UUID="5649d915-8dd0-4631-9144-bdb9551fbe66"
/dev/sda1: LABEL="PQSERVICE" UUID="84C0247FC0247996"
/dev/sda2: LABEL="SYSTEM RESERVED" UUID="9C2425202424FF40"
/dev/sda3: LABEL="Acer" UUID="AA0C59C40C598C67"
/dev/sdb1: UUID="8A34-DD0F"

Yours may be labeled /dev/sdb since your primary install is on flash drive and is already labled /dev/sda by the kernel.
You can find out by running fdisk -l or blkid like I did to find the correct name. Your personal save file should be in /mnt/home
on /dev/sda. You will move it over to /dev/sdb (remember, I am guessing this is going to be the name) to free up space on that flashdrive. On my bootup. I have 3 choices to boot. 0 is no personal save file. 1 is the original save file. 2 is the backup save file. Like regular menu choices.

Good luck and Happy Trails and Holidays, Rok


All times are GMT -5. The time now is 08:29 AM.