Best Swap File Setup & HDD Access Problem in 4.11?

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

Best Swap File Setup & HDD Access Problem in 4.11?

#1 Post by edoc »

Questions about the Swap File & HDD Access in Puppy 4.11

1. Does it matter where the Swap File is located?

First, last, or even on a different HDD than the primary bootable HDD?
(The latter question is rhetorical since I only have one HDD on my
laptop.)

2. Am I correct that the Swap File is formatted as Primary Partition and linux-swap in GParted?

3. Both of my laptop installs are 4.11 Frugal both HDD's are Primary & Bootable but on this one sda1 is /initrd/mnt/dev_save and on the other it is /initrd/mnt/dev_ro2 I cannot copy files to either HDD - I get an out of space error even though there are 70+G of available space. Why would that be, please?

(Note: It is Mounted. Right now it appears that anything I try to copy from an external USB HDD to the internal HDD merely goes to the tmp which I take to be the Swap file.)
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#2 Post by Béèm »

I think I advised you already to read [urlhttp://www.puppylinux.com/development/howpuppyworks.html]this document[/url] for a better comprehension of puppy's working.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#3 Post by edoc »

I cannot get that URL to open - it keeps timing out.

EDIT: Finally got into that URL - it is interesting but very dated (2006) and complex beyond what I really needed. Unless I missed something there is nothing there which addresses my specific questions (see previous) and problems.

BTW: This is a really helpful Thread with a link to a video of an install:
http://www.murga-linux.com/puppy/viewtopic.php?t=29653

I have read through it twice and posted a couple of questions on page 5 of the thread - no answers yet. I created this thread so that my specific circumstances do not clutter that thread.

It is really weird that only under 4.11 I cannot write to my HDD drives when loaded as Frugal.

Both laptops worked fine in 3.1 and this one was working OK briefly in 4.1

Also, I read somewhere that the HDD should be Flagged Boot and LBA but GParted will not allow me to add the LBA Flag.

Any chance these are known problems with 4.11?
Last edited by edoc on Fri 14 Nov 2008, 21:30, edited 2 times in total.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#4 Post by edoc »

Just noticed something else weird.

sda1 (the only hdd) does not show up in /mnt

Also, in Puppy Video Wizard on my other laptop xorg only offers two 1400x1050 options, nothing lower - I have never experienced that from xorg before.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#5 Post by edoc »

I did searches on "psubdir" and on "ext3 frugal" and found some interesting stuff.

(I had pasted the URL's in here twice - after re-issuing the searches but for some bizarre reason the "ins" key when bumped closes all of the open Seamonkey windows! (I bumped it twice and don't have time to do the searches again just now.)

Anyhow, the only odd thing I noted in GRUB was pmedia=atahd so I just changed it to pmedia=idehd I also added "noacpi" just in case! :-)

/etc/rc.d/PUPSTATE looked the same as those Forum and Barry's Blog threads said it should (e.g. DEV1FS="ext3"

After a reboot sda1 now shows up in ROX-filer and Pmount ... BUT when I try to copy a file from the external USB drive sdc1 it still only goes to the Swap File and not to the HDD sda1.

Not really sure where to look next! :-(
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#6 Post by edoc »

Another Note: Seamonkey with Puppy 4.11 ext3 and Frugal on this laptop is unstable. When I pressed Submit for the prior post it sent then closed Seamonkey - without any error message or request to send a crash report. Very odd.

Also, on the other laptop which I have been discussing I just rebooted using Puppy pfix=ram then swapoff /dev/sda2 then opened GParted to see what may have changed.

All appears well ... BUT ... I cannot toggle on LBA and still do not know if that is necessary (I tried it with boot on and boot off) - GParted just cycles back to the same pop-up window and ignores my request to activate the LBA flag - no error message.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#7 Post by technosaurus »

how many threads did you start?

Yes there is a whole thread dedicated to this problem it is something like [insert here] kills seamonkey

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#8 Post by edoc »

technosaurus wrote:how many threads did you start?
Two threads for two different problems, as instructed by the list moms..
Yes there is a whole thread dedicated to this problem it is something like [insert here] kills seamonkey
This is it - apparently a wide-ranging and long-term unresolved problem. Someone apparently needs to write some code to capture the error and stop it from triggering a crash. Wish I knew how! Meanwhile will have to try to avoid that key when in an edit window. I only bumped it because the keyboard layout on this laptop is very different than my other laptop.
http://www.murga-linux.com/puppy/viewto ... 23bc7844cf
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#9 Post by Pizzasgood »

Just noticed something else weird.

sda1 (the only hdd) does not show up in /mnt
That's because in all likelihood is is mounted at /initrd/mnt/dev_save which is symlinked to /mnt/home. Puppy does that with whichever partition the pup_save.2fs file is on.

Also, in Puppy Video Wizard on my other laptop xorg only offers two 1400x1050 options, nothing lower - I have never experienced that from xorg before.
Odd. The file it generates is /etc/X11/xorg.conf, and the resolution settings should be near the bottom, if you want to try modifying them by hand.

This is it - apparently a wide-ranging and long-term unresolved problem. Someone apparently needs to write some code to capture the error and stop it from triggering a crash. Wish I knew how! Meanwhile will have to try to avoid that key when in an edit window. I only bumped it because the keyboard layout on this laptop is very different than my other laptop.
http://www.murga-linux.com/puppy/viewto ... 23bc7844cf
Did you see the stuff I posted at the end of the thread? I put together a new gtk package compiled with the --enable_debug option and it seems to have fixed everything. Been running it for almost a week now and haven't noticed any side effects. Note: I also used the --enable_xinput option to provide support for people with things like pressure sensitive tablets. That option has nothing to do with the bug though. Using only the --enable_debug fixed it when I was testing.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#10 Post by edoc »

# ls -l /mnt/home/
total 524828
drwxr-xr-x 3 root root 4096 2008-11-17 18:24 boot
drwx------ 2 root root 16384 2008-11-17 17:34 lost+found
drwxr-xr-x 2 root root 4096 2008-11-17 19:32 pup411
-rw-r--r-- 1 root root 536870912 2008-11-17 19:16 pup_save.2fs

# echo "test test test" > /mnt/home/TEST_FILE


# ls -l /mnt/home/
total 524832
drwxr-xr-x 3 root root 4096 2008-11-17 18:24 boot
drwx------ 2 root root 16384 2008-11-17 17:34 lost+found
drwxr-xr-x 2 root root 4096 2008-11-17 19:32 pup411
-rw-r--r-- 1 root root 536870912 2008-11-17 19:16 pup_save.2fs
-rw-r--r-- 1 root root 15 2008-11-18 09:19 TEST_FILE

# cat /mnt/home/TEST_FILE
test test test
#

# rm /mnt/home/TEST_FILE
#
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#11 Post by edoc »

CatDude walked me through what appears to be the solution to a problem in the setup of Puppy 4.11

He had me Move /root/my-documents into /mnt/home then drag my-documents back to /root using Link (relative).

Now I can perform the normal function of copying files and folders into my-documents without running into the bottleneck of the Personal Storage File or the pup_save file (the first limited to 1.8G the second to 4G).

I have done the same with /root/.mozilla and am now copying my backup .mozilla content so I may resume normal use of my laptop.

The Puppy folks really need to fix the install process so that these links of common folders (or /root itself) is done automatically. I have wasted 4 days and dozens of posts to chase this down - no typical user (esp. non-Geek) would have bothered. The Geeks can always remove the linked folders if they don't want them.

WDYT?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#12 Post by edoc »

Moving /root/.mozilla to /mnt/home and symlinking it from /root/.mozilla does not work - Seamonkey says it now cannot find the Default folder.

Do I need to symlink /root?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#13 Post by edoc »

CatDude directed me here:
http://www.linuxquestions.org/linux/ans ... ows_Set_up

This appears to contain the essence of what I need to know to solve my /root/.mozilla problem.

CatDude also sent some additional details which I am now going to try out to see how badly I can mess up what sounds easy when he does it ... :roll:
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#14 Post by edoc »

Just observed something that I do not understand but that appears to relieve a problem with the Personal Storage File size being constantly challenged via normal user activity.

Instead of opening file (the icon of a house on the top left of the screen) and saving files and folders there if one opens sda1 and saves them there the Personal Storage File is unaffected.

I tested this by moving all of the documents and images my family had stored in "the house" (file) to sda1 and my reported available Personal Storage File space swelled.

Can anyone explain this, please?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#15 Post by rcrsn51 »

Can anyone explain this, please?
Think of the savefile of a frugal install as being like the glove compartment of your car. It's more organized, but it has limited size.

Think of the rest of your hard drive as being like the back seat of your car. It's less organized, but you have way more space.

In a frugal install, anything you save through the "file" icon goes into the savefile. Anything you save through /mnt/sda1 goes into the rest of the partition outside of the savefile.

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#16 Post by edoc »

Got it, thanks!

Perhaps something needs to be placed somewhere that makes this more explicit?

When I was struggling with the whole Save File, etc. mess no one mentioned this at all and it sure is not intuitive.

I have changed the name of the icon on the family desktop to read "Do Not Save Here - Use sda1 (below)"

It is not elegant but gets the job done.

Perhaps forcing a pop-up when the file/house icon is pressed that explains this might be in order?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

Post Reply