LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Automount hdd on fedora core 6 (https://www.linuxquestions.org/questions/linux-newbie-8/automount-hdd-on-fedora-core-6-a-542899/)

eugen.serban 04-03-2007 04:29 AM

Automount hdd on fedora core 6
 
hi,
i have 2 hdd on my computer. priary master has 20GB and the secondary master has 80GB.
i want to know if is a way to automount my hdd.
know i have to write these commands:
mount -t vfat /dev/hda1 /ceu
mount -t vfat /dev/hda5 /deu
mount -t vfat /dev/hdc5 /geu

but is annoing...

is it a way to automount my hdd's?

acid_kewpie 04-03-2007 04:55 AM

in /etc/fstab:

/dev/hda1 /ceu vfat defaults 0 0
/dev/hda5 /deu vfat defaults 0 0
/dev/hdc5 /geu vfat defaults 0 0

eugen.serban 04-04-2007 12:25 AM

10x... that realy worked.
i have another question. on my laptop i have the a NTFS partition. when i write: mount -t ntfs /dev/hda1 /ceu
it doesn't reacognize NTFS command. what sould i put there.

Junior Hacker 04-04-2007 01:46 AM

When I changed my data partition from FAT32 to NTFS, I re-installed Fedora 6 because of other issues, it did not create a mount point for the NTFS partition. It was aware of it, when I typed "fdisk -l" in a terminal it showed up. I had to install ntfs-3g from source and fuse from source to mount it.
When I had tried installing ntfs-3g from Fedora repositories using yum, my system became useless because of SELinux, I could not do anything as root, could not access system services to disable SELinux even. Then I tried another install and disabled SELinux first before installing ntfs-3g with yum, but I had to manually mount my swap partition upon boot-up, Fedora could not resume swap even with the right configuration in the grub menu.lst. So I resorted to just using ntfs-3g and fuse from source and Fedora is fully functional using this route.


All times are GMT -5. The time now is 10:27 AM.