Results 1 to 8 of 8

Thread: Ubuntu 12.10 not detecting partitions (probably Windows 8's fault)

  1. #1
    Join Date
    Aug 2010
    Beans
    13

    Ubuntu 12.10 not detecting partitions (probably Windows 8's fault)

    Hi,

    I recently upgraded my PC - added an SSD and installed Windows 8 pro. I was able to install Windows 8 fine and leave 40GB of unallocated space for Ubuntu.

    I download Ubuntu 12.10 64bit, burnt it onto a disk and attempted to install it. I followed some instructions I found and disabled fastboot and secureboot on my PC (I have a newish mobo with UEFI). The disk booted fine and I was able to get into the live CD version of Ubuntu and access all the files on the Windows 8 partition but when I tried to install Ubuntu the installer found no partitions on the SSD and listed the whole drive as free space (from the advanced tab when selecting where to install).

    Am I doing something wrong? I find it odd that Ubuntu was able to mount the Windows 8 partition and let me access the files but the installer can't find anything on the drive.

    Any help would be greatly appreciated.

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Ubuntu 12.10 not detecting partitions (probably Windows 8's fault)

    From liveCD/DVD/Flash installer in live mode's terminal post this.

    sudo parted /dev/sda unit s print

    You can also attach a screen shot of gparted with the paperclip icon on the advanced editor (not quick reply).
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Aug 2010
    Beans
    13

    Re: Ubuntu 12.10 not detecting partitions (probably Windows 8's fault)

    Hi,

    The output is actually a question:

    Code:
    ubuntu@ubuntu:~$ sudo parted /dev/sda unit s print
    Warning: /dev/sda contains GPT signatures, indicating that it has a GPT table.
    However, it does not have a valid fake msdos partition table, as it should.
    Perhaps it was corrupted -- possibly by a program that doesn't understand GPT
    partition tables.  Or perhaps you deleted the GPT table, and are now using an
    msdos partition table.  Is this a GPT partition table?
    Yes/No?
    I have no idea if it's a GPT partition or not. I typed yes and got:

    Code:
    Model: ATA INTEL SSDSC2CW24 (scsi)
    Disk /dev/sda: 468862128s
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    
    Number  Start  End  Size  File system  Name  Flags
    and there is no output if I type no.

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Ubuntu 12.10 not detecting partitions (probably Windows 8's fault)

    If drive was gpt and you installed Windows in BIOS/MBR mode, it only converts primary gpt partition table. But gpt has a backkup partition table that Windows ignores, but then Linux tools see MBR and back up gpt and get confused. As your parted list says.

    You probably have MBR(msdos), but really need to know to be safe. And you need to know how your are booting.
    Both Windows and Linux now will install from the new UEFI/BIOS in either mode, but install based on how you boot installer. If you boot install flash drive in UEFI it installs in UEFI, if you boot in BIOS/Legacy/CSM it installs in BIOS mode.

    But Windows only boots with UEFI with gpt partitions and from gpt partitions only boots with UEFI. Or with BIOS only with MBR partitions.
    Ubuntu will boot from gpt partitioning with BIOS or UEFI.
    UEFI need gpt partitioning for both Windows & Ubuntu.

    And both Windows & Ubuntu need to be installed in the same mode to easily dual boot. But some UEFI are not correct and only let you install Ubuntu in BIOS mode. And then you have to use Boot-Repair to convert to UEFI mode.

    Confused yet?

    Does Windows still boot? Either BIOS mode or UEFI mode?
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    Aug 2010
    Beans
    13

    Re: Ubuntu 12.10 not detecting partitions (probably Windows 8's fault)

    Very confused.... From what you said:


    • I have both GPT and MBR tables and the installer doesn't know which one it should be working with and/or if both are in use.



    • UEFI needs GPT partition tables.



    • Windows only works with GPT/UEFI or MBR/BIOS



    • Ubuntu works with GPT and either BIOS or UEFI


    Have I got that right?

    Windows boots fine but I'm not sure which mode I'm in. I thought that UEFI mode was the nice GUI you get on the MOBO but maybe there is more to it?

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Ubuntu 12.10 not detecting partitions (probably Windows 8's fault)

    It really is only UEFI on the mother board. But it has CSM which is BIOS mode.
    Compatibility Support Module (CSM), which emulates a BIOS mode, when booting

    Does this show MBR partitions or just complain about gpt. Fdisk only works with mMBR(msdos). You need gdisk for gpt drives.
    sudo fdisk -lu

    From Windows is this link like your partitioning or do you just have the 100MB (hidden) boot/repair and main partition? If you installed you will not have a vendor recovery.

    Microsoft suggested partitions including reserved partition for gpt & UEFI:
    http://technet.microsoft.com/en-us/l...8WS.10%29.aspx
    Older Windows info on gpt - 2008 updated 2011
    http://msdn.microsoft.com/en-us/wind.../gg463525.aspx
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7
    Join Date
    Aug 2010
    Beans
    13

    Re: Ubuntu 12.10 not detecting partitions (probably Windows 8's fault)

    It did not prompt me like the last time. The output is:

    Code:
    WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
    
    
    Disk /dev/sda: 240.1 GB, 240057409536 bytes
    255 heads, 63 sectors/track, 29185 cylinders, total 468862128 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: 0xe9396a43
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048      718847      358400    7  HPFS/NTFS/exFAT
    /dev/sda2          718848   389122047   194201600    7  HPFS/NTFS/exFAT

    I checked the windows partitions and there is a 350MB system reserved partion and then one for Widnows and some unallocated space for Ubuntu.

  8. #8
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Ubuntu 12.10 not detecting partitions (probably Windows 8's fault)

    Then you should be able to use fixparts to remove the stray gpt data. You should then get the two partitions shown without the error messages. And only have MBR(msdos) partitions.

    Fixparts - Repair broken partition tables (not overlapping issues) & delete Stray gpt data from MBR drives
    http://ubuntuforums.org/showthread.php?t=1705325
    http://www.rodsbooks.com/fixparts/

    if sfdisk will let you back up partition table run it first.
    First backup partition table, use your drive for sdX or sda, sdb etc.
    sudo sfdisk -d /dev/sdX > parts.txt
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

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
  •