WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How do I mount a virtual hd in TC 3.8.2?  (Read 1525 times)

Offline meo

  • Hero Member
  • *****
  • Posts: 651
How do I mount a virtual hd in TC 3.8.2?
« on: August 17, 2011, 08:26:43 AM »
Hi Y'all!

I've tried everything I can come to think of. Have checked both the wiki and the forum but nothing. Before I typically did it this way:

sudo mkdir /mnt/test
sudo mount -rw /mnt/sdb1/harddisk /mnt/test -o loop

Doing that gives me the error message that there are no loop devices left or something similar. Thankful for any hints. In TC 3.7.1 it worked putting the commands in bootlocal.sh.

Have fun with this highly customizable distro,
meo
"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11227
Re: How do I mount a virtual hd in TC 3.8.2?
« Reply #1 on: August 17, 2011, 08:56:13 AM »
Hi meo
There was a problem with one of the extensions that caused a problem with loop devices
not too long ago. I believe it was  util-linux-ng.tcz  but I'm not certain.

  [EDIT]:  Fixed typos
« Last Edit: August 17, 2011, 05:12:50 PM by Rich »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: How do I mount a virtual hd in TC 3.8.2?
« Reply #2 on: August 17, 2011, 08:57:12 AM »
Which mount command are you using?
The /usr/local/bin/mount from util-linux-ng will give you this error.
/bin/mount from busybox works in this case.

Offline meo

  • Hero Member
  • *****
  • Posts: 651
Re: How do I mount a virtual hd in TC 3.8.2?
« Reply #3 on: August 17, 2011, 09:28:01 AM »
Thanks Rich!

Just used AppsAudit to remove util-linux-ng.tcz from on boot and issued the following commands:

sudo mkdir /mnt/test
sudo mount -rw /mnt/sdb/harddisk /mnt/test -o loop

and now it all works. Thanks again!

Have fun with TC,
meo
"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: How do I mount a virtual hd in TC 3.8.2?
« Reply #4 on: August 17, 2011, 04:24:51 PM »

H'mmmm   was looking at this and wondered if the switch location really mattered?

I would've of used   "sudo mount -o loop /mnt/sdb/harddisk /mnt/test"


are both or neither correct?     Since I'm a newbie...

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: How do I mount a virtual hd in TC 3.8.2?
« Reply #5 on: August 17, 2011, 04:49:23 PM »
It is a good to get in the habit of having options before arguments.
Many commands don't care.