A quick comment first. The drive that is currently sda was originally sdc. That's not a great problem because we are going to use UUIDs in /etc/fstab, but is slightly confusing when looking at your terminal outputs. The important thing is that you will need to take care with the suggestions I make in Part 3 – see below.
Here are some suggestions for /etc/fstab edits. I've divided this into three parts so that you can pick and choose what you want. I've assumed that you want to mount in /media and have partition labels, because that is an elegant way of doing it.
You probably know this, but for each of the three parts the terminal command for opening a text editor with administrative rights so that you can edit /etc/fstab is:
Code:
gksudo gedit /etc/fstab
Part 1 – System reserved partition.
I strongly urge you not to have the System Reserved partition permanently mounted. It simply shouldn't be necessary. In the unlikely event of your needing to access it, it is easily mounted from the Places menu. Having it permanently mounted means that you could accidentally click on the icon and open a file browser window. That's just one step to accidentally modifying or deleting a file and making Windows unbootable. If you want to stop System Reserved being permanently mounted, run the above command, and find these two lines:
Code:
#Entry for /dev/sdc1 :
UUID=72DCA54CDCA50B83 /media/System\040Reserved ntfs defaults,nls=utf8,umask=0222,nosuid,nodev 0 0
Simply add # to the beginning of the second line so that it looks like this:
Code:
#Entry for /dev/sdc1 :
#UUID=72DCA54CDCA50B83 /media/System\040Reserved ntfs defaults,nls=utf8,umask=0222,nosuid,nodev 0 0
Save and exit gedit.
Part 2 – The other two NTFS partitions.
At the moment those two partitions are being permanently mounted by means of /etc/fstab, which means that they cannot be mounted from the Places menu. Since the Win7 partition is a working Windows C: partition (the same applies if OldXP is still a usable Windows system), I would strongly urge you not to have them permanently mounted for the same reasons as for the System Reserved partition. If you don't have them permanently mounted, you could always mount them on an as-needed basis from the Places menu. If you want to do this, then open /etc/fstab and find these lines:
Code:
#Entry for /dev/sdc2 :
UUID=2872ADEA72ADBD46 /Win7 ntfs-3g defaults,nosuid,nodev,locale=en_CA.utf8 0 0
#Entry for /dev/sdb1 :
UUID=84A433A0A43393A0 /OldXP ntfs-3g defaults,nosuid,nodev,locale=en_CA.utf8 0 0
Simply add # before the two “UUID” lines as before to get this:
Code:
#Entry for /dev/sdc2 :
#UUID=2872ADEA72ADBD46 /Win7 ntfs-3g defaults,nosuid,nodev,locale=en_CA.utf8 0 0
#Entry for /dev/sdb1 :
#UUID=84A433A0A43393A0 /OldXP ntfs-3g defaults,nosuid,nodev,locale=en_CA.utf8 0 0
If, however, you would like them mounted in /media so that desktop icons appear, then from a terminal:
Code:
sudo mkdir /media/Win7
sudo mkdir /media/OldXP
And then open /etc/fstab and change those two lines to:
Code:
#Entry for /dev/sdc2 :
UUID=2872ADEA72ADBD46 /media/Win7 ntfs-3g defaults,nosuid,nodev,locale=en_CA.utf8 0 0
#Entry for /dev/sdb1 :
UUID=84A433A0A43393A0 /media/OldXP ntfs-3g defaults,nosuid,nodev,locale=en_CA.utf8 0 0
One oddity you'll see is that because the partition label for Win7 is “MachineName” and for OldXP is “Local Disk” that is what you will see under the desktop icons. If you want to change that, simply relabel the partitions. If you need help with that, post back.
Part 3 – The three ext3 partitions.
These are currently sda3, sdb1 and sdc2. If you change the drive order in the machine, sda could become something else, and so on. With some BIOSs it happens spontaneously, so double-check at this point. The importance of this is that I am going to suggest that you label the three partitions and, not knowing what labels you would prefer, I'm going to use “sda3”, “sdb1” and “sdc2” for illustration, and also use the same for the mountpoints. Change these to what you prefer, but double-check that sda is still sda, and so on. Substitute your choice for sda3, sdb1 and sdc2 in both the commands below and in the fstab lines.
First, label the partitions:
Code:
sudo e2label /dev/sda3 sda3
sudo e2label /dev/sdb1 sdb1
sudo e2label /dev/sdc2 sdc2
Now make mountpoints:
Code:
sudo mkdir /media/sda3
sudo mkdir /media/sdb1
sudo mkdir /media/sdc2
Now open /etc/fstab and add these new lines:
Code:
UUID=ee59af83-dc97-4dba-9fc0-d81067db58a7 /media/sda3 ext3 defaults 0 2
UUID=0c9c64ed-a412-4122-b321-123b2481dc1a /media/sdb1 ext3 defaults 0 2
UUID=c559e081-a4e3-4b9e-a677-dadc77d44381 /media/sdc2 ext3 defaults 0 2
That will mount them with root privileges so you may encounter permission problems when writing to them. This may be the problem you are already experiencing with gpodder and your ext3 partitions. It is easily solved either by adding more options to “defaults” or by chowning and chmodding the partitions. If you explain what is on these partitions and what you want to use them for, I can expand on this, but let's get them permanently mounted and we can address the permissions issue once that's working.
Once you've made all your modifications, reboot and you should see a number of desktop icons for the various partitions. As said before, if you want to relabel the NTFS partitions post back and we can take it from there, and we can also sort out the permissions issues with the ext3 partitions.
Bookmarks