Tiny Core Linux
General TC => General TC Talk => Topic started by: SunBurnt on August 06, 2011, 05:23:14 PM
-
I`m trying to mount the image file "tinycore". Mount command asks for the file system, I tried them all.
I`ve never had to specify the file system before, the mount command usually figures it out for you.
-
Hi SunBurnt
If you are trying to mount the ISO, try searching for loop mounting.
-
There are examples of mounting an iso here.
http://wiki.tinycorelinux.net/wiki:update
-
Thanks Guy; But no help that I can see. Here`s the command I use and the error.
mount -o loop ./tinycore /mnt/data
mount: you must specify the filesystem type
-
I assume you are trying to mount the iso.
This uses different directories to you, but explains how it works.
Create a new directory in /home/tc/dl. Let's call it tmp.
Open the terminal and type
sudo su
cd /home/tc/dl
/bin/mount tinycore_3.6.iso tmp
or
sudo su
cd /home/tc/dl
busybox mount tinycore_3.6.iso tmp
You don't need to use -o loop
Use:
sudo
and
/bin/mount or busybox mount
If your file is tinycore_3.8.iso, you need to call it that.
-
Sure about ./tinycore being what we'd normally call tinycore_3.8.iso or so?
-
SunBurnt only said it was an image file. He never actually said whether it was an ISO or some other
format. It's possible that busybox mount doesn't support that format and that he needs the stand alone
version of mount. Or maybe the image file is corrupted and mount cannot identify it.
-
Sorry guys... I thought it was clear ( assume, assume...).
The image file "tinycore" inside tinycore.gz. I want to know how Tiny Core works!
This is the try and the error I got using TC to attempt to mount it.
tc@box:/mnt/hda3/1/TinyCore$ sudo mount -o loop ./tinycore /mnt/data
mount: mounting /dev/loop21 on /mnt/data failed: Invalid argument
And this is using no " -o loop " option.
tc@box:/mnt/hda3/1/TinyCore$ sudo mount ./tinycore /mnt/data
mount: mounting /dev/loop21 on /mnt/data failed: Invalid argument
I wonder if it`s a Squash file?
-
Hi SunBurnt
Go to the Wiki and look under remastering. It tells you how to unpack tinycore.gz so you can
examine it.
-
To extract files such as tinycore.gz and microcore.gz, use
cd directory
zcat tinycore.gz | sudo cpio -i -H newc -d
http://wiki.tinycorelinux.net/wiki:tar
-
Ahhh... Of course, it`s a cpio file, not an image. No mounting.
It took me a few seconds to get cpio.gz and plug in your command. Done!
Thanks Guy, Rich, and hiro...