LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-16-2006, 08:35 PM   #1
canyon289
Member
 
Registered: Sep 2004
Posts: 125

Rep: Reputation: 15
harddrive icon


I formatted and added a second harddrive to my Fedora Core 4 installation
However, It's not showing up in the Computer directory thats on the desktop

I know the harddrive automounts
[root@localhost ravin]# mount /dev/hdb1
mount: /dev/hdb1 already mounted or /media/storage busy
mount: according to mtab, /dev/hdb1 is already mounted on /media/storage
[root@localhost ravin]#


How can I get the icon in the Computer directory?
 
Old 02-17-2006, 02:17 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,156

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
It's not showing up in the Computer directory thats on the desktop
Eh? I'm not sure what you mean by that. What are you trying to achieve?

Meanwhile, what is the output of the following commands?
mount
cat /etc/fstab
ls -l /mnt
 
Old 02-17-2006, 05:45 PM   #3
canyon289
Member
 
Registered: Sep 2004
Posts: 125

Original Poster
Rep: Reputation: 15
[root@localhost ravin]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
/dev/proc on /proc type proc (rw)
/dev/sys on /sys type sysfs (rw)
/dev/devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda1 on /boot type ext3 (rw)
/dev/shm on /dev/shm type tmpfs (rw)
/dev/hdb1 on /media/storage type ext3 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
automount(pid2167) on /net type autofs (rw,fd=4,pgrp=2167,minproto=2,maxproto=4)

[root@localhost ravin]# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
/dev/devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs defaults 0 0
/dev/proc /proc proc defaults 0 0
/dev/sys /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hdb1 /media/storage ext3 defaults 1 1
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,utf8,managed 0 0
/dev/hdd /media/cdrom auto pamconsole,exec,noauto,managed 0 0
/dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0

[root@localhost ravin]# ls -l /mnt
total 8
drwxrwxrwx 2 root root 4096 Feb 16 18:18 storage



http://i28.photobucket.com/albums/c2.../snapshot1.png

In that screenshot you can see the little icons for floppy, network, filesystem. I'm wondering if somehow I can get an icon for /media/storage

Thanks for the help.
 
Old 02-18-2006, 03:27 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,156

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Well, in that linked picture I do not see any icons that I can identify as "floppy, network, filesystem". It looks like a chat application running on the gnome desktop.

I do not use gnome, but if I wanted a desktop link to a mounted drive in KDE, I'd right-click on the desktop -> Create New... -> Link to Location. Then I'd enter a description like "New HDD" and it's location, in your case /media/storage. Then I'd right-click the new default icon, and change it to something appropriate.

Surely gnome has a similar procedure?
 
Old 02-24-2006, 09:54 PM   #5
LLC
LQ Newbie
 
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
http://www.linuxgazette.com/issue38/cooper.html

(it wouldnt let me post a link because of antispam rules, but i only registered to answer your question so i wont even have 5 posts so i put the link in the subject.)

here this will tell you what you need to do to fix the drive problem, i had the same problem,
but the line of code at the end doesnt make the drive show up in the computer area what you need to do instead is use this

/dev/hdb1 /mnt/drive 2 ext2 pamconsole,exec,noauto,managed 1 1
 
  


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
new harddrive canyon289 Linux - Hardware 9 11-03-2005 05:01 PM
New harddrive astronaut3000 Linux - Hardware 1 08-17-2004 07:35 PM
Installing linux on 2nd harddrive(dual boot) windows on seperate harddrive lysol Linux - Software 25 08-03-2004 09:33 AM
Need to replace full harddrive with new, larger harddrive pearlr Linux - Newbie 1 01-02-2004 12:59 PM
Harddrive JTD Linux - Hardware 1 11-11-2003 01:03 PM

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

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