RE: [SLUG] Engarde Linux - CD Mount Fails

From: Eben King (eben1@tampabay.rr.com)
Date: Mon Apr 12 2004 - 00:16:05 EDT


On Sun, 11 Apr 2004, Russ Wright wrote:

> On Sun, 11 Apr 2004, Russ Wright wrote:
>
> > > "ls -ld /cdrom" and make sure it's a directory. Will a link to a
> > > directory work also? Try mounting it on a known directory (any files
> > > there before mount will be there after umount).
> >
> > There is no ls command available
>
> Eben Wrote:
> > No "ls"? It's a standard *nix command! Are you sure "ls" is what the
> > error was about? What was the error, exactly? Make sure you're
> > typing it right; ls should be /bin/ls. "echo /bin/l?"
>
> > > and I did try mounting to an existing directory and it did not work.
>
> > What mount commands do work?
>
>
> The ls command is in the /bin diecrtory on the cd.

How do you know?

> I am booting from the CD.

How do you know?

> However I cannot use the ls command I get "not found"

I've seen that sometimes, when a file I _know_ is there (I can see it with
/sbin/ls.static), is executable (ditto), is not in a noexec partitopn
(mount says so), and I'm supplying the entire path. The problem has been
that the version of glibc differs from what the program assumes.

AFAIK, the only workarounds for that are (1) get the version of glibc it
expects (if you can have two installed at once); (2a) recompile the
program; or (2b) get a different (binary) version of the program. I vote
for 2a or 2b, depending on whether you compiled it from source or not.
/bin/ls is part of fileutils. Somehow I doubt you would wind up with a
bum version of fileutils, so I don't think the problem is that.

> When I try the mount command which odly enough does work the exact error is
> Not A Directory.
> I tried several variations on this:
>
> mount -t iso9660 /dev/hdc /cdrom
> mount returns a message that hdc is write protected and mounting read only
> mount the returnds the following message Not a directory

Maybe /cdrom actually isn't a directory. Why do you think it is? Make a
directory with the command "mkdir /mnt/cdrom" and then try "mount /dev/hdc
/mnt/cdrom -o ro".

Note that nobody but you could see any distinction between what I wrote
and what you wrote. It's impossible to tell them apart, without having
followed the conversation closely. I added "> "s manually to make it
clearer who said what.

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar
A. A Top Poster
B. Who's there?
A. Knock-knock -- from bobward@xxx.com

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:31:19 EDT