TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Linux & Opensource > Mandriva Linux

Notices

/etc/fstab entry for USB drive

Mandriva Linux


Reply
 
Thread Tools Display Modes
Old 10-01-2008, 12:41 AM   #1
Maurice Batey
Guest
 
Posts: n/a
/etc/fstab entry for USB drive

I'm using a USB drive to both try out new Linux distributions
and now also for backup, but am having difficulty with the
/etc/fstab entries for the two backup partitions /dev/sda1 &
/dev/sda5.

My fstab is:
----------------------------------------------------------
/dev/hdb5 / ext3 relatime 1 1
/dev/hdb7 /home ext3 relatime 1 2
/dev/cdrom /media/cdrom auto
umask=0022,users,iocharset=utf8,noauto,ro,exec 0 0
/dev/cdrom2 /media/cdrom2 auto
umask=0022,users,iocharset=utf8,noauto,ro,exec 0 0
/dev/fd0 /media/floppy auto
umask=0022,users,iocharset=utf8,noauto,exec,flush 0 0
/dev/hda1 /mnt/win_c ntfs umask=0022,nls=utf8,ro 0 0
/dev/hdb1 /mnt/win_c2 vfat umask=0000,iocharset=utf8 0 0
none /proc proc defaults 0 0
/dev/hdb6 swap swap defaults 0 0

/dev/sda1 /mnt/save1 ext3 relatime 0 0
/dev/sda5 /mnt/save2 ext3 relatime 0 0
----------------------------------------------------------

The problem is that at boot time the boot info says "No such
mount point" for both of the sda partitions.

Also, in Storage Media, although the 2 partitions are listed, any
attempt to mount them (even as Root) causes "Permissions Denied".

However, if I go into MCC/Local Disks/Manage Partitions, I can
see that both mount points (/mnt/save1 & /mnt/save2) are shown,
and MCC will mount them, after which I can access the partitions.

What the devil is going on?!

--
/\/\aurice
((Remove 'removethis.' to reply by email)

  Reply With Quote
Old 10-01-2008, 01:42 AM   #2
Maurice Batey
Guest
 
Posts: n/a
Re: /etc/fstab entry for USB drive

Belay that! Mysteriously, the partitions in question are now
presented already mounted in Storage Media, without any changes
to fstab...

--
/\/\aurice
(Remove 'removethis.' to reply by email)

  Reply With Quote
Old 10-01-2008, 04:41 AM   #3
Doug Laidlaw
Guest
 
Posts: n/a
Re: /etc/fstab entry for USB drive

Maurice Batey wrote:

> Belay that! Mysteriously, the partitions in question are now
> presented already mounted in Storage Media, without any changes
> to fstab...
>

You will find the entries in /etc/mtab...

Doug.
  Reply With Quote
Old 10-01-2008, 10:40 PM   #4
Maurice Batey
Guest
 
Posts: n/a
Re: /etc/fstab entry for USB drive

On Thu, 10 Jan 2008 09:40:07 +1100, Doug Laidlaw wrote:

> You will find the entries in /etc/mtab...


Ah, yes; thanks, Doug. All working OK now, but:

The odd thing is, if I want to unmount one of these two, I
have to use a terminal session, because if I try to do it with
Konqueror (right-click, select 'Safely Remove'), I get this
error:
----------------------------------------------------------------
"Unfortunately, the device system:/media/sda5 (/dev/sda5) named
'45G Media' and currently mounted at /media/save2 could not be
unmounted.
Unmounting failed due to the following error:
Device to unmount is not in /media/.hal-mtab so it is not mounted
by HAL"
----------------------------------------------------------------

(N.B. I had changed fstab to use "/media/sdax" rather than
"/mnt/sdax", though that produced the same 'hal' error.)

What is 'hal'? Haven't come across him before...

--
/\/\aurice
(Remove 'removethis.' to reply by email)

  Reply With Quote
Reply

Thread Tools
Display Modes



< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 03:02 AM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional