How to create a 3fs/ext3 file and mount it?

Booting, installing, newbie
Post Reply
Message
Author
snayak
Posts: 422
Joined: Wed 14 Sep 2011, 05:49

How to create a 3fs/ext3 file and mount it?

#1 Post by snayak »

Dear All,

How to create a 3fs/ext3 file and mount it?
What are the commands?

Looking to create a personal 3fs/ext3 file in my FAT partition for installing xampp into it.

Not asking, how to create a pupsave.3fs file.

Sincerely,
Srinivas Nayak
[Precise 571 on AMD Athlon XP 2000+ with 512MB RAM]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]

[url]http://srinivas-nayak.blogspot.com/[/url]

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#2 Post by bigpup »

Something here may be what you want.
http://www.google.com/cse?cx=0159956439 ... make%20sfs
Here is Google Puppy specific search
http://wellminded.com/puppy/pupsearch.html
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
MinHundHettePerro
Posts: 852
Joined: Thu 05 Feb 2009, 22:22
Location: SE

Re: How to create a 3fs/ext3 file and mount it?

#3 Post by MinHundHettePerro »

snayak wrote:Dear All,

How to create a 3fs/ext3 file and mount it?
What are the commands?

Looking to create a personal 3fs/ext3 file in my FAT partition for installing xampp into it.

Not asking, how to create a pupsave.3fs file.

Sincerely,
Srinivas Nayak

Code: Select all

dd if=/dev/zero of=FILENAME.3fs bs=1M count=64;mkfs.ext3 FILENAME.3fs
for to make a 64 MB file FILENAME.3fs.

To mount it at e.g. /mnt/data:

Code: Select all

mount -t ext3 - loop FILENAME.3fs /mnt/data
, and to unmount it:

Code: Select all

umount /mnt/data
.

To use a unique mountpoint:

Code: Select all

mkdir /mnt/xampp_mntpnt
, exchange /mnt/data in the example above for /mnt/xampp_mntpnt.

hth :)/ MHHP
[color=green]Celeron 2.8 GHz, 1 GB, i82845, many ptns, modes 12, 13
Dual Xeon 3.2 GHz, 1 GB, nvidia quadro nvs 285[/color]
Slackos & 214X, ... and Q6xx
[color=darkred]Nämen, vaf....[/color] [color=green]ln -s /dev/null MHHP[/color]

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#4 Post by mcewanw »

Yes, that would be another simple way of getting your xampp working. Just untar into that mounted ext3 file, which you could link to from /opt or you could make a directory called /opt/lampp and mount it to there. Probably better to make an sfs out of it though, since Puppy is designed to load these automatically.
github mcewanw

snayak
Posts: 422
Joined: Wed 14 Sep 2011, 05:49

#5 Post by snayak »

Dear mcewanw,

Your idea is good, to make an sfs.

3fs was my idea ;-)

Sincerely,
Srinivas Nayak
[Precise 571 on AMD Athlon XP 2000+ with 512MB RAM]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]

[url]http://srinivas-nayak.blogspot.com/[/url]

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#6 Post by mcewanw »

I cannot claim any credit. Both ideas are quite commonly used I think. I have an underlying ntfs filesystem so I do most of my development work on a mounted ext2 formatted file there, and sfs is often used on Puppy and also tinycore and others.
github mcewanw

Post Reply