How do I save files on XP harddrive?

Booting, installing, newbie
Post Reply
Message
Author
dog_soldier
Posts: 5
Joined: Wed 11 Jan 2006, 17:54

How do I save files on XP harddrive?

#1 Post by dog_soldier »

is there a way to save linux files on a harddrive with xp pro on it and use them in pup?
im really new at linux so please be nice :D
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

Yes. You can create a "virtual harddrive" in one big file.

The blue lines you must enter in a Console-window.

In XP, download one of these files:
http://dotpups.de/files/pup001-different-sizes/

Extract it, but pay attention it does not overwrite an existing pup001
Extract for example to c:\puppyfiles\
Rename the extracted pup001 to puppyharddrive

In Puppy, create a new folder /root/harddrive
Now you can mount the file you had created in XP:
mount -o loop /mnt/home/puppyfiles/puppyharddrive /root/harddrive/

Then you can open it in ROX, and delete the files in there.
You now can save new files in it.

It is important to unmount it, before you shutdown, or it might be corrupted:
sync && umount /root/harddrive/

Mark
dog_soldier
Posts: 5
Joined: Wed 11 Jan 2006, 17:54

#3 Post by dog_soldier »

thanks mark
does it matter which pup001 file i get? i have a 40 gig hd.
again thanks
im sure ill have more questions as this is all new to me
also does this mean lets say i get wine and put in the c:\puppy folder i can run wine from there and if wine needs something else for it to work it will put it into c:\puppy or add it to cd ? is my thinking right?
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#4 Post by MU »

choose the file of the size you need.
the 2881MB- file is approx. 3 Gigabyte in size after extraction (it is the largest, I could create larger ones).
Note this one is packed twice, as zip just can handle files up to 2 GB.
Winzip should be able to extract the .gz in the .zip.

No, you could not simply extract wine there.
Wine is supposed to reside in /usr

But you could install wine, and then move the folders to the harddrive-file.
Then you would have to create symlinks (a symlink is a "pointer" to another file or folder).

Example:
Move
/usr/share/wine to /root/harddrive/usr/share/wine
ln -s /root/harddrive/usr/share/wine /usr/share/wine

This fools puppy to believe, the files still are in /usr


I use XFE for this.
In the left window, navigate to
/usr/share/
In the right window, navigate to
/root/harddrive/usr/share/
Now rightclick the "wine" in the right window, and click on "symlink".
Then it asks for a name for the symlink, enter "wine".

http://www.murga.org/~puppy/viewtopic.p ... hlight=xfe

Mark
dog_soldier
Posts: 5
Joined: Wed 11 Jan 2006, 17:54

#5 Post by dog_soldier »

thanks again mark
man i feel so stupid with this linux stuff. i can fix a windows machine
no problem but feel totally lost now.just like the first day with windows.
any way i went to wines website to get wine and not sure which one to get.
i did get the pup0001 file though.
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#6 Post by MU »

No, don't get wine from the wine-website.
use this:
http://dotpups.de/grafpup/unleashed_pac ... 9.5.tar.gz

Extract it, it contains a file "usr_more.sfs". (you can extract it with winzip in XP or with pupzip).
Put it where your pup001 and usr_cram.fs is located.
Then reboot puppy and run "winecfg" in a consolewindow.
This file will be used automatically from puppy (should be,sometimes it does not work. Just try it and report the result).

Mark
Post Reply