LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-21-2011, 06:12 PM   #1
malikge
LQ Newbie
 
Registered: Jun 2011
Posts: 11

Rep: Reputation: Disabled
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
 
Old 06-21-2011, 07:16 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
post the output of (as root)

Code:
df -h
 
Old 06-22-2011, 11:00 AM   #3
malikge
LQ Newbie
 
Registered: Jun 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
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
 
Old 06-22-2011, 01:01 PM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by andrewthomas View Post
post the output of (as root)

Code:
df -h
Post the output of the above command.

You need to type it into the terminal.
 
Old 06-22-2011, 03:01 PM   #5
malikge
LQ Newbie
 
Registered: Jun 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
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
 
Old 06-22-2011, 05:45 PM   #6
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 314

Rep: Reputation: 45
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 .
 
Old 06-22-2011, 06:45 PM   #7
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 314

Rep: Reputation: 45
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 .

Last edited by Karl Godt; 06-22-2011 at 06:49 PM.
 
Old 06-23-2011, 01:27 AM   #8
malikge
LQ Newbie
 
Registered: Jun 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
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.
 
Old 06-23-2011, 12:07 PM   #9
malikge
LQ Newbie
 
Registered: Jun 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
(
 
Old 06-24-2011, 12:11 PM   #10
malikge
LQ Newbie
 
Registered: Jun 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled

.
 
Old 06-27-2011, 03:48 AM   #11
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 314

Rep: Reputation: 45
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 .
 
Old 06-27-2011, 07:15 PM   #12
malikge
LQ Newbie
 
Registered: Jun 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
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
 
Old 06-28-2011, 03:54 AM   #13
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 314

Rep: Reputation: 45
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'
 
Old 06-28-2011, 04:13 AM   #14
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 314

Rep: Reputation: 45
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.
 
Old 06-28-2011, 08:24 PM   #15
malikge
LQ Newbie
 
Registered: Jun 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
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???
 
  


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 install HP F2280 usb printer in Puppy Linux 5.2.5 drog Linux - Newbie 3 09-06-2011 06:54 AM
Getting Belkin usb wifi to work in puppy linux kitkatjack Linux - Newbie 1 06-18-2011 01:52 PM
Puppy Linux from USB compassman495 Linux - Software 2 08-23-2009 03:15 PM
Swap space on puppy ernesto4160 Linux - Software 1 07-11-2007 09:24 AM
puppy linux on a usb stick box_l Linux - General 1 06-25-2006 09:05 PM

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

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