LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-02-2009, 07:59 PM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Rep: Reputation: 51
Mount VISTA Partition


hi

howto mount in /etc/fstab VISTA Partition under Debian Lenny?
 
Old 08-02-2009, 08:18 PM   #2
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Gentoo / Debian / Rasbian / Proxmox
Posts: 519

Rep: Reputation: 44
EDIT: all values here are generic and non specific, you'll need to discover the values on your own machine

firstly we need to know the device name of your vista partition e.g. /dev/sda1

then we assume that your vista partition is ntfs format.

you may need to also install ntfs-3g from the debian repositories

once you know all this, you'll need to create a mount point which is just an empty folder somewhere e.g. /media/vista

then the line you add to your /etc/fstab file should looks something like
Code:
/dev/sda1 /media/vista            ntfs-3g    realatime              0       0

Last edited by Person_1873; 08-02-2009 at 08:19 PM.
 
Old 08-02-2009, 08:21 PM   #3
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 51
thx,

Read Only:
Code:
 # mount -t ntfs /dev/sda2 /windows
Code:
 
# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda3       /               ext3    errors=remount-ro 0       1
/dev/sda8       /home           ext3    defaults        0       2
/dev/sda7       /tmp            ext3    defaults        0       2
/dev/sda6       /var            ext3    defaults        0       2
/dev/sda5       none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/sda2       /windows        ntfs    defaults        0       0

Last edited by cccc; 08-02-2009 at 08:37 PM.
 
Old 08-02-2009, 08:23 PM   #4
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 51
Write => ntfs-3g
Code:
* Userspace NTFS driver via FUSE, provides read and write access.
Code:
/dev/sda2 /windows ntfs-3g rw,uid=1000,gid=1000,dmask=0002,fmask=0003 0 0

Last edited by cccc; 08-02-2009 at 08:36 PM.
 
Old 08-02-2009, 08:38 PM   #5
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Gentoo / Debian / Rasbian / Proxmox
Posts: 519

Rep: Reputation: 44
yes, ntfs-3g allows you to both read and write the drive where as ntfs only lets you read
 
  


Reply



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
Ext4 partition corrupted by resized NTFS Vista C:\ partition? graviton-boson Linux - Newbie 2 03-16-2009 01:26 PM
How do I mount the Vista partition on my laptop? jdruin Linux - Newbie 5 01-09-2009 10:48 PM
fedora/vista dual boot - partimage: restored vista - vista won't let me log on redmoon zero Linux - General 1 12-31-2007 07:21 PM
Fstab Entry To Mount Vista stratcat Linux - Desktop 5 05-15-2007 07:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:55 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
Open Source Consulting | Domain Registration