Linux - HardwareThis 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.
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.
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
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.
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
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
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.
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.