LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-08-2005, 10:33 PM   #1
mala fide
Member
 
Registered: Nov 2004
Location: Espoo, Finland
Distribution: Kubuntu 7.10
Posts: 48

Rep: Reputation: 15
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!
 
Old 05-08-2005, 10:38 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
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
 
Old 05-08-2005, 10:39 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

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


Cheers,
Tink
 
Old 05-08-2005, 10:42 PM   #4
ShaneK
Member
 
Registered: Mar 2005
Location: Lancaster, PA
Distribution: Gentoo, Fedora Core
Posts: 39

Rep: Reputation: 15
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.
 
Old 05-08-2005, 10:54 PM   #5
mala fide
Member
 
Registered: Nov 2004
Location: Espoo, Finland
Distribution: Kubuntu 7.10
Posts: 48

Original Poster
Rep: Reputation: 15
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

Last edited by mala fide; 05-08-2005 at 11:14 PM.
 
Old 05-08-2005, 11:13 PM   #6
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
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
 
Old 05-08-2005, 11:45 PM   #7
mala fide
Member
 
Registered: Nov 2004
Location: Espoo, Finland
Distribution: Kubuntu 7.10
Posts: 48

Original Poster
Rep: Reputation: 15
So these shortcuts point to fstab and fstab entrys point to the partitions?

Thanks again!
 
Old 05-08-2005, 11:51 PM   #8
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changed mind about Upgrading KDE but now my system is off zwyrbla Slackware 7 07-20-2005 03:04 AM
/home partition changed to read-only file system! Echo Kilo Linux - Software 1 03-30-2005 02:59 PM
system changed my root-password supersucker Linux - Software 2 01-16-2005 02:12 PM
IP Address Is Getting Changed When System Get Suspend mehuljv Linux - Newbie 0 11-20-2004 04:15 AM
Changed resultion now system hangs Kevin101 Linux - Newbie 1 05-26-2004 05:09 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration