LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I changed file system - what now (https://www.linuxquestions.org/questions/linux-newbie-8/i-changed-file-system-what-now-321477/)

mala fide 05-08-2005 09:33 PM

I changed file system - what now
 
My first partition of my second HDD(hdb1) used to be NTFS but I changed it to FAT32.
I should be able to write on it as well with Linux or can I.
It still shows as read-only partition so my question is:
Should I update the system information in Linux somehow or can I just add writing to my rights in that partition?

Thanks!

mjrich 05-08-2005 09:38 PM

You'll need to change the entry in /etc/fstab (post your current one here, and we'll let you know what to change it to) and possibly the mount options for the shortcuts on your desktop - but the most important one is /etc/fstab.

Cheers,

mj

Tinkster 05-08-2005 09:39 PM

What does Linux think it is?
what does "mount" by itself say it is using for that
partition?


Cheers,
Tink

ShaneK 05-08-2005 09:42 PM

Until I recently removed Windows from my computer, I had a similar setup. The line in /etc/fstab should look like this:

/dev/hdb1 [mount point of your choice] vfat umask=000 0 0

I'm betting that you can write to the drive now if you are running as root, but since you obviously know that you shouldn't, the umask option should help. Fat partitions don't handle permissions issues like linux partitions do. The 0 0 keeps linux from checking the fat filesystem if you get a bad system crash. Windows should handle that.

Good luck.

mala fide 05-08-2005 09:54 PM

Here's my fstab and as you can see, it still says ntfs.
Does Linux normally notice changes in partitions?

Code:

/dev/hdb3            /                    reiserfs  acl,user_xattr        1 1
/dev/hda1            /windows/C          ntfs      ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hdb1            /windows/D          ntfs      ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hdb2            swap                swap      pri=42                0 0
devpts              /dev/pts            devpts    mode=0620,gid=5      0 0
proc                /proc                proc      defaults              0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
sysfs                /sys                sysfs      noauto                0 0
/dev/cdrecorder      /media/cdrecorder    subfs      fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/fd0            /media/floppy        subfs      fs=floppyfss,procuid,nodev,nosuid,sync 0 0

EDIT: Yast doesn't seem to know that hdb1 is even there

mjrich 05-08-2005 10:13 PM

No, linux won't usually change /etc/fstab to reflect changes in windows partitions, unless you've set up hotplug to do this. Anyway, if you change the entry for /dev/hdb1 to
Code:

/dev/hdb1    /windows/D    vfat    rw,users,gid=users,umask=0000 0 0
then you should be able to mount the partition through a terminal, at the very least. To use knonquoror (etc) or a shortcut that was there previously for the NTFS partition, then you'll probably need to check that they still point to the same entry in fstab.

Cheers,

mj

mala fide 05-08-2005 10:45 PM

So these shortcuts point to fstab and fstab entrys point to the partitions?

Thanks again!

mjrich 05-08-2005 10:51 PM

Quote:

So these shortcuts point to fstab and fstab entrys point to the partitions?
Pretty much -- at least for the shortcuts on the desktop. I seem to remember SuSE having a slightly odd format (mimicking windows) for representing hard drives from within konquoror though, so watch out for that. It's been a while since I logged on to SuSE.

Cheers,

mj


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