Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: meo on August 17, 2011, 08:26:43 AM

Title: How do I mount a virtual hd in TC 3.8.2?
Post by: meo 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
Title: Re: How do I mount a virtual hd in TC 3.8.2?
Post by: Rich 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
Title: Re: How do I mount a virtual hd in TC 3.8.2?
Post by: gerald_clark 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.
Title: Re: How do I mount a virtual hd in TC 3.8.2?
Post by: meo 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
Title: Re: How do I mount a virtual hd in TC 3.8.2?
Post by: coreplayer2 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...
Title: Re: How do I mount a virtual hd in TC 3.8.2?
Post by: gerald_clark 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.