LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-24-2004, 12:02 PM   #1
boyzie
LQ Newbie
 
Registered: Apr 2004
Location: Yorkshire
Distribution: Mandrake 10 Com
Posts: 13

Rep: Reputation: 0
Please take a look at my fstab


Hi cant figure out why I can't mount my second hard drive.

I have one 40gig as the os drive and a 120gig for media files
A floppy, cdrw and dvd rw.

Please could you guys take a look at my fstab and give me some pointers.

/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext3 defaults 1 2
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,auto,ro,exec 0 0
/dev/hdd /mnt/cdrom2 auto umask=0,user,codepage=850,iocharset=iso8859-15,noauto,ro,exec 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 0
/dev/hdb1 /mnt/media ext2 defaults 1 2
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0

Thanks
 
Old 04-24-2004, 03:15 PM   #2
jcspray
Member
 
Registered: Mar 2004
Location: York, UK
Distribution: Ubuntu
Posts: 132

Rep: Reputation: 15
So what happens if you issue the command "mount -t ext2 /dev/hdb1 /mnt/media"?
 
Old 04-24-2004, 05:02 PM   #3
boyzie
LQ Newbie
 
Registered: Apr 2004
Location: Yorkshire
Distribution: Mandrake 10 Com
Posts: 13

Original Poster
Rep: Reputation: 0
Hi I tried the above but I get this message

mount: /dev/hdb1 already mounted or /mnt/media busy
 
Old 04-24-2004, 09:03 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Is the drive already mounted?
Just type in the mount command without options to see all your mounted file systems.

Make sure no apps or a console window is currently accessing /mnt/media while your try to mount the partition.
 
Old 04-25-2004, 02:18 AM   #5
boyzie
LQ Newbie
 
Registered: Apr 2004
Location: Yorkshire
Distribution: Mandrake 10 Com
Posts: 13

Original Poster
Rep: Reputation: 0
This is what I get, can,t see anything about hdb1


/dev/ide/host0/bus0/target0/lun0/part1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /proc/bus/usb type usbfs (rw)
none on /dev type devfs (rw)
none on /dev/pts type devpts (rw,mode=0620)
/dev/ide/host0/bus0/target0/lun0/part6 on /home type ext3 (rw)
none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,codepage=850)
none on /mnt/hd type supermount (rw,dev=/dev/ide/host0/bus0/target1/lun0/part1,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,codepage=850)
[adam@dhcp-184-25237 adam]$
 
Old 04-25-2004, 02:37 AM   #6
boyzie
LQ Newbie
 
Registered: Apr 2004
Location: Yorkshire
Distribution: Mandrake 10 Com
Posts: 13

Original Poster
Rep: Reputation: 0
I have changed the fstab to read:

/dev/hdb1 /mnt/media ext2 auto,user 1 2

That gives me an I con to a hard disc on my desktop, but this is only 30.2gig big the exact same size as my /Home partition?

And I now have another Icon that is called hard disk (part1)[mnt/hd] and the properties call it 'devidehost0bustarget1lun0part1mnthd' and is located in / (devices).

There is also a new line in the fstab

none /mnt/hd supermount dev=/dev/ide/host0/bus0/target1/lun0/part1,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,kudzu,codepage=850 0 0

Whats going on.
 
  


Reply



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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
newbie vs fstab. fstab wins :( blop Linux - Newbie 3 01-07-2005 05:54 AM
What is fstab? sceadu Linux - Newbie 2 11-02-2004 07:25 PM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM
Help with /etc/fstab wawosz Linux - General 3 04-24-2003 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:39 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