1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Ubuntu not recognising windows ntfs partition

Discussion in 'Linux and Unix' started by gatewaypc700, Oct 5, 2011.

Thread Status:
Not open for further replies.
Advertisement
  1. gatewaypc700

    gatewaypc700 Thread Starter

    Joined:
    Oct 17, 2008
    Messages:
    553
    Hi,

    So basically here goes. After much debate I decided to try a dual boot on my laptop running windows 7 ultimate with Ubuntu to see what it was like. I really like Ubuntu and considering that I only use my laptop for Internet browsing I have decided to install it all the way.

    The problem goes like this. I cannot see or mount my NTFS partition from windows 7. This wouldn't be a problem as there is nothing on it of value however when I downloaded the Gnome partition manager, it could not format it always coming up with an error that said the device was busy.

    I am new to Linux and don't really know what I'm doing so please bear with me.

    James
     
  2. prunejuice

    prunejuice

    Joined:
    Apr 2, 2002
    Messages:
    3,408
    How is your hard drive setup and partitioned right now?
     
  3. lotuseclat79

    lotuseclat79

    Joined:
    Sep 12, 2003
    Messages:
    20,583
    Hi gatewaypc700,

    In Ubuntu, run the following command:
    $ sudo fdisk -l (i.e. lower case L)
    and post the output in this thread.

    -- Tom
     
  4. TerryNet

    TerryNet Terry Moderator

    Joined:
    Mar 23, 2005
    Messages:
    69,532
    I think the above questions and request for info are more important, but also related ...

    The last time you booted to Windows did you shut down or did you Sleep or Hibernate? If Windows is currently sleeping or hibernating that may explain the 'busy' message.
     
  5. gatewaypc700

    gatewaypc700 Thread Starter

    Joined:
    Oct 17, 2008
    Messages:
    553
    Definitely shut down properly. I wasn't even aware that a computer could dual boot in sleep or hibernate! haha.

    Prunejuice, its just two partitions. I installed ubuntu in windows right off the disk and chose the dual boot option. In a partition manager it appears as the linux partition (10gb) and the windows partition (65gb.)

    Tom, let me just jump on my laptop and post the output.
     
  6. gatewaypc700

    gatewaypc700 Thread Starter

    Joined:
    Oct 17, 2008
    Messages:
    553
    Output: james@ubuntu:~$ sudo fdisk -l
    [sudo] password for james:

    Disk /dev/sda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xd870d870

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 9728 78140128+ 7 HPFS/NTFS
    james@ubuntu:~$
     
  7. prunejuice

    prunejuice

    Joined:
    Apr 2, 2002
    Messages:
    3,408
    Wait...Is this a WUBI install?
     
  8. lotuseclat79

    lotuseclat79

    Joined:
    Sep 12, 2003
    Messages:
    20,583
    Hi gatewaypc700,

    Ok, so Ubuntu can see the NTFS drive partition.

    Here is how you mount it from Ubuntu, and a few other commands - Note: comments are enclosed in () and not part of the command:

    $ sudo mkdir /mnt/sda1
    $ sudo mount -v -t ntfs /dev/sda1 /mnt/sda1
    $ sudo -i (get into the root account)
    # pushd /mnt/sda1/ (to visit the mount point directory)
    # pwd (to determine the directory you are located)
    # popd (to get back to /root directory)
    # umount /dev/sda1 (to unmount the ntfs drive)
    # exit ( to get back to your user account)
    $

    Note: It is best to navigate a mounted directory via pushd/popd and use the command dirs -l to see the current directory stack, rather than use the cd command to navigate directories - otherwise, when you go to umount, there may be some directories left on the stack and you won't be able to umount.

    -- Tom
     
  9. TerryNet

    TerryNet Terry Moderator

    Joined:
    Mar 23, 2005
    Messages:
    69,532
    If it's a Wubi install I'm pretty sure it will only detect the pseudo-partition into which it is installed, as shown by your fdisk -l. My question/comment assumed a "true" dual boot (different and independent partitions).
     
  10. gatewaypc700

    gatewaypc700 Thread Starter

    Joined:
    Oct 17, 2008
    Messages:
    553
    True. Yeah its a wubi install. Im guessing this was the stupid way to go about it?

    And thanks Tom, will try this as soon as I can get a spare minute and let you know how it goes!
     
  11. Elvandil

    Elvandil

    Joined:
    Aug 1, 2003
    Messages:
    51,988
    Probably among the smartest ways to go about it if all you want to do is install without partitioning. But if accessing the NTFS was the goal, then maybe not.

    People who don't use WUBI on new machines with recovery partitions often lose access to them by making changes to the real partitions. For them, WUBI is the best choice.
     
  12. prunejuice

    prunejuice

    Joined:
    Apr 2, 2002
    Messages:
    3,408
    You know, if this is the laptop in your Computer Specifications list, running Ubuntu as a virtual machine using VirtualBox or something similar is always an option...
     
  13. saikee

    saikee

    Joined:
    Jun 11, 2004
    Messages:
    3,768
    If Ubuntu is installed as a guest system, which is just a large file, inside a Windows host would it be logical that it can mount the entire host filing system and see itself inside it again?

    If a Linux were installed as a separate operating system, which Post #6 confirmed it was not, and has its own partition then any Linux can mount, read and write a NTFS partition because this is an integral part of a modern Linux kernel.
     
  14. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1020760