LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   puppy Linux on USB, not enough space (https://www.linuxquestions.org/questions/linux-newbie-8/puppy-linux-on-usb-not-enough-space-887622/)

malikge 06-21-2011 06:12 PM

puppy Linux on USB, not enough space
 
Hi.
I have a 16gb usb drive on which I have installed puppy linux.
On the desktop at the bottom right corner it shows that I have a 3.9gb persona storage space.

On my USB it shows 10gb of free space.

Now I want to install Java, netbeans and some other applications on it.
When I install, it says not enough space.
I tried to install it on the usb
Quote:

/mnt/home
but it gave me same message.

Any help?
Thanks

andrewthomas 06-21-2011 07:16 PM

post the output of (as root)

Code:

df -h

malikge 06-22-2011 11:00 AM

I have installed JAVA and it is working.
But when I try to install NetBeans on /mnt/home the installer runs , but give a message that
Quote:

Insufficient disk space for extracting the installation data. Additional 106.2 MB is required in /root/.nbi.

And when I try to install it on "my-documents". It gives the message that,
Quote:

There is not enough free disk space to extract installation data 156 MB of free disk space is required in a temporary folder.

On the bottom right corner I have
Quote:

3.9G personal storage, free space = 3.5G

andrewthomas 06-22-2011 01:01 PM

Quote:

Originally Posted by andrewthomas (Post 4392237)
post the output of (as root)

Code:

df -h

Post the output of the above command.

You need to type it into the terminal.

malikge 06-22-2011 03:01 PM

The output is:
Code:

Filesystem        Size        Used        Avail        Use%        Mount on
rootfs                501M    4.0M        497M          1%          /
/dev/sdb1        15G    4.2G    11G        28%        /initrd/mnt/dev_save
/dev/loop1        4.0G    908M    3.1G          23%    /initrd/pup_ro1
tmpfs                501M        4.0M    497M          1%    /initrd/pup_rw
tmpfs                125M    124M    876K        100%          /initrd/mnt/tmpfs
/dev/loop0        124M    124M      0          100%          /initrd/pup_ro2
unionfs                501M    4.0M    497M          1%    /
shmfs                185M      0        185M          0%    /dev/shm


Karl Godt 06-22-2011 05:45 PM

Please post the output of
Code:

. /etc/rc.d/PUPSTATE ; echo 'PUPMODE='"$PUPMODE"
. /etc/DISTRO_SPECS ; echo "$DISTRO_NAME" "$DISTRO_VERSION"
cat /etc/rc.d/BOOTCONFIG

About df -h :

dev/sdb1 15G 4.2G 11G 28% /initrd/mnt/dev_save : should be your usb-pen

/dev/loop0 124M 124M 0 100% /initrd/pup_ro2 : should be your Puppy.sfs

tmpfs 501M 4.0M 497M 1% /initrd/pup_rw : should be your pupsave-file.[2|3|4].fs ... why it is mounted tmpfs I'll have to study the initrd.gz

/dev/loop14.0G 908M 3.1G 23% /initrd/pup_ro1 : could be also your save-file or an additional .archive.sfs ; _ro1 indicates mounted read-only ... so not useable to install anything into it and mounted by the initrd.gz .

tmpfs 125M 124M 87 100% /initrd/mnt/tmpfs : also the main Puppy.sfs mounted second time . If that is really needed I don't know but is a leftover from the initrd.gz and standard in Puppy .

The output of the
Code:

mount
command would be useful also .

Karl Godt 06-22-2011 06:45 PM

After taking a short look into /init of initrd.gz :
Code:

#Unionfs layers setup by this script...
#unionfs layers:            RW (top)      RO1            RO2              PUPMODE
#full install, flash drive: tmpfs        PDEV1                            3
#First boot (or pfix=ram):  tmpfs                        pup_xxx.sfs      5
#pup_save is a partition:  PDEV1                        pup_xxx.sfs      6
#ditto, but flash drive:    tmpfs        PDEV1          pup_xxx.sfs      7
#Normal running puppy:      pup_save.3fs                  pup_xxx.sfs      12
#ditto, but flash drive:    tmpfs        pup_save.3fs    pup_xxx.sfs      13
#Multisession cd/dvd:      tmpfs        folders(tmpfs2) pup_xxx.sfs      77 (13+64)

Acoording to the df output it seems to be not a full install on flash drive because PDEV1=sdb1 and ro2 exists , no first-boot because ro1 exists , not a frugal installation with using the whole partition because ro1!=PDEV1 .

The only possibility here seems to be a normal frugal install on the usb drive .

The init script allocates the rw tmpfs by roughly the half size of free RAM ( + $EXTRAALLOCK ) .

You can install anything I guess , which is not larger extracted than the available 501M pup_rw at once .

I don't know anything about NetBeans or Java but the development downloads may be more than 100MB compressed .

Puppy seems to default to mount ro while installed to flash drive to reduce the writings to it to make it last longer . There is the icon on the desktop to click to save manually . There is a default value for writings to flash drives adjustable in Menu>System>Eventmanager .

alternatively you can try to
Code:

mount -o remount,rw /dev/loop1 /initrd/pup_ro1
manually for a period of time and
Code:

mount -o remount,ro /dev/loop1 /initrd/pup_ro1
after you finished your additional installations .

Because of low USB speed , I would install to HD if you want to compile . USB is for temp portability , fast and simple 3G internet access , and rescue the HD . It is also possible to boot Puppy from USB with an always rw save-file on HD by booting 'puppy pfix=ram' at bootsplash , clicking reboot in the menu and creating the save-file on the HD , not on the USB .

malikge 06-23-2011 01:27 AM

Sorry, but I did not fully understand what you have just said.
and is there no way I can make puppy linux persistence?
so I can take my usb anywhere with all my software and configurations installed.

malikge 06-23-2011 12:07 PM

:((

malikge 06-24-2011 12:11 PM

:(
.

Karl Godt 06-27-2011 03:48 AM

You dont't reach anything with such icons .

I requested the output of

Code:

. /etc/rc.d/PUPSTATE ; echo 'PUPMODE='"$PUPMODE"
. /etc/DISTRO_SPECS ; echo "$DISTRO_NAME" "$DISTRO_VERSION"
cat /etc/rc.d/BOOTCONFIG

and
Code:

mount
Just copy'n'paste this to the "console" urxvt or rxvt terminal.

This USB frugal installation is Puppy specific and I do not know any distros which uses this , too .

Mounting or booting an .ISO on an USB is similar to mounting or booting an .SFS , but no distro I know of uses a "save-file" .

There is a Puppy section here @LQ and also the murga-linx forum .

If you would have posted there , you would get much more replies , I guess .

malikge 06-27-2011 07:15 PM

I tried the murga-linx forum,
It requires Confirmation code to register user, and there is no confirmation code there, just a blank space.

the output of mount is:
Code:

rootfs on / type rootfs (rw,relatime)
/dev/sdb1 on /initrd/mnt/dev_save type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,quiet,errors=remount-ro)
/dev/loop1 on /initrd/pup_ro1 type ext2 (rw,noatime,errors=continue)
tmpfs on /initrd/pup_rw type tmpfs (rw,relatime)
tmpfs on /initrd/mnt/tmpfs type tmpfs (rw,relatime,size=127336k)
/dev/loop0 on /initrd/pup_ro2 type squashfs (ro,noatime)
unionfs on / type aufs (rw,relatime,si=a8d3f3d4)
none on /proc type proc (rw,relatime)
none on /dev/pts type devpts (rw,relatime,gid=2,mode=620)
none on /sys type sysfs (rw,relatime)
shmfs on /dev/shm type tmpfs (rw,relatime,size=188820k)
none on /proc/bus/usb type usbfs (rw,relatime)unionfs on / type aufs (rw,relatime,si=a8d3f3d4)
none on /proc type proc (rw,relatime)
none on /dev/pts type devpts (rw,relatime,gid=2,mode=620)
none on /sys type sysfs (rw,relatime)
shmfs on /dev/shm type tmpfs (rw,relatime,size=188820k)
none on /proc/bus/usb type usbfs (rw,relatime)

and
Code:

. /etc/rc.d/PUPSTATE ; echo 'PUPMODE='"$PUPMODE"
. /etc/DISTRO_SPECS ; echo "$DISTRO_NAME" "$DISTRO_VERSION"
cat /etc/rc.d/BOOTCONFIG


OUTPUT IS:
PUPMODE=13 ./etc/DISTRO_SPECS
Lucid Puppy 525 cat /etc/rc.d/BOOTCONFIG


Karl Godt 06-28-2011 03:54 AM

Code:

cat /etc/rc.d/BOOTCONFIG
and [ENTER] !

The output should look like :
PREVUNIONRECORD='sqpsave-002_1.3fs sqp-002.sfs'
LASTUNIONRECORD='sqpsave-002_1.3fs sqp-002.sfs'

Karl Godt 06-28-2011 04:13 AM

People messing with JAVA IDE and not willing to post simple shell instructions , I really start to hate .

I've looked for
http://netbeans.org/downloads/index.html

and the 200MD DL would extract to 600-800MB I guess and that would
definetely not fit into your 500MB
tmpfs 501M 4.0M 497M 1% /initrd/pup_rw
at once .

You would need to upgrade the RAM for 1GB to get 500MB tmpfs more.

malikge 06-28-2011 08:24 PM

cat /etc/rc.d/BOOTCONFIG

Quote:

PREVUNIONRECORD='lupusave_crypta-first.2fs lupu_525.sfs'
EXTRASFSLIST=' skype_static-2.1.0.81.sfs'
LASTUNIONRECORD='lupusave_crypta-first.2fs lupu_525.sfs skype_static-2.1.0.81.sfs'
You have previously mentioned that it it a frugal install.
By making a full install again, should solve this problem???


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