Sunday, December 2, 2007

mounting a windows drive at bootup

I reinstalled Gutsy today, for a few reasons, not least of which was the fact that I botched GRUB and made both Windows and Ubuntu unbootable. After the reinstallation I formatted a new larger ntfs drive for my documents and windows programs. When I booted back into Ubuntu, I noticed that this drive no longer mounted on bootup. On the other hand, my Dell Utility drive which I had no interest in and certainly didn't want to display on the desktop, did mount automatically on bootup. So I decided to swap the permissions of the two drives.

It was time to edit fstab.

First, I made a backup:
sudo cp /etc/fstab /etc/fstab_backup

then:

sudo gedit /etc/fstab

But I couldn't see any difference between the entries for the 2 drives in fstab, so I searched in the forums for an answer, and found it:

"I think you need to edit fstab to match the reformatted and renamed partition. [In a console type this code:]

blkid

I expect that the drive that's missing will have a different UUID in your fstab, Check it out and change it."

That user was absolutely right. Problem solved!

No comments: