LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 02-01-2006, 02:51 AM   #1
JcN
LQ Newbie
 
Registered: Jan 2006
Distribution: Mandrakelinux Official 10.1
Posts: 12

Rep: Reputation: 0
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?
 
Old 02-01-2006, 02:58 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
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.
 
Old 02-01-2006, 09:15 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
"/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?
 
Old 02-01-2006, 01:46 PM   #4
JcN
LQ Newbie
 
Registered: Jan 2006
Distribution: Mandrakelinux Official 10.1
Posts: 12

Original Poster
Rep: Reputation: 0
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...
 
Old 02-01-2006, 01:49 PM   #5
JcN
LQ Newbie
 
Registered: Jan 2006
Distribution: Mandrakelinux Official 10.1
Posts: 12

Original Poster
Rep: Reputation: 0
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.
 
Old 02-01-2006, 02:44 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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
 
Old 02-01-2006, 08:58 PM   #7
JcN
LQ Newbie
 
Registered: Jan 2006
Distribution: Mandrakelinux Official 10.1
Posts: 12

Original Poster
Rep: Reputation: 0
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?
 
Old 02-01-2006, 09:40 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,338

Rep: Reputation: 6146Reputation: 6146Reputation: 6146Reputation: 6146Reputation: 6146Reputation: 6146Reputation: 6146Reputation: 6146Reputation: 6146Reputation: 6146Reputation: 6146
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"No medium Found" when mounting a DVD ROM that only contains data Gnarg Linux - Software 3 04-19-2006 01:18 PM
memory stick returns error no medium found newusermike Linux - Newbie 1 08-04-2005 12:02 PM
Can't access DVD Writer anymore - "No medium found" SpruceMoose Linux - Hardware 7 07-01-2005 02:04 AM
"Adding a Medium" in Medium Manager???? kymystic Mandriva 1 03-07-2005 04:16 AM
CD ROM mount error: "no medium found"????? RonRussell Linux - Hardware 8 07-01-2002 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration