Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
02-01-2006, 02:51 AM
|
#1
|
LQ Newbie
Registered: Jan 2006
Distribution: Mandrakelinux Official 10.1
Posts: 12
Rep:
|
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?
|
|
|
02-01-2006, 02:58 AM
|
#2
|
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515
Rep:
|
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.
|
|
|
02-01-2006, 09:15 AM
|
#3
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
"/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?
|
|
|
02-01-2006, 01:46 PM
|
#4
|
LQ Newbie
Registered: Jan 2006
Distribution: Mandrakelinux Official 10.1
Posts: 12
Original Poster
Rep:
|
here's the /etc/fstab file:
/dev/sda1 / ext3 noatime 0 0
none /home supermount dev=/dev/sda8,fs=ext2:vfat,--unmask=0,iochartset=iso8859-1,sync,codepage=850 0 0
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
/dev/hda2 /mnt/windows ntfs umask=0,nls=iso8859-1,ro 0 0
none /proc proc defaults 0 0
/dev/sda6 /usr ext3 noatime 0 0
/dev/sda7 /var ext3 noatime 0 0
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...
|
|
|
02-01-2006, 01:49 PM
|
#5
|
LQ Newbie
Registered: Jan 2006
Distribution: Mandrakelinux Official 10.1
Posts: 12
Original Poster
Rep:
|
Quote:
Originally Posted by pixellany
"/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.
|
|
|
02-01-2006, 02:44 PM
|
#6
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
none in front of /proc is also not a good sign......
I do not know enough to understand all of this for /home---eg "supermount dev=/dev/hda8"
Can you do **anything** in /home? eg "touch filename" to create a new empty file. How about also posting the output of /etc/mtab?
There is enough weirdness here, that I would consider starting over---install with a much simpler structure--eg partitions for /boot , / , and swap
|
|
|
02-01-2006, 08:58 PM
|
#7
|
LQ Newbie
Registered: Jan 2006
Distribution: Mandrakelinux Official 10.1
Posts: 12
Original Poster
Rep:
|
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?
|
|
|
02-01-2006, 09:40 PM
|
#8
|
Moderator
Registered: Aug 2002
Posts: 26,338
|
Quote:
none /proc proc defaults 0 0
|
No, I do not see anything wrong with /proc.
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.
|
|
|
All times are GMT -5. The time now is 06:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|