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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-26-2003, 10:34 AM
|
#1
|
Senior Member
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737
Rep:
|
seeing extra drive?
I have an empty hard drive on my linux system. How can i access it to put stuff on it? I keep trying to make a link to it but it dosnt work. Thanks
RH9, Gnome
|
|
|
08-26-2003, 10:44 AM
|
#2
|
Member
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789
Rep:
|
Is the drive partitioned and formatted? If it is, then it should be a matter of mounting it. If it is the slave drive on the first IDE controller, and you are trying to access the first partition then the command would be:
mount /dev/hdb1 /mnt/drive
Replace 'drive' with whatever you want to call it (just make sure the folder exists or the mount command will yell at you)
If you need help with partitioning or formatting let us know.
slight
|
|
|
08-26-2003, 10:52 AM
|
#3
|
Senior Member
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737
Original Poster
Rep:
|
Its already partitioned and formatted
This is what i got from /sbin/fdisk -l
The drive is hdh right?
When i do mount /dev/hdh1 /mnt/hdh,
it says the drive does not exist. am i doing the command wrong or something?
Disk /dev/hdh: 6505 MB, 6505712640 bytes
255 heads, 63 sectors/track, 790 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdh1 1 790 6345643+ 83 Linux
Disk /dev/hde: 30.0 GB, 30020272128 bytes
255 heads, 63 sectors/track, 3649 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hde1 * 1 13 104391 83 Linux
/dev/hde2 14 3552 28427017+ 83 Linux
/dev/hde3 3553 3649 779152+ 82 Linux swap
|
|
|
08-26-2003, 11:02 AM
|
#4
|
Senior Member
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737
Original Poster
Rep:
|
Wait i figured it out but i accidentally named the drive /mnt, LOL. How can i change its name? also what commands will show me the drive size and other drive info? thanks
|
|
|
08-26-2003, 11:04 AM
|
#5
|
Member
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345
Rep:
|
After you mount it, you can see how much free/total space you have on it by using kdf. Kdf is a KDE app that displays a graph of such things.
|
|
|
08-26-2003, 12:44 PM
|
#6
|
Senior Member
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737
Original Poster
Rep:
|
Thanks that helped. Now i can see that it is mounted. How can i name the drive?
|
|
|
08-26-2003, 01:02 PM
|
#7
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
what do you mean by naming the drive???
if you referring to the mount point, well simply just name it something else...
such as
mkdir /mnt/seconddrive
or
mkdir /mnt/extradrive
or whereever you are mounting to...it doesn't have to be in the mount folder itself
just when you remount it specify it....such as in an example above type:
mount /mnt/extradrive
or whatever the case is.
|
|
|
08-26-2003, 01:21 PM
|
#8
|
Senior Member
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737
Original Poster
Rep:
|
I wanted to name it something, I think i did it cuz now when i look at it, it shows the name i gave it but how can i make a link in the taskbar like the floppy and cdrom so i can drag and drop files to it.? thanks
|
|
|
08-26-2003, 01:31 PM
|
#9
|
Member
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345
Rep:
|
Try making a link on the desktop to where the drive is mounted, then drag that link onto the panel.
|
|
|
08-26-2003, 02:30 PM
|
#10
|
Senior Member
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737
Original Poster
Rep:
|
I did something like that but i have to mount it in the console manually everytime i want to use it.
|
|
|
08-26-2003, 02:31 PM
|
#11
|
Member
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345
Rep:
|
Make a startup script to mount it. Then whenever you reboot it will mount it.
There may also be an option in your distro's Control Center (if it has one, I think I remember you said you were using RedHat in the past, could be wrong tho) to auto-mount the partition.
I think you can also add entries to fstab to make partitions mount at boot-time. You might wanna try looking at that.
|
|
|
08-26-2003, 07:24 PM
|
#12
|
Senior Member
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737
Original Poster
Rep:
|
Yes i was thinking the same thing. Thanks
|
|
|
08-26-2003, 08:16 PM
|
#13
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Quote:
I did something like that but i have to mount it in the console manually everytime i want to use it.
|
Instead of mounting the filesystem from the partition manually every time why don't you just put an appropriate entry in /etc/fstab so it mounts automatically on boot up - you can always create a symlink to your desktop later once youve got it automatically mounting on boot-up properly.
|
|
|
08-26-2003, 09:41 PM
|
#14
|
Senior Member
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737
Original Poster
Rep:
|
I tried to modify the fstab and the mtab or whatever the other one was and it didnt work I was just screwing around so maybe i didnt do it right.
If i put " /dev/hdh1 /mnt/mydrivename " in my fstab, that should work right?
|
|
|
All times are GMT -5. The time now is 01:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|