Adding a directory returns "no medium found" error
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Adding a directory returns "no medium found" error
I've installed Mandrakelinux 10.1 on an external hardrive, and it boots correclty to bash, but somehow whenever I try to make a directory in /home, I get this message:
mkdir: cannot create directory 'name' : No medium found
I know for sure that the /home partition exists, and that it is formatted (JFS ext3 format). Does anyone know how to fix this?
So, the /home partition exists, but has it been mounted properly?
Please post your /etc/fstab file and try a "mount -a" (as root) to mount everything automatically.
"/home" is not the name of a partition, but rather a directory.
Clarify: You are running Mandrake on an external drive, right? What do you mean when you say it "boots to bash"? Is it booting into terminal mode and not a GUI?
Can you type "cd /", and then "ls-l"....you should see a bunch of directories, including bin, boot, usr, var,.....and home.
type cd home, and then mkdir dirname. What happens?
I'm guessing that the "none" in front of home and the fact that somehow /etc/fstab lists /home as having the ext2:vfat file system are bad things?
When I paritioned the drive during the installation sequence, I made sure that the parition associated with /home was formated as JFS (ext3) and mounted...
"/home" is not the name of a partition, but rather a directory.
Sorry, I meant the partition on which /home is kept.
Quote:
Originally Posted by pixellany
Clarify: You are running Mandrake on an external drive, right? What do you mean when you say it "boots to bash"? Is it booting into terminal mode and not a GUI?
Can you type "cd /", and then "ls-l"....you should see a bunch of directories, including bin, boot, usr, var,.....and home.
type cd home, and then mkdir dirname. What happens?
That's what I meant. I booted Linux under runmode 2 to access the terminal. When I'm in the home directory, and type "mkdir folder," I get the error I mentioned above.
Actually, I got it working. I just rewrote the line to say "/dev/sda8 /home ext3 noatime 0 0," and linux recognized the partition! I guess the file wasn't properly written during installation...
I didn't create a partition on which to mount /proc. Should I?
Supermount is a pseudo-filesystem that allows one to use removable media with out the need to manually mount and unmount. /home was being automatically unmounted but not being automatically mounted again when you attempted to access the device via the mkdir command. And so your problem was fixed when you removed supermount from the fstab entry.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.