You can use /etc/fstab
to handle mounting file systems at startup.
For example, on my laptop I dual boot Windows 7 and Ubuntu 10.04. When I am in Ubuntu I like to be able to access my NTFS partitions. All I do is simply mount my partitions by adding an entry to my fstab
like the following:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# Linux Drives were here (root file system, swap)
UUID=theuuid01 /mount/Windows/SystemReserved ntfs-3g quiet,defaults,rw,uid=1000,umask=0022 0 0
UUID=theuuid02 /mount/Windows/C ntfs-3g quiet,defaults,rw,uid=1000,umask=0022 0 0
So on every single bootup I have my Windows Drives available for Read/Write operations with the user id set to my personal one.
Obviously this will work with ext
style partitions too, but the NTFS is a tad more complex so it makes a good example. Be sure to read the man pages
on fstab for more information