FC drive mount on startup.
When I had Fedora Core 6 running, this is what I did to automount my drive on startup. Now, I've upgraded systems repeatedly (yes, even with the BETA releases, and the configuration is still intact). It might be tedious for starters, but it's really easy to setup once you abstract details.
So, here's we go. Simply edit my preferences and settings. And the code should work flawlessly.
- My FC7 is (hd1,0)
- My Win32 (hd0,0)
Install the libraries required for recognizing NTFS partitions
yum install fuse fuse-libs ntfs-3g
Look for the NTFS partition under the devices
/sbin/fdisk -lu /dev/sda | grep ntfs cd /media (or mount)
Prepare the mount folder for Windows
mkdir win32
Mount the partition (my XP was "sda1", found out from above cmd)
mount /dev/sda1 /media/win32 -t ntfs-3g -r -o umask=0222
FYI [The umask specifies the rights for mounting the partition. In the command above we specified it to be "read-only". Look up the "man pages" to see more options to this.]
This is the auto-mount part (what you're after). Now, as King Zephyr said, edit "fstab" using the command line or any other GUI editor:
vi /etc/fstab
update the /dev/sd** line to point to your partition, I did (I don't remember for sure):
/dev/sda1 /media/win32 ntfs-3g rw, defaults, umask=0000 0 0
This'll give you read and write access to windows. In case you ever wanted to edit files from LINUX itself. Which you'd want anyways. You're a hacker.
Time for some screenshots, now, chop-chop Show what you got.
http://www.hellboundhackers.org/forum/viewthread.php?forum_id=53&thread_id=10014#81968
lol, I <3 screenies.
netfish wrote: This is the auto-mount part (what you're after). Now, as King Zephyr said, edit "fstab" using the command line or any other GUI editor:
Oh, no, never that… especially not after your kickass explanation. I just gave him the simple answer… you walked him through the whole thing, as only a FC user could do. ;)
Oh, and nice screenies… I think the terminal standalone was the sexiest one of them all. B)
Now for my question, which should keep this thread on-topic: Aren't mounted NTFS drives read-only? Or have newer / different versions of the NTFS drivers overcome that limitation? I always just got in the habit of having a FAT32 part handy…