Can't see Windows XP partition in Ubuntu on dual boot laptop

Asked by Edmund

Installed both XP and Ubuntu ( 64 bit) grub let me boot both of them.
Now under ubuntu I don't see the windows partition at all, while under
a former ubuntu version I could not oly see it but read and write to it too.
I have to check if that computer uses NTFS for windows or FAT not sure
about that.
How can I see the win partition too?

Edmund

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Wyatt Smith
Solved:
Last query:
Last reply:
Revision history for this message
emiperez (emiperez) said :
#1

This link my help you:

http://siddharthdawara.blogspot.com/2006/08/mounting-your-windows-partition-on.html

change "mnt" directories name to "media" name:

sudo cp /etc/fstab /etc/fstab_backup
sudo vi /etc/fstab

Make the directory where you want your drive mounted, I chose /mnt/windows

sudo mkdir /media/windows

The syntax for the fstab files is:

file system mount point type options dump pass

So you append the following lines to your file:

file system mount point type options dump pass
/dev/hda1 /media/windows ntfs'+' noatime,defaults,users,ro,umask=0 0 0

NOTE: My code div isn't handling the width overflow properly. There's a couple of tabs after ntfs, and the '+' indicates the same line, not a new line.

hda1 is mostly your C drive. If your drive is FAT32 you change the ntfs to vfat.

if you don't feel like mounting it at boot time then just make the directory and run this at a terminal

sudo mount /dev/hda1 /media/windows ntfs'+' noatime,defaults,users,ro,umask=0 0 0

NOTE: My code div isn't handling the width overflow properly. There's a couple of spaces after ntfs, and the '+' indicates the same line, not a new line.

and to unmount

sudo umount /media/windows

Hope it helps.

Revision history for this message
emiperez (emiperez) said :
#2

This link my help you:

http://siddharthdawara.blogspot.com/2006/08/mounting-your-windows-partition-on.html

change "mnt" directories name to "media" name:

sudo cp /etc/fstab /etc/fstab_backup
sudo gedit /etc/fstab

Make the directory where you want your drive mounted, I chose /media/windows

sudo mkdir /media/windows

The syntax for the fstab files is:

file system mount point type options dump pass

So you append the following lines to your file:

file system mount point type options dump pass
/dev/hda1 /media/windows ntfs'+' noatime,defaults,users,ro,umask=0 0 0

NOTE: My code div isn't handling the width overflow properly. There's a couple of tabs after ntfs, and the '+' indicates the same line, not a new line.

hda1 is mostly your C drive. If your drive is FAT32 you change the ntfs to vfat.

if you don't feel like mounting it at boot time then just make the directory and run this at a terminal

sudo mount /dev/hda1 /media/windows ntfs'+' noatime,defaults,users,ro,umask=0 0 0

NOTE: My code div isn't handling the width overflow properly. There's a couple of spaces after ntfs, and the '+' indicates the same line, not a new line.

and to unmount

sudo umount /media/windows

Hope it helps.

Revision history for this message
Wyatt Smith (wyatt-smith) said :
#3

If you are still having problems, to get better help please open a terminal from Applications-> Accessories-> Terminal and type

sudo fdisk -lu

Please tell... the output of this command and we can help with manual mount command or automounting with fstab

Revision history for this message
Edmund (zedsoft) said :
#4

Thanks a lot guys, I have to try these thing but here is the sudo fdisk -lu output.
------------------
:~$ sudo fdisk -lu

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xccd5ccd5

   Device Boot Start End Blocks Id System
/dev/sda1 * 63 71682029 35840983+ 7 HPFS/NTFS
/dev/sda2 71682030 224283464 76300717+ f W95 Ext'd (LBA)
/dev/sda3 224283465 234436544 5076540 1c Hidden W95 FAT32 (LBA)
/dev/sda5 221199048 224283464 1542208+ b W95 FAT32
/dev/sda6 71682156 110752109 19534977 83 Linux
/dev/sda7 110752173 114655904 1951866 82 Linux swap / Solaris
/dev/sda8 114655968 173244959 29294496 83 Linux

---------------------

My Windows XP is on sda1

Edmund

Revision history for this message
Best Wyatt Smith (wyatt-smith) said :
#5

To manually mount your windows partition, these command should work

sudo mkdir /media/WINDOWS
mount -t ntfs-3g /dev/sda1 /media/WINDOWS

If you get any errors from this, please tell...

To automatically mount with fstab, you should create the following entry in fstab file.

Open as root to edit
gksudo gedit /etc/fstab

Then at the bottom you can add
# Windows Partition
/dev/sda1 /media/WINDOWS ntfs-3g defaults,locale=en_US.UTF-8 0 0

Hope this helps

Revision history for this message
Edmund (zedsoft) said :
#6

Thanks Wyatt Smith, that solved my question.