WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to mount TC`s image file?  (Read 3189 times)

Offline SunBurnt

  • Full Member
  • ***
  • Posts: 102
How to mount TC`s image file?
« 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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11221
Re: How to mount TC`s image file?
« Reply #1 on: August 06, 2011, 05:28:11 PM »
Hi SunBurnt
If you are trying to mount the ISO, try searching for loop mounting.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: How to mount TC`s image file?
« Reply #2 on: August 06, 2011, 05:31:39 PM »
There are examples of mounting an iso here.

http://wiki.tinycorelinux.net/wiki:update
Many people see what is. Some people see what can be, and make a difference.

Offline SunBurnt

  • Full Member
  • ***
  • Posts: 102
Re: How to mount TC`s image file?
« Reply #3 on: August 06, 2011, 05:43:58 PM »
Thanks Guy; But no help that I can see. Here`s the command I use and the error.
Code: [Select]
mount -o loop ./tinycore /mnt/data
mount: you must specify the filesystem type

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: How to mount TC`s image file?
« Reply #4 on: August 06, 2011, 06:12:24 PM »
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.
Many people see what is. Some people see what can be, and make a difference.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1217
Re: How to mount TC`s image file?
« Reply #5 on: August 06, 2011, 07:26:13 PM »
Sure about ./tinycore being what we'd normally call tinycore_3.8.iso or so?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11221
Re: How to mount TC`s image file?
« Reply #6 on: August 06, 2011, 07:35:48 PM »
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.


Offline SunBurnt

  • Full Member
  • ***
  • Posts: 102
Re: How to mount TC`s image file?
« Reply #7 on: August 06, 2011, 09:10:38 PM »
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.
Code: [Select]
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.
Code: [Select]
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?
« Last Edit: August 06, 2011, 09:14:21 PM by SunBurnt »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11221
Re: How to mount TC`s image file?
« Reply #8 on: August 06, 2011, 09:20:27 PM »
Hi SunBurnt
Go to the Wiki and look under remastering. It tells you how to unpack tinycore.gz so you can
examine it.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: How to mount TC`s image file?
« Reply #9 on: August 06, 2011, 09:26:10 PM »
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
Many people see what is. Some people see what can be, and make a difference.

Offline SunBurnt

  • Full Member
  • ***
  • Posts: 102
Re: How to mount TC`s image file?
« Reply #10 on: August 06, 2011, 09:32:02 PM »
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...
« Last Edit: August 06, 2011, 09:39:17 PM by SunBurnt »