LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linspire/Freespire (https://www.linuxquestions.org/questions/linspire-freespire-45/)
-   -   freespire-how to automatically mount drives at startup (https://www.linuxquestions.org/questions/linspire-freespire-45/freespire-how-to-automatically-mount-drives-at-startup-506991/)

Hpjunior 12-02-2006 10:53 PM

freespire-how to automatically mount drives at startup
 
hi, i was wondering how to mount a hard drive at startup because when i first started to use Linux-freespire(dual one drive, slave another). I had problems reading ntfs so i just changed my slave drive from ntfs to fat32(40GB, 20/20). and when i returned to xp it came up perfect, but when i went to freespire, it read one but not the other ( it only read hdb2, not hdb1). and i got advice from the forums and tried to manually mount and it worked/ but every time i start freespire i have to remount it manually. is there anyway i can have do it by it self.

Any support is appreciated.
Thanks

budword 12-03-2006 12:52 AM

Have you changed your /etc/fstab to reflect the changes in the slave drive ? When those drives are mounted, the data needed mount them is pulled from /etc/fstab, (file type and a few other things I think), and if they should be auto mounted at all.

Best of luck

David

Hpjunior 12-03-2006 01:45 PM

this is my fstab entry:

rootfs / reiserfs comment=jiffymount,noatime,nodiratime,rw 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
none /proc/bus/usb usbfs defaults 0 0
none /dev/pts devpts rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
/boot/linux-swap.swp none swap sw 0 0
/dev/ide/host0/bus0/target1/lun0/part1 /mnt/dos ntfs comment=jiffymount,noatime,nodiratime,user,exec,de v,suid,user 0 0
/dev/ide/host0/bus0/target0/lun0/part1 /mnt/winxp ntfs comment=jiffymount,noatime,nodiratime,user,exec,de v,suid,user 0 0
/dev/floppy/0 /mnt/floppy1 auto comment=jiffymount,noatime,nodiratime,user,exec,de v,suid,noauto 0 0
/dev/ide/host0/bus1/target1/lun0/cd /mnt/cdrom1 supermount comment=jiffymount,dev=/dev/ide/host0/bus1/target1/lun0/cd,fs=iso9660,--,ro,user,exec,unhide 0 0
/dev/ide/host0/bus0/target1/lun0/part2 /mnt/dos2 vfat comment=jiffymount,noatime,nodiratime,user,exec,de v,suid 0 0
/dev/ide/host0/bus1/target0/lun0/cd /mnt/cdrom0 supermount comment=jiffymount,dev=/dev/ide/host0/bus1/target0/lun0/cd,fs=iso9660,--,ro,user,exec,unhide 0 0


but the thing i confused of is that hdb1 is already entered in my fstab (as seen above). but is listed as a ntfs type filesystem. but when i look at hdb2 it say everything that hdb1 has but has vfat in it. what do i do from here.

budword 12-03-2006 05:54 PM

Well, just edit /etc/fstab to reflect the change from ntfs to vfat. If that drive isn't ntfs anymore, any place /etc/fstab says ntfs when it really is vfat, just replace "ntfs" with "vfat" (no quotes of course). Make sure you do it as root. Ahhh linspire.....never mind....you are always root... :) ....

Then reboot....see if that partition is auto-mounted this time.

I'm not 100% sure that is the cause of your auto mounting problems....but it probably is, and should be fixed anyway....

Let me know how it worked.......

Best of luck....

David

Hpjunior 12-04-2006 08:11 AM

i got everything to work just one thing, how can i get to write to them because they only let me view them not write to them

budword 12-05-2006 10:03 AM

Just find that partitions entry in /etc/fstab, and change the "ro" part to "rw". That's read only to read write. Unmount them, then mount them, and see if it worked. It should.

Let me know how it turned out. :) Good luck....

David


All times are GMT -5. The time now is 08:45 PM.