Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 19 Dec 2014, 06:53
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Understanding mounts/memory/RAM & filesystems/_save file
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 5 [62 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
Sylvander

Joined: 15 Dec 2008
Posts: 3550
Location: West Lothian, Scotland, UK

PostPosted: Tue 24 Jan 2012, 04:59    Post subject:  

1. See this post of mine on the topic of choosing when/if/not to save during the session and at shut-down.

2. In particular:
To be given the choice at shutdown "to save or not to save".
File to be edited is: /etc/rc.d/rc.shutdown
OR...

3. Lupu-528.004 has had natively included within it, a simple method that when switched on gives the user a choice "to save or not to save" at shut-down.
It's explained by rerwin in a post in the Lupu thread.
i.e. See this post...
Where he says:
"Allows user to choose to be asked whether to save during shutdown, by setting "ask" in the /etc/shutdown_save_mode file."
Back to top
View user's profile Send private message 
Johnny Pest

Joined: 19 Jan 2012
Posts: 5
Location: Philippines

PostPosted: Fri 16 Mar 2012, 07:38    Post subject:  

Thank you!

That helped a lot
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger 
bakekoq

Joined: 12 Jun 2012
Posts: 18

PostPosted: Wed 20 Jun 2012, 10:15    Post subject: ASK  

Hello, I'm a newbie here.
I lookup with my mouse to one icon on the bottom right (it's green multi bar horizontal). I look the message is:
"504M personal storage, free space = 408M. Click for Partview and Version info"

Can U help me for explaining about this? My Ram is 2GB and it's detected in bios. so, why does this free space + personal storage only cover 1 GB? do I miss something here?
Back to top
View user's profile Send private message 
RetroTechGuy


Joined: 15 Dec 2009
Posts: 2673
Location: USA

PostPosted: Wed 20 Jun 2012, 10:44    Post subject: Re: ASK  

bakekoq wrote:
Hello, I'm a newbie here.
I lookup with my mouse to one icon on the bottom right (it's green multi bar horizontal). I look the message is:
"504M personal storage, free space = 408M. Click for Partview and Version info"

Can U help me for explaining about this? My Ram is 2GB and it's detected in bios. so, why does this free space + personal storage only cover 1 GB? do I miss something here?


When you created a frugal install, you saved a workspace file (in your case, it appears 512MB) which sits on your hard disk.

That report is the size of the save file, and available space for saved files.

Of course, Puppy can also access all of the disk space, and files saved there are available to any other OS you may have.

_________________
Add swapfile
Back to top
View user's profile Send private message 
bakekoq

Joined: 12 Jun 2012
Posts: 18

PostPosted: Thu 21 Jun 2012, 13:04    Post subject:  

owh I see..
btw, is it really safe for me if my free space becoming 39M? I think I really used up the space of saved files. hmm.. btw, is it really giving any effect for my puppy?
Back to top
View user's profile Send private message 
RetroTechGuy


Joined: 15 Dec 2009
Posts: 2673
Location: USA

PostPosted: Thu 21 Jun 2012, 13:28    Post subject:  

bakekoq wrote:
owh I see..
btw, is it really safe for me if my free space becoming 39M? I think I really used up the space of saved files. hmm.. btw, is it really giving any effect for my puppy?


You will run out of file storage space.

Open the little house in the upper corner ("home" which is actually /root/)

Click the arrow up (this takes you to "/")

Click on the folder "mnt"

Drag the "home" folder icon to your desktop (it won't actually move it, but make a copy). This will give you a shortcut to your hard disk on your Puppy desktop.

That "home" folder (not to be confused with the house in the corner) is your hard disk, where your Lupusave file lives. If you have Windows installed, you will also see your Windows folders.

If you make a folder there, and store your stuff, it won't fill up your Lupusave -- and it will be accessible to Windows (or whatever other OS you might have).

_________________
Add swapfile
Back to top
View user's profile Send private message 
tannaroo

Joined: 17 Feb 2013
Posts: 23

PostPosted: Tue 02 Apr 2013, 08:55    Post subject:  

Hi,

I'm a newbie. I created a live multi-session CD for Precise Puppy 5.5 which works a treat.

I tried to install a program (Teamviewer) using another thread but I need to modify one of the files (as a text editor). However, when i try to modify the file, it says read write error. is this because I am using a live multi-session CD and it is mounted?

How can i make adjustments to the file if I am using a live multi-session CD?

Thanks
Back to top
View user's profile Send private message 
Jasper


Joined: 25 Apr 2010
Posts: 1203
Location: England

PostPosted: Tue 02 Apr 2013, 10:11    Post subject:  

Hi tannaroo,

Do not mount your CD manually (its contents are booted into RAM).

If any of your drives is mounted (especially any CD drive usually the first is labelled sr0 with any second CD drive labelled sr1) it will have a small red x in the top right hand corner of its desktop drive icon - then you can click the red x to unmount it.

With the CD unmounted try making your teamviewer change(s). If that works you can (if you wish) save the changes to your CD on Shutdown/Reboot (or even immediately using the desktop save icon and then ignore any spurious error message if that happens on reboot).

My regards
Back to top
View user's profile Send private message 
tannaroo

Joined: 17 Feb 2013
Posts: 23

PostPosted: Tue 02 Apr 2013, 10:27    Post subject:  

thanks jasper

when i unmount it though, the CD/tray pops out of the drive, so i cant access the file.

and everytime i try to open the file on the CD that needs changing, the CD mounts (i.e. little red cross).

or there another way to access the file by preventing the Cd to mount?

Note: the file that needs changing is on the live CD which saves my session
Back to top
View user's profile Send private message 
Jasper


Joined: 25 Apr 2010
Posts: 1203
Location: England

PostPosted: Tue 02 Apr 2013, 10:36    Post subject:  

Hi tanneroo,

Just give the CD drive tray a gentle push to close it. (You could even take the CD out - but obviously you would need it in (though not mounted) before you can save back to it).

Just access the files you want to change (the desktop file icon is probably in the top left corner of your screen).

My regards
Back to top
View user's profile Send private message 
tannaroo

Joined: 17 Feb 2013
Posts: 23

PostPosted: Tue 02 Apr 2013, 10:42    Post subject:  

sorry jasper - i'm just not following.

if i take the CD out then mnt/sr0 is blank (since the files that i need to change are on the CD0.

if the CD is in then mnt/sr0 has all of the files.

somehow, i need to unmount sr0 but still access/change the files on sr0 - is this possible?
Back to top
View user's profile Send private message 
Jasper


Joined: 25 Apr 2010
Posts: 1203
Location: England

PostPosted: Tue 02 Apr 2013, 10:50    Post subject:  

Hi tanneroo,

To gain understanding - remove the CD - everthing is in RAM - you can make whatever changes you want to and you can do anything and everything that you could do if your OS were on your Hard Drive (instead of loaded into RAM from your CD).

Now reread my earlier posts and come back if you need to.

My regarfs
Back to top
View user's profile Send private message 
tannaroo

Joined: 17 Feb 2013
Posts: 23

PostPosted: Tue 02 Apr 2013, 11:00    Post subject:  

Thanks - I got it.

I made the changes via usb/bin/teamviewer (which is RAM)

and then can save it to CD (mnt/sr0/usr/bin/teamviewer).

after all that, my program teamviewer doesnt work so there is something else wrong which i need to investigate
Back to top
View user's profile Send private message 
`f00


Joined: 06 Nov 2008
Posts: 809
Location: the Western Reserve

PostPosted: Tue 02 Apr 2013, 19:10    Post subject:
Subject description: multisession basics
 

hi tannaroo Very Happy - not real sure about precise 5.5, but in general (multisession)..

..) 'saving' directly to your mounted disc via a filemanager doesn't work that simply if at all - please to read again what Jasper went over previously. If you're really interested in what goes on, observe what happens in the console when you try the in-session save2dvd shortcut on the desktop (tip: do not have sr0 mounted Wink ).

a) savedirs - the date-timed (according to when you saved) dirs have all your changes made when you saved session. You can examine them individually (with the disc mounted) and copy stuff to your working session (in RAM). They are read only, thus non-editable in their place in the savedir .. the copy in RAM you can edit. If the file already shows in your working session, you may need to overwrite what's there or change the permissions/properties.

b) deleting - in many cases this is accomplished by a 'whiteout'. File or dir (name) gets a special .wh.. prefix which covers over the deleted item in the layering system .. normally neither you nor the running file manager can 'see' these because that's how it works. It can be a real pitb sometimes, like if/when you need to copy an item with the same name in the same path it was deleted from. No can do -> error message results, Embarassed

c) /initrd/pup_ro* and rw - now for some fun without mounting the disc! ro is short for read only, rw for read write .. only one rw (the current session changes) but * is a number with ro2 being the main pup sfs and other variations on numbering depending on extra sfs files and so on (ro1 is a merge of all your savedirs, if I recall correctly). These are all layered to plan, ro2 being the base, then extra sfs, then ro1 (oldest to most recent savedirs merged) and finally rw on top .. this is what you and the file manager 'see' normally (does b) make sense now Laughing ?)

d) /.badfolders - At bootsplash, if you've ever done the "puppy pfix=*" with * being how many savedirs you wish to stop from being loaded (1 is most recent to however many), then you'll have this file. Not a bad idea to try it on a 'throwaway' saved session just to see what it is even if you don't need it. It can be a way out of having a troublesome savedir in the merge. If you save your current session with that .badfolders file in place it will show up at next boot with the date-timed savedir "marked as bad" in the load sequence.

hope that helps and good luck
Back to top
View user's profile Send private message 
Winescape

Joined: 08 Dec 2013
Posts: 6

PostPosted: Sun 08 Dec 2013, 15:13    Post subject: Please help...Unable to unmount USB flash drive  

I hope this is the correct place to post this request.

I am running Wary Puppy from a USB flash drive plugged into my HP 510 laptop (which has a crashed Win XP system installed). Wary Puppy is to be the rescuer, and eventually may be the main OS...I like it a lot.

The first time I used Wary, I was able to mount and dismount all drives shown, and copy some key Win XP files...thanks for this.

However, on the second use, I am unable to dismount the Wary USB drive.

When I try to unmount, the error message I receive is "/dev/sdb1 mounted as /initrd/mnt/dev_save is in use by Puppy. You cannot unmount it."

Yikes. I tried Google, but am not clear about how to proceed. I would appreciate some steps to take so that I can unmount this USB and turn off the laptop without corrupting the Wary Puppy.

All help welcome. Thanks.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 4 of 5 [62 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0910s ][ Queries: 13 (0.0058s) ][ GZIP on ]