WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tc3.4 mount tool not working (SOLVED)  (Read 6161 times)

Offline JohnJS

  • Jr. Member
  • **
  • Posts: 62
tc3.4 mount tool not working (SOLVED)
« on: December 19, 2010, 11:33:31 AM »
Unable to mount hds . Tried from wbar, cpanel and aterm. TOP shows multiple mnttool entries.
(Ran as base norestore).
Checked md5sum.

Edit: See post Dec 29 2010 for my solution.
« Last Edit: December 31, 2010, 12:18:50 PM by JohnJS »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: tc3.4 mount tool not working
« Reply #1 on: December 19, 2010, 12:39:32 PM »
You need to be more specific.
Can you mount your partitions manually?
If you can't mount them as root, the mount tool will not be able to either.

Offline JohnJS

  • Jr. Member
  • **
  • Posts: 62
Re: tc3.4 mount tool not working
« Reply #2 on: December 19, 2010, 01:18:32 PM »
Cannot mount them as root.
On hda1 with ls -a I get ". .. Xdefaults .ash_history .profile"
Tried hda2 I get "failed: Device or resource busy".
My harddrive : hda1 hda2 both ext2 and swap.
Grub has 3.3 standard and 3.4 with "base norestore"


Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: tc3.4 mount tool not working
« Reply #3 on: December 19, 2010, 01:40:33 PM »
1. You can't get any output of ls from an unmounted partition.
2. You can't mount a swap partition.
3. "hda1" is not a full path and therefore makes no sense to be mentioned like above.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline JohnJS

  • Jr. Member
  • **
  • Posts: 62
Re: tc3.4 mount tool not working
« Reply #4 on: December 19, 2010, 01:57:06 PM »
sudo mount /mnt/hda1
sudo mount /mnt/hda2
Now drives mounted okay.
Is this the new way to mount harddrives? (changed from 3.3?)
What is the mount icon in wbar for?

tinypoodle: Thought info on harddrive and grub would help. Did not try to mount swap.
« Last Edit: December 19, 2010, 02:19:19 PM by JohnJS »

Offline thane

  • Hero Member
  • *****
  • Posts: 699
Re: tc3.4 mount tool not working
« Reply #5 on: December 27, 2010, 08:51:37 PM »
I'm running into the same problem (mount tool not working) when trying to upgrade to 3.4. Will try JohnJS solution.

edit: On second thought I'm hesitant to upgrade if this is a bug. I normally burn the ISO to CD and then upgrade on the USB stick using the terminal usbinstall. Part of this process is using the mount tool to mount/unmount the CD. Like JohnJS I'd like to know if the mount tool has changed since 3.3.
« Last Edit: December 27, 2010, 09:39:22 PM by thane »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11065
Re: tc3.4 mount tool not working
« Reply #6 on: December 28, 2010, 04:51:45 AM »
In a quick test in Qemu, the mount tool worked fine for mounting the TC-3.4 cdrom.
The only barriers that can stop you are the ones you create yourself.

Offline thane

  • Hero Member
  • *****
  • Posts: 699
Re: tc3.4 mount tool not working
« Reply #7 on: December 28, 2010, 12:44:30 PM »
Thanks. I'll try downloading and burning the ISO again and see what happens.

edit: Urrgh, wonder if this is my problem (and maybe JohnJS's). From roberts final release 3.4 post:

Note: .profile has been changed to add FILEMGR=fluff for use by mnttool and MANPAGER env variable.
Update your .profile as deemed necessary, e.g.,

cp /etc/skel/.profile /home/tc/.profile

Didn't do that, but then I was booting from CD (base norestore noswap waitusb=5) so that should already have been set, right? Hmmm. Also there's this (same post):

* Updated mnttool to show all drives and mount launch filemgr via FILEMGR env.
* Updated mnttool to support labels and 10+ partitions.

Got a feeling I'm overlooking something...
« Last Edit: December 28, 2010, 05:05:40 PM by thane »

Offline thane

  • Hero Member
  • *****
  • Posts: 699
Re: tc3.4 mount tool not working
« Reply #8 on: December 29, 2010, 12:31:20 AM »
OK, I upgraded to 3.4 and can confirm what JohnJS reported. After installing 3.4 and following roberts' advice in the 3.4 release post, I backed up and rebooted. Clicking the mount tool icon in wbar (or on the control panel) starts a process, but the mount panel that lets you cycle through the devices does not display. It doesn't work when booting from CD either (I tried two separate ISO downloads).

Since it works for Curaga I'm at a loss to explain it. I haven't had any problem in prior releases of TC.

edit: Interesting. Several minutes after I clicked the icon, what looks like the mount tool panel has appeared on the desktop. Maybe there's some weird interaction with FLWM or a timing thing that keeps it from showing up right away?
« Last Edit: December 29, 2010, 04:27:17 AM by thane »

Offline JohnJS

  • Jr. Member
  • **
  • Posts: 62
Re: tc3.4 mount tool not working (SOLVED)
« Reply #9 on: December 29, 2010, 11:00:24 AM »
Hi thane,
Found out what was wrong with mounttool.
My computer is a custom assembled AMD with card readers instead of floppy. I changed the Bios to read "not installed" for the floppy.
Now the mounttool works perfectly.
I noticed on shutdown/reboot at the end of the process some error message  flashed by about the floppy.
Hope this solves your problem too.
« Last Edit: December 29, 2010, 11:25:39 AM by JohnJS »

Offline thane

  • Hero Member
  • *****
  • Posts: 699
Re: tc3.4 mount tool not working (SOLVED)
« Reply #10 on: December 29, 2010, 11:46:05 AM »
I'm running a barebones AMD box too! Just CD and USB though; no floppy, hard disk, or card reader.

I'll check the BIOS. I had to fiddle with it some when I got the box so maybe it needs more tweaking. Didn't think of it at all. Interesting that it didn't cause a problem before though.

I'm a little hesitant to call this solved, but it's your thread. I'll start a new one if I can't fix my problem.

Thanks for the help!

Offline JohnJS

  • Jr. Member
  • **
  • Posts: 62
Re: tc3.4 mount tool not working
« Reply #11 on: December 29, 2010, 12:06:22 PM »
Hi thane,
I too did not have this problem with 3.3 and earlier versions.
Will remove SOLVED from the heading to keep this thread open.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11065
Re: tc3.4 mount tool not working
« Reply #12 on: December 29, 2010, 12:47:09 PM »
Hm, so it's a nonexistent floppy drive causing a long timeout when mountables.sh tries to read its label. In 3.3 the mount tool did not try to read device labels.

JohnJS, could you verify that this is the case?

Turn it back on from the bios, post if it appears in /etc/fstab, and what happens when you try to "getdisklabel /dev/fd0".
« Last Edit: December 29, 2010, 12:48:59 PM by curaga »
The only barriers that can stop you are the ones you create yourself.

Offline JohnJS

  • Jr. Member
  • **
  • Posts: 62
Re: tc3.4 mount tool not working
« Reply #13 on: December 29, 2010, 01:27:36 PM »
Hi curaga, reset bios to include floppy.
# /etc/fstab
proc            /proc        proc    defaults          0       0
sysfs           /sys         sysfs   defaults          0       0
devpts          /dev/pts     devpts  defaults          0       0
tmpfs           /dev/shm     tmpfs   defaults          0       0
/dev/ramzswap0  swap         swap    defaults,noauto   0       0
/dev/fd0        /mnt/fd0        auto     noauto,users,exec    0 0 # Added by TC
/dev/hda1       /mnt/hda1       ext2     noauto,users,exec,relatime 0 0 # Added by TC
/dev/hda2       /mnt/hda2       ext2     noauto,users,exec,relatime 0 0 # Added by TC
/dev/hda3       none            swap     defaults             0 0 # Added by TC
/dev/hdc        /mnt/hdc        auto     noauto,users,exec    0 0 # Added by TC

getdisklabel /dev/fd0 results in green cursor and nothing happening.

edit: while checking this post the red mounttool appeared showing fd0 hda1 hda2 and hdc
« Last Edit: December 29, 2010, 01:36:46 PM by JohnJS »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11065
Re: tc3.4 mount tool not working
« Reply #14 on: December 29, 2010, 01:47:05 PM »
OK, I guess just skipping the label for floppies would be a good solution. People rarely have several floppy drives these days, needing to recognize them by label.
The only barriers that can stop you are the ones you create yourself.