Results 1 to 10 of 13

Thread: Windows 7 and Ubuntu not recognizing each other's partitions

Hybrid View

  1. #1
    Join Date
    Dec 2011
    Beans
    4

    Windows 7 and Ubuntu not recognizing each other's partitions

    I've been trying for a few days now to dual-boot Windows 7 and Ubuntu 11.10 (both 64-bit) on my Asus U52F laptop. Whichever order I install them in, the second OS installer either won't see or will actively ignore the installation made by the first OS.

    When I install Ubuntu or some other Linux distro first, Windows will complain that it can't install on my hard disk because the partitions are GPT-style or some such. It won't even let me make a new partition in the unallocated space; the only option is to delete and repartition the entire disk.

    When I install Windows 7 first, Ubuntu won't recognize that the partition I installed Windows on even exists. Again, the only option is to repartition the entire disk. Fedora and GParted live boots are much the same way.

    I've looked at numerous tutorials for dual-booting Windows 7 and Ubuntu, and none of them describe any such behavior. I searched this forum and others for and similar problems but couldn't find any. Is it a problem specific to my computer and is there a fix?
    Last edited by aepokh; December 27th, 2011 at 08:10 PM. Reason: GPT style, not GPL style. At the time of posting I couldn't remember the last letter.

  2. #2
    Join Date
    Jul 2011
    Beans
    3,037
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Windows 7 and Ubuntu not recognizing each other's partitions

    Sounds to me like a problem specific to your hardware. Can you give more details about that hardware?

  3. #3
    Join Date
    Dec 2011
    Beans
    4

    Re: Windows 7 and Ubuntu not recognizing each other's partitions

    Intel core i5-460M processor with 4GB DDR2 RAM. Hard drive is 640GB. Not sure of other specs; ASUS's webpage doesn't seem to have information and I've misplaced the documents from when I purchased the computer.

  4. #4
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Windows 7 and Ubuntu not recognizing each other's partitions

    What do you have installed right at this moment? Still both?

    Could you run the following in the terminal and post back the results

    Code:
    sudo fdisk -lu
    That is an "ell" not a "one".

    fdisk is a utility for finding out a number of things about the fixed drives. But it is possible for someone to give you bad commands, so be careful. Cut and paste the code to be sure you get it right.

    What this command will do is list the partition table with file system type and show some size information.

    For more information, type

    Code:
    man fdisk
    in the terminal
    Last edited by QIII; December 25th, 2011 at 05:56 AM.

  5. #5
    Join Date
    May 2010
    Location
    Seattle
    Beans
    62
    Distro
    Lubuntu 12.10 Quantal Quetzal

    Re: Windows 7 and Ubuntu not recognizing each other's partitions

    Have you tried booting in the Ubuntu live thingy (technical term) and formatted the drive (not partition) to be a MBR with the disc utility? Or if not, what type is it?

    Also, you said 640 GB...what kind of drive is this? Specific as possible please.

  6. #6
    Join Date
    Dec 2011
    Beans
    4

    Re: Windows 7 and Ubuntu not recognizing each other's partitions

    Quote Originally Posted by QIII View Post
    What do you have installed right at this moment? Still both?

    Could you run the following in the terminal and post back the results

    Code:
    sudo fdisk -lu
    That is an "ell" not a "one".

    fdisk is a utility for finding out a number of things about the fixed drives. But it is possible for someone to give you bad commands, so be careful. Cut and paste the code to be sure you get it right.

    What this command will do is list the partition table with file system type and show some size information.

    For more information, type

    Code:
    man fdisk
    in the terminal
    If I had both installed, I wouldn't have made a thread asking how to achieve that, would I? Currently I have Windows installed on the hard drive and am running Ubuntu from a live disc. Regardless, the output of fdisk:

    Code:
    ubuntu@ubuntu:~$ sudo fdisk -lu
    
    WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
    
    
    Disk /dev/sda: 640.1 GB, 640135028736 bytes
    255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x0299fa60
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
    /dev/sda2          206848   209717247   104755200    7  HPFS/NTFS/exFAT
    GPT is the same thing that Windows was complaining about. What's strange is that I used GParted to create the partition table! I've tried many times to make something with GParted that can accommodate Windows, but Windows (and Linux too, apparently) has always reported that the partition table is GPT and thus Windows could not be installed.

    Quote Originally Posted by Nasair View Post
    Have you tried booting in the Ubuntu live thingy (technical term) and formatted the drive (not partition) to be a MBR with the disc utility? Or if not, what type is it?

    Also, you said 640 GB...what kind of drive is this? Specific as possible please.
    Magnetic disc, 5200 rpm. I'm afraid that I can't be any more specific because Asus does not provide the full specifications to their products in a manner easily accessible from their website.

    As for reformatting the disc, what sort of utility would I use? Everything on Google points to fdisk, but I can't find a way to actually format a disc using that. The closest I could do is try to rewrite the partition table, but that didn't seem to actually do anything:

    Code:
    ubuntu@ubuntu:~$ sudo fdisk /dev/sda
    
    WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
    
    
    Command (m for help): o
    Building a new DOS disklabel with disk identifier 0x7a97c9cd.
    Changes will remain in memory only, until you decide to write them.
    After that, of course, the previous content won't be recoverable.
    
    Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
    
    Command (m for help): w
    The partition table has been altered!
    
    Calling ioctl() to re-read partition table.
    Syncing disks.
    ubuntu@ubuntu:~$ sudo fdisk -lu
    
    WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
    [ ... same as before ]

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •