Linux - NewbieThis 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
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.
hi , im totally n00b so i have try some article to mount a hdd on redhat linux but nothing works or the article is to old (ex:for redhat 7.2)!
i have a 30 gb hdd split in 3 partition (fat32 and 1 in EXT3)and a 500 mb hdd fat32.
(my partition is hde* (*=number) FDISK
Disk /dev/hde: 30.0 GB, 30060527616 bytes
255 heads, 63 sectors/track, 3654 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Périphérique Amorce Début Fin Blocs Id Système
/dev/hde1 * 1 637 5116671 b Win95 FAT32
/dev/hde2 638 3654 24234052+ f Win95 Etdue (LBA)
/dev/hde5 638 1184 4393746 83 Linux
/dev/hde6 1185 3654 19840243+ b Win95 FAT32
add the mount points to your fstab
heres an example of how i did it for one of my secondary drives which is fat32:
/dev/hdc1 /mnt/80gig vfat user,rw,exec,uid=500 0 0
so i make the mountpoint in my mount folder called 80gig, and then i define that in my fstab for it will initialize everytime i reboot....
I'd try mounting it first to help with defining possible errors:
mount -t vfat /dev/hdx /mnt/point -o user,rw,exec,uid=500
Where /dev/hdx is the actual device
and
/mnt/point
is a mount point of your choice, maybe:
/mnt/fat32
Make sure that directory exists first:
mkdir /mnt/fat32 (or whatever you choose)
If all mounts well, and acts as expected, then proceed to edit your fstab as shown above.
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
AND THERE is another big problem , after the loading of redhat linux 9 , my hdd light IS ALWAYS ON!!!!!! but my hdd is not loading.
my hdd is not too old , samsung ata-100 30 gig (2002)
this problem only appear in red hat linux because i have windows xp on another partition and no problem the light is not always on and it flash when it have ide activity.
no bad cluster found
AND THERE is another big problem , after the loading of redhat linux 9 , my hdd light IS ALWAYS ON!!!!!! but my hdd is not loading.
my hdd is not too old , samsung ata-100 30 gig (2002)
this problem only appear in red hat linux because i have windows xp on another partition and no problem the light is not always on and it flash when it have ide activity.
no bad cluster found
/mnt/best should only be used to mount your fat32 partition, otherwise you'll attempt to mount something else there when there is already your fat32 HD there.. FYI, however you can choose WHATEVER you'd like, and yes, that fstab entry should be sufficient.
I'd add:
/dev/hde6 /mnt/best vfat noexec,auto,user,rw,uid=500 0 0
Instead, since you don't/shouldn't need to be executing anything from your fat partition, just a small extra security measure.
As for the HD light, it appears to be some sort of bug, not sure what causes it. You might look into hdparm and see if you can play with some setting in there... ***NOTE: Messing with hdparm could render your drive useless, beware.
As for what fdisk -l reports, it will show different sizes due to extended vs logical setups. I prefer to mount my drive then use:
df -h
to report size and usage info, it's much more readable.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.