Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-09-2009, 10:01 PM   #1
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Rep: Reputation: 30
How do I mount the Vista partition on my laptop?

I have a dual boot Vista and Ubuntu so I think I should be able to access the Vista partition when booted into Ubuntu.

1st - how do I find out what the Vista partition is called? I am not even sure what the Ubuntu partition is called actually.

2nd - Once i know what the Vista partition is called, how would I mount it in Ubuntu so I can copy files from Vista to Ubuntu?
Old 01-09-2009, 10:08 PM   #2
LQ Newbie
Registered: Aug 2008
Posts: 5

Rep: Reputation: 0
I think you can find your Vista partition on your /etc/fstab.
It should be of type NTFS-3g.
Do you have installed ntfs-3g?
Old 01-09-2009, 10:10 PM   #3
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Presumably, you'll find them all under /dev/ - you mount with
# mount /dev/sda2 /mnt/vista
where /dev/sda2 is the device, and /mnt/vista is the mount point. You will need a few packages for ubuntu to talk to ntfs, you'll need to
# apt-get install ntfsprogs
so you can mount and talk
Old 01-09-2009, 10:12 PM   #4
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 69
Well, if you don't find your Vista partition in /etc/fstab, try this.
Open a terminal, become root and type
fdisk -l
in the output listing look for something like this:
/dev/sda2 * 193 5432 42090300 7 HPFS/NTFS
So, /dev/sda2 is my Vista partition.
Now, if you just want the read-only access to it, type
mount -t ntfs /dev/sda2 /mnt/<some_mountpoint>

If you want a write access, you'll need ntfs-3g, that is, you type

ntfs-3g /dev/sda2 /mnt/<mount_point>
Old 01-09-2009, 10:14 PM   #5
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,331

Rep: Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406
You can get your partition information with the command: sudo fdisk -l
You can find out what is mounted where with: sudo mount
Old 01-09-2009, 11:48 PM   #6
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Original Poster
Rep: Reputation: 30
Thanks All. I was able to piece it together from your posts and another which explained I had to actually create a folder under /mnt in order to mount. For someone else looking for a solution, here is what happened:

ubuntu@ubuntu:~$ fdisk -l
Cannot open /dev/sda
Did not work because you need to be root to use fdisk

ubuntu@ubuntu:~$ sudo fdisk -l
[sudo] password for ubuntu:

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf99b3d64

Device Boot Start End Blocks Id System
/dev/sda1 1 192 1536000 27 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2 * 192 15297 121336128+ 7 HPFS/NTFS
/dev/sda3 15298 15680 3076447+ 82 Linux swap / Solaris
/dev/sda4 15681 30401 118246432+ 83 Linux
So now I know /dev/sda2 is vista

ubuntu@ubuntu:~$ sudo mount -t ntfs /dev/sda2 /mnt/vista
fuse: failed to access mountpoint /mnt/vista: No such file or directory
did not work because i do not have a folder called /mnt/vista

ubuntu@ubuntu:~$ sudo mkdir /mnt/vista
ubuntu@ubuntu:~$ sudo mount -t ntfs /dev/sda2 /mnt/vista
ubuntu@ubuntu:~$ cd /mnt/vista/
ubuntu@ubuntu:/mnt/vista$ ls
autoexec.bat DOCS pagefile.sys TOSHIBA
Boot Documents and Settings ProgramData Users
bootmgr MSOCache Program Files Windows
config.sys OffPro07Trial System Volume Information
now I am in business...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Connecting Ubuntu laptop to Vista laptop rozilla Linux - Networking 2 07-24-2008 06:16 PM
fedora/vista dual boot - partimage: restored vista - vista won't let me log on redmoon zero Linux - General 1 12-31-2007 08:21 PM
My new laptop, need help to remove Vista. isuck@linux Linux - Laptop and Netbook 13 10-11-2007 10:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration