LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-22-2008, 04:06 PM   #1
knudsen83
Member
 
Registered: Dec 2007
Location: Denmark
Distribution: Ubuntu 7.10 (Gutsy Gibbon)
Posts: 39

Rep: Reputation: 15
mounting harddrives


This might be a simple question but anyway here goes..

I wanna mount my external harddisk so that is doesn't appear on my desktop, but only in Places->Computer.

How do i do that?
 
Old 01-22-2008, 04:37 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
please elaborate more.
 
Old 01-22-2008, 04:47 PM   #3
knudsen83
Member
 
Registered: Dec 2007
Location: Denmark
Distribution: Ubuntu 7.10 (Gutsy Gibbon)
Posts: 39

Original Poster
Rep: Reputation: 15
This is how is mount my external harddisk(using fstab) at the moment

/dev/sdb1 /media/My_Book vfat user,auto,uid=1000,umask=022 0 0

The thing is that when i mount the device under /media an icon showing "My_Book" appears on my desktop. I don't wanna have that icon there.

I would like if that icon was showing under places->computer.

could that be done?
 
Old 01-23-2008, 12:17 AM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
in the /etc/fstab edit
/dev/sdb1 /mnt/sdb1 auto noauto,owner,users,rw 0 0
now go to your /mnt/ and create the directory (folder) name it sdb1.
now everytime you boot you can go to the /mnt/sdba1 and open it up.
you may need to as root or super user type mount /dev/sdb1 do not forget to unmount ok if you pull the usb cable out with out unmounting or a correct shut down it is very hard on the vfat file table. if it doesnt mount then change the the ftab to vfat.
 
Old 01-23-2008, 06:44 AM   #5
knudsen83
Member
 
Registered: Dec 2007
Location: Denmark
Distribution: Ubuntu 7.10 (Gutsy Gibbon)
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks Drakeo...
 
Old 01-27-2008, 05:14 PM   #6
knudsen83
Member
 
Registered: Dec 2007
Location: Denmark
Distribution: Ubuntu 7.10 (Gutsy Gibbon)
Posts: 39

Original Poster
Rep: Reputation: 15
hmm

I mounted the device under /mnt

here is my fstab
/dev/sdb1 /mnt/My_Book vfat user,auto,uid=1000,umask=022
0 0


but sometimes when i log on there is an icon on my Desktop and sometimes there aren't..isn't that i bit strange??
 
0 members found this post helpful.
  


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
harddrives Celestial Linux - Newbie 3 07-01-2004 03:30 PM
Mounting WinXp Harddrives NooDleZ Linux - Newbie 5 02-19-2004 11:24 AM
Mounting Harddrives izmeh Linux - General 1 10-23-2003 11:43 PM
Mounting DVD and Harddrives Mighty_Viking Linux - Hardware 3 05-31-2003 04:05 PM
Mounting other harddrives jester_69 Linux - General 9 06-23-2002 03:04 AM

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

All times are GMT -5. The time now is 10:33 PM.

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