Unmount pendrive


Forum: USB booting
Topic: Unmount pendrive
started by: dkr

Posted by dkr on Mar. 06 2006,20:18
Hi. I've been using DSL via a USB pendrive for a couple of days and am pleased. I tried a couple of other pendrive distros previously and DSL is easily the best.

I'm experiencing one minor issue after booting "toram" to runlevel 2. I get the "Copying DSL image to ramdisk... Please be patient" message followed a few seconds later by "Warning: Changing to /cdrom2 failed". A little later I receive a "chgrp: /cdrom: Operation no permitted" message. There are no other abnormal messages. Upon boot /dev/sda1 is mounted on /cdrom. Without cd'ing to /cdrom or executing anything else I attempt to umount /cdrom and get a "device is busy" error. /cdrom2 contains KNOPPIX/knoppix. I don't see any processes which are obviously using /cdrom.

Shouldn't I be able to unmount /cdrom and remove the pendrive at this point? I've searched google and the forums here but haven't found anything quite what I'm looking for.

Thanks in advance.

Posted by roberts on Mar. 06 2006,20:30
I Just posted about this this morning in another thread
It is because the Linux/Knoppix files are hosted on vfat
As such the uppercase structure of KNOPPIX/KNOPPIX has turned into knoppix/knoppix. We use a common image to allow installs of across many devices, cdrom, pendrives,web, etc withput having to download custom image for each device type.
To allow the removal of the pendrive would require adjustments inside minirt24.gz/linuxrc and thus likely another specialized separate download.

DSL started out as a liveCD, now there are so many ways to install and use DSL.  We have tried to make it easy to install most devices from a single downloaded cdrom image. Hence the single image and the challenges of hosting *nix files on a variety of non *nix filesystems.

Posted by dkr on Mar. 07 2006,01:12
I've modified linuxrc from minirt24.gz to look for the munged filename and fix it. Everything works and I can now unplug my pendrive. Thanks for the pointer. If you'd like I can generate a diff and post it here.
Posted by roberts on Mar. 07 2006,01:16
It's not necessary. I have made a new minirt24.gz that works on all.
This will be in 2.3 release. Wasn't that difficult. Sometimes working with the limited ash shell can be a pain. But this case it was not.

Posted by JohnH on Mar. 10 2006,01:16
running DSL 2.3 RC1 from pendrive system installed with "DSL toram" option

After a click on the green "mounted" button for sda1 there is an error message box that says "Unmount CDRO/ device is busy"

How do I find out what is keeping it busy and then end the process?


A second related question is about Emelfm. here's what happens:

1. starting Emelfm in super user mode
2. navigate to /mnt/sda1
3. no files show up it's as if sda1 is empty
4. click "H" to show hidden files... same problem, no files show

What do I need to do to access the files on the pen drive? I want to load some MyDSL files onto the pen drive so they are available whithout internet connected computers.

Posted by cbagger01 on Mar. 12 2006,05:49
Are they located at /cdrom mountpoint?
Posted by love dsl on Mar. 16 2006,19:32
Check /cdrom (toplevel)  :blues:
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.