Sunday, July 8, 2012

Mounting ntfs in Fedora 17

In Fedora 17 the mounting point of external devices have been changed to /run/media/{userhome}/{mountpoint}

As all runtime data from fedora 17 is stored in /run . So Is th emount points changed.

 

By default when you mount a ntfs filesystem the fs is mounted as - noexec. or you cannot execute anything from the fs.

So you chould ideally mount it using the exec options. for this add the following to your fstab. And the next time when you mount fs the scripts as well as binaries within fs will

executable -

 

also dont forget to create the mountpoint folder inside " /run/media/{username}"

sudo vi /etc/fstab

/dev/sda7  /run/media/{username}/{Mountpoint}                   ntfs    defaults,user,exec  0
/dev/sda5  /run/media/{username}/{Mountpoint}    ntfs    defaults,user,exec  0

Tuesday, July 3, 2012

Setting up Fedore 17 and Nvidia Nvidia Quadro 600

Install Fedora from cd. By default the Nouvea based graphic driver wil be installed.

lspci |grep -i VGA
And see your graphics card is getting listed.

To install the driver firstyou need to shutdown the Xserver.
 For this you can boot to runlevel 3 by typing in
init 3
from the terminal .
One in runlevel 3 your Xserver would stop working.Now change to su
su
Now you needto install the required drivers from the repo. I have used the rpmFusin repo

rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm


yum install kmod-nvidia xorg-x11-drv-nvidia-libs

Once installed the kernel boot initramfs should be changed .

## Backup old initramfs nouveau image ##
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
 
## Create new initramfs image ##
dracut /boot/initramfs-$(uname -r).img $(uname -r)

Now on restart you should boot with nvidia driver.....enjoi!!