LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   How to mount on boot - Windows drv/partitions? (https://www.linuxquestions.org/questions/suse-opensuse-60/how-to-mount-on-boot-windows-drv-partitions-428631/)

cbjhawks 03-26-2006 08:02 AM

How to mount on boot - Windows drv/partitions?
 
After installing SuSE10 I found that my windows drives were not mounting at boot...as they previously did before reformat/reinstall. Do I need to manually edit the /etc/fstab file or is there an automatic way I can accomplish this...I'm not sure what to enter in my fstab file for the mount point and fs...along with any other necessary settings...see below please.

/dev/hda6 / ext3 acl,user_xattr 1 1
/dev/hda5 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/cdrecorder /media/cdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/dvdrecorder /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/fd0 /media/floppy subfs noauto,fs=floppyfss,procuid,nodev,nosuid,sync 0 0
none /subdomain subdomainfs noauto 0 0

acid_kewpie 03-26-2006 08:09 AM

just ad a line... e.g.
Code:

/dev/hda1    /mnt/windows    auto  defaults  0 0
just make sure that whatever mount point you use, e.g. /mnt/windows is an empty directory, and it will mount on boot.

Bruce Hill 03-26-2006 08:45 AM

Or perhaps you would prefer some entries like this:
Code:

/dev/hda1        /WinXP          ntfs        ro              1  0
/dev/hda2        /Shared          vfat        user,umask=1000,rw,auto  1  0

which will mount them under / (root) and use NTFS filesystem read-only for Windows XP, and FAT32 read/write for a FAT32 partition of shared data.

NB: You must change the device (hda1, hda2) to match your devices, and create the mount points (/WinXP, /Shared) as root to suit your desires.

If you need further help, issue as root "fdisk -l" and post the output.

cbjhawks 03-27-2006 08:16 AM

Chinaman: can I use 'rw' for permissions instead of 'ro'?
I would like that ability....???

acid_kewpie 03-27-2006 08:22 AM

ntfs write access is BAD. it's apparently got better recently, but i'd very strongly suggest you avoid if you can, for at least 3 or 4 months.

Bruce Hill 03-27-2006 08:38 AM

I'm with Chris. If you study the state of writing to a NTFS filesystem in Linux, you'll shy away now. You can mount a FAT32 partition r/w and share it between both OSes, no problem. Better safe than sorry.


All times are GMT -5. The time now is 05:40 PM.