LinuxQuestions.org
Review your favorite Linux distribution.
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 08-26-2003, 10:34 AM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
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
 
Old 08-26-2003, 10:44 AM   #2
slightcrazed
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: Reputation: 30
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
 
Old 08-26-2003, 10:52 AM   #3
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
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
 
Old 08-26-2003, 11:02 AM   #4
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
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
 
Old 08-26-2003, 11:04 AM   #5
sorrodos
Member
 
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Rep: Reputation: 30
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.
 
Old 08-26-2003, 12:44 PM   #6
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Thanks that helped. Now i can see that it is mounted. How can i name the drive?
 
Old 08-26-2003, 01:02 PM   #7
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
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.
 
Old 08-26-2003, 01:21 PM   #8
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
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
 
Old 08-26-2003, 01:31 PM   #9
sorrodos
Member
 
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Rep: Reputation: 30
Try making a link on the desktop to where the drive is mounted, then drag that link onto the panel.
 
Old 08-26-2003, 02:30 PM   #10
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
I did something like that but i have to mount it in the console manually everytime i want to use it.
 
Old 08-26-2003, 02:31 PM   #11
sorrodos
Member
 
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Rep: Reputation: 30
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.
 
Old 08-26-2003, 07:24 PM   #12
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Yes i was thinking the same thing. Thanks
 
Old 08-26-2003, 08:16 PM   #13
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
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.
 
Old 08-26-2003, 09:41 PM   #14
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
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?
 
  


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
Extra Hard drive invisible? Hopeful Red Hat 1 05-19-2005 12:27 PM
Extra Hard Drive FAT32 cant be read AndrewZorn Linux - Newbie 15 04-04-2005 07:15 AM
mounting extra hard drive Brother Michael Linux - Newbie 1 08-18-2003 06:15 PM
Extra hard drive. New distro? Misteree Linux - General 21 02-20-2003 04:42 PM
extra hard drive finger51 Linux - Newbie 7 09-24-2002 08:31 PM

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

All times are GMT -5. The time now is 09:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration