Thursday, July 08, 2010

Mounting Windows FS in Ubuntu

Because I am in serious process of fully Ubunticizing myself here is a neat trick to mount a Windows Filesystem onto a Ubuntu directory? Follow the following:

  1. sudo fdisk -l (find which FS it is for Windows? On my laptop it was sda1)
  2. sudo mkdir /XP (Create a directory to mount the FS to)
  3. ls -l /dev/disk/by-uuid (Copy the UUID of the Windows FS)
  4. sudo nano /etc/fstab (Start editing the file)
  5. Add UUID= /XP defaults 0 0
  6. Save the file and run sudo mount -a
  7. Give the right permission: sudo chown -R user:group /XP

No comments: