LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-09-2009, 10:01 PM   #1
jdruin
Member
 
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
karenin
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
jamescondron
Member
 
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
Code:
# 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
Code:
# apt-get install ntfsprogs
so you can mount and talk
 
Old 01-09-2009, 10:12 PM   #4
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
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
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
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
jdruin
Member
 
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:

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

Quote:
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

Quote:
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

Quote:
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
BOOTSECT.BAK NST $RECYCLE.BIN
config.sys OffPro07Trial System Volume Information
ubuntu@ubuntu:/mnt/vista$
now I am in business...
 
  


Reply


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


All times are GMT -5. The time now is 03:14 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration