Ubuntu installer fails to find partitions [SOLVED]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












FINAL EDIT:
In order to make this work you should back up all your partitions to a different hard disk. You will lose all your data on the disk and need to make the partitions anew.
Run ubuntu from a USB stick.
Use your favourite tool to zap the GPT table.
Delete all the partitions.
Install your operating systems.
Put your backups back.



Not my first time installing ubuntu but my first time installing 16.04.4 and first time installing on this laptop.
I ran into the problem that while the installer could find my harddisk it does not show any partitions on it. I opened up gparted and created the required partions myself but the installer still fails to see the partitions while I am able to browse them when running ubuntu from the USB-drive.
I added a link to the screenshot of both gparted and the installer.
It should become a dual boot with windows 7 and it is on a HP Elitebook 8570w.



screenshot of the installation



Thanks in advance!



EDIT: I tried to install with version 16.04.1 but ran into the same problem. I repaired my windows partitions as sudodus suggested. It still didn't work. Eventually I booted Ubuntu from the installation disk and using the terminal (gdisk -l /dev/sda ) I discovered that both MBR and GPT was present. I tried to fix this with fixparts /dev/sda but this claims it will overwrite my entire disk which seems a bit excessive. Anybody any ideas how to fix this?



EDIT2:



ubuntu@ubuntu:~$ sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.1

Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
***************************************************************

Disk /dev/sda: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 5C4DD7BD-D25B-44E3-9FFA-DAEBF009F14B
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 4206573 sectors (2.0 GiB)

Number Start (sector) End (sector) Size Code Name
1 2048 616447 300.0 MiB 0700 Microsoft basic data
2 616448 835876863 398.3 GiB 0700 Microsoft basic data
3 940734464 972572671 15.2 GiB 0700 Microsoft basic data
5 835878912 924348415 42.2 GiB 8300 Linux filesystem
6 924350464 940734463 7.8 GiB 8200 Linux swap


After which I ran fixparts:



ubuntu@ubuntu:~$ sudo fixparts /dev/sda
FixParts 1.0.1

Loading MBR data from /dev/sda

MBR command (? for help): ?
a toggle the active/boot flag
c recompute all CHS values
l set partition as logical
o omit partition
p print the MBR partition table
q quit without saving changes
r set partition as primary
s sort MBR partitions
t change partition type code
w write the MBR partition table to disk and exit

MBR command (? for help): w

Final checks complete. About to write MBR data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N):


So indeed the GPT table seems to be there but I fail to see how I can remove it without having to format all my existing partitions.










share|improve this question























  • My son has an HP Elitebook 8560p, which is dual booting Ubuntu and Windows (now upgraded to Windows 10). Ubuntu was installed from the original Ubuntu 16.04 LTS iso file. I would suggest that you try with the Ubuntu 16.04.1 LTS iso file, with the original linux 4.4 kernel series. If there are still problems, I would suspect that there is something wrong with the partition table or file systems in the internal drive. See this link
    – sudodus
    Mar 30 at 6:21







  • 1




    I tried to install with version 16.04.1 but ran into the same problem. I repaired my windows partitions as you suggested. It still didn't work. Eventually I booted Ubuntu from the installation disk and using the terminal (gdisk -l /dev/sda ) I discovered that both MBR and GPT was present. I tried to fix this with fixparts /dev/sda but this claims it will overwrite my entire disk which seems a bit excessive. Do you have any suggestions on how to fix this?
    – kaasknak
    Mar 30 at 16:36






  • 1




    Did you manually install Windows or is it an old install? New systems use UEFI with gpt partitioning. But if you manually install Windows in the now 35 year old BIOS with MBR, it converts drive to MBR incorrectly. And then leaves the backup gpt partition table at end of drive. If Windows is BIOS/MBR you cannot convert to gpt without re-installing. But if you keep Windows in BIOS mode, you must delete the backup gpt partition data with fixparts (not convert to gpt).
    – oldfred
    Mar 30 at 17:47










  • It is an old install but the laptop is almost 5 years old. How would I remove the backup gpt partition data without formatting my other partitions?
    – kaasknak
    Mar 30 at 19:58










  • As described by @oldfred, use fixparts.
    – sudodus
    Mar 30 at 20:27














up vote
0
down vote

favorite












FINAL EDIT:
In order to make this work you should back up all your partitions to a different hard disk. You will lose all your data on the disk and need to make the partitions anew.
Run ubuntu from a USB stick.
Use your favourite tool to zap the GPT table.
Delete all the partitions.
Install your operating systems.
Put your backups back.



Not my first time installing ubuntu but my first time installing 16.04.4 and first time installing on this laptop.
I ran into the problem that while the installer could find my harddisk it does not show any partitions on it. I opened up gparted and created the required partions myself but the installer still fails to see the partitions while I am able to browse them when running ubuntu from the USB-drive.
I added a link to the screenshot of both gparted and the installer.
It should become a dual boot with windows 7 and it is on a HP Elitebook 8570w.



screenshot of the installation



Thanks in advance!



EDIT: I tried to install with version 16.04.1 but ran into the same problem. I repaired my windows partitions as sudodus suggested. It still didn't work. Eventually I booted Ubuntu from the installation disk and using the terminal (gdisk -l /dev/sda ) I discovered that both MBR and GPT was present. I tried to fix this with fixparts /dev/sda but this claims it will overwrite my entire disk which seems a bit excessive. Anybody any ideas how to fix this?



EDIT2:



ubuntu@ubuntu:~$ sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.1

Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
***************************************************************

Disk /dev/sda: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 5C4DD7BD-D25B-44E3-9FFA-DAEBF009F14B
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 4206573 sectors (2.0 GiB)

Number Start (sector) End (sector) Size Code Name
1 2048 616447 300.0 MiB 0700 Microsoft basic data
2 616448 835876863 398.3 GiB 0700 Microsoft basic data
3 940734464 972572671 15.2 GiB 0700 Microsoft basic data
5 835878912 924348415 42.2 GiB 8300 Linux filesystem
6 924350464 940734463 7.8 GiB 8200 Linux swap


After which I ran fixparts:



ubuntu@ubuntu:~$ sudo fixparts /dev/sda
FixParts 1.0.1

Loading MBR data from /dev/sda

MBR command (? for help): ?
a toggle the active/boot flag
c recompute all CHS values
l set partition as logical
o omit partition
p print the MBR partition table
q quit without saving changes
r set partition as primary
s sort MBR partitions
t change partition type code
w write the MBR partition table to disk and exit

MBR command (? for help): w

Final checks complete. About to write MBR data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N):


So indeed the GPT table seems to be there but I fail to see how I can remove it without having to format all my existing partitions.










share|improve this question























  • My son has an HP Elitebook 8560p, which is dual booting Ubuntu and Windows (now upgraded to Windows 10). Ubuntu was installed from the original Ubuntu 16.04 LTS iso file. I would suggest that you try with the Ubuntu 16.04.1 LTS iso file, with the original linux 4.4 kernel series. If there are still problems, I would suspect that there is something wrong with the partition table or file systems in the internal drive. See this link
    – sudodus
    Mar 30 at 6:21







  • 1




    I tried to install with version 16.04.1 but ran into the same problem. I repaired my windows partitions as you suggested. It still didn't work. Eventually I booted Ubuntu from the installation disk and using the terminal (gdisk -l /dev/sda ) I discovered that both MBR and GPT was present. I tried to fix this with fixparts /dev/sda but this claims it will overwrite my entire disk which seems a bit excessive. Do you have any suggestions on how to fix this?
    – kaasknak
    Mar 30 at 16:36






  • 1




    Did you manually install Windows or is it an old install? New systems use UEFI with gpt partitioning. But if you manually install Windows in the now 35 year old BIOS with MBR, it converts drive to MBR incorrectly. And then leaves the backup gpt partition table at end of drive. If Windows is BIOS/MBR you cannot convert to gpt without re-installing. But if you keep Windows in BIOS mode, you must delete the backup gpt partition data with fixparts (not convert to gpt).
    – oldfred
    Mar 30 at 17:47










  • It is an old install but the laptop is almost 5 years old. How would I remove the backup gpt partition data without formatting my other partitions?
    – kaasknak
    Mar 30 at 19:58










  • As described by @oldfred, use fixparts.
    – sudodus
    Mar 30 at 20:27












up vote
0
down vote

favorite









up vote
0
down vote

favorite











FINAL EDIT:
In order to make this work you should back up all your partitions to a different hard disk. You will lose all your data on the disk and need to make the partitions anew.
Run ubuntu from a USB stick.
Use your favourite tool to zap the GPT table.
Delete all the partitions.
Install your operating systems.
Put your backups back.



Not my first time installing ubuntu but my first time installing 16.04.4 and first time installing on this laptop.
I ran into the problem that while the installer could find my harddisk it does not show any partitions on it. I opened up gparted and created the required partions myself but the installer still fails to see the partitions while I am able to browse them when running ubuntu from the USB-drive.
I added a link to the screenshot of both gparted and the installer.
It should become a dual boot with windows 7 and it is on a HP Elitebook 8570w.



screenshot of the installation



Thanks in advance!



EDIT: I tried to install with version 16.04.1 but ran into the same problem. I repaired my windows partitions as sudodus suggested. It still didn't work. Eventually I booted Ubuntu from the installation disk and using the terminal (gdisk -l /dev/sda ) I discovered that both MBR and GPT was present. I tried to fix this with fixparts /dev/sda but this claims it will overwrite my entire disk which seems a bit excessive. Anybody any ideas how to fix this?



EDIT2:



ubuntu@ubuntu:~$ sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.1

Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
***************************************************************

Disk /dev/sda: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 5C4DD7BD-D25B-44E3-9FFA-DAEBF009F14B
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 4206573 sectors (2.0 GiB)

Number Start (sector) End (sector) Size Code Name
1 2048 616447 300.0 MiB 0700 Microsoft basic data
2 616448 835876863 398.3 GiB 0700 Microsoft basic data
3 940734464 972572671 15.2 GiB 0700 Microsoft basic data
5 835878912 924348415 42.2 GiB 8300 Linux filesystem
6 924350464 940734463 7.8 GiB 8200 Linux swap


After which I ran fixparts:



ubuntu@ubuntu:~$ sudo fixparts /dev/sda
FixParts 1.0.1

Loading MBR data from /dev/sda

MBR command (? for help): ?
a toggle the active/boot flag
c recompute all CHS values
l set partition as logical
o omit partition
p print the MBR partition table
q quit without saving changes
r set partition as primary
s sort MBR partitions
t change partition type code
w write the MBR partition table to disk and exit

MBR command (? for help): w

Final checks complete. About to write MBR data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N):


So indeed the GPT table seems to be there but I fail to see how I can remove it without having to format all my existing partitions.










share|improve this question















FINAL EDIT:
In order to make this work you should back up all your partitions to a different hard disk. You will lose all your data on the disk and need to make the partitions anew.
Run ubuntu from a USB stick.
Use your favourite tool to zap the GPT table.
Delete all the partitions.
Install your operating systems.
Put your backups back.



Not my first time installing ubuntu but my first time installing 16.04.4 and first time installing on this laptop.
I ran into the problem that while the installer could find my harddisk it does not show any partitions on it. I opened up gparted and created the required partions myself but the installer still fails to see the partitions while I am able to browse them when running ubuntu from the USB-drive.
I added a link to the screenshot of both gparted and the installer.
It should become a dual boot with windows 7 and it is on a HP Elitebook 8570w.



screenshot of the installation



Thanks in advance!



EDIT: I tried to install with version 16.04.1 but ran into the same problem. I repaired my windows partitions as sudodus suggested. It still didn't work. Eventually I booted Ubuntu from the installation disk and using the terminal (gdisk -l /dev/sda ) I discovered that both MBR and GPT was present. I tried to fix this with fixparts /dev/sda but this claims it will overwrite my entire disk which seems a bit excessive. Anybody any ideas how to fix this?



EDIT2:



ubuntu@ubuntu:~$ sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.1

Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
***************************************************************

Disk /dev/sda: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 5C4DD7BD-D25B-44E3-9FFA-DAEBF009F14B
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 4206573 sectors (2.0 GiB)

Number Start (sector) End (sector) Size Code Name
1 2048 616447 300.0 MiB 0700 Microsoft basic data
2 616448 835876863 398.3 GiB 0700 Microsoft basic data
3 940734464 972572671 15.2 GiB 0700 Microsoft basic data
5 835878912 924348415 42.2 GiB 8300 Linux filesystem
6 924350464 940734463 7.8 GiB 8200 Linux swap


After which I ran fixparts:



ubuntu@ubuntu:~$ sudo fixparts /dev/sda
FixParts 1.0.1

Loading MBR data from /dev/sda

MBR command (? for help): ?
a toggle the active/boot flag
c recompute all CHS values
l set partition as logical
o omit partition
p print the MBR partition table
q quit without saving changes
r set partition as primary
s sort MBR partitions
t change partition type code
w write the MBR partition table to disk and exit

MBR command (? for help): w

Final checks complete. About to write MBR data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N):


So indeed the GPT table seems to be there but I fail to see how I can remove it without having to format all my existing partitions.







dual-boot partitioning gparted






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 2 at 17:09

























asked Mar 29 at 20:41









kaasknak

63




63











  • My son has an HP Elitebook 8560p, which is dual booting Ubuntu and Windows (now upgraded to Windows 10). Ubuntu was installed from the original Ubuntu 16.04 LTS iso file. I would suggest that you try with the Ubuntu 16.04.1 LTS iso file, with the original linux 4.4 kernel series. If there are still problems, I would suspect that there is something wrong with the partition table or file systems in the internal drive. See this link
    – sudodus
    Mar 30 at 6:21







  • 1




    I tried to install with version 16.04.1 but ran into the same problem. I repaired my windows partitions as you suggested. It still didn't work. Eventually I booted Ubuntu from the installation disk and using the terminal (gdisk -l /dev/sda ) I discovered that both MBR and GPT was present. I tried to fix this with fixparts /dev/sda but this claims it will overwrite my entire disk which seems a bit excessive. Do you have any suggestions on how to fix this?
    – kaasknak
    Mar 30 at 16:36






  • 1




    Did you manually install Windows or is it an old install? New systems use UEFI with gpt partitioning. But if you manually install Windows in the now 35 year old BIOS with MBR, it converts drive to MBR incorrectly. And then leaves the backup gpt partition table at end of drive. If Windows is BIOS/MBR you cannot convert to gpt without re-installing. But if you keep Windows in BIOS mode, you must delete the backup gpt partition data with fixparts (not convert to gpt).
    – oldfred
    Mar 30 at 17:47










  • It is an old install but the laptop is almost 5 years old. How would I remove the backup gpt partition data without formatting my other partitions?
    – kaasknak
    Mar 30 at 19:58










  • As described by @oldfred, use fixparts.
    – sudodus
    Mar 30 at 20:27
















  • My son has an HP Elitebook 8560p, which is dual booting Ubuntu and Windows (now upgraded to Windows 10). Ubuntu was installed from the original Ubuntu 16.04 LTS iso file. I would suggest that you try with the Ubuntu 16.04.1 LTS iso file, with the original linux 4.4 kernel series. If there are still problems, I would suspect that there is something wrong with the partition table or file systems in the internal drive. See this link
    – sudodus
    Mar 30 at 6:21







  • 1




    I tried to install with version 16.04.1 but ran into the same problem. I repaired my windows partitions as you suggested. It still didn't work. Eventually I booted Ubuntu from the installation disk and using the terminal (gdisk -l /dev/sda ) I discovered that both MBR and GPT was present. I tried to fix this with fixparts /dev/sda but this claims it will overwrite my entire disk which seems a bit excessive. Do you have any suggestions on how to fix this?
    – kaasknak
    Mar 30 at 16:36






  • 1




    Did you manually install Windows or is it an old install? New systems use UEFI with gpt partitioning. But if you manually install Windows in the now 35 year old BIOS with MBR, it converts drive to MBR incorrectly. And then leaves the backup gpt partition table at end of drive. If Windows is BIOS/MBR you cannot convert to gpt without re-installing. But if you keep Windows in BIOS mode, you must delete the backup gpt partition data with fixparts (not convert to gpt).
    – oldfred
    Mar 30 at 17:47










  • It is an old install but the laptop is almost 5 years old. How would I remove the backup gpt partition data without formatting my other partitions?
    – kaasknak
    Mar 30 at 19:58










  • As described by @oldfred, use fixparts.
    – sudodus
    Mar 30 at 20:27















My son has an HP Elitebook 8560p, which is dual booting Ubuntu and Windows (now upgraded to Windows 10). Ubuntu was installed from the original Ubuntu 16.04 LTS iso file. I would suggest that you try with the Ubuntu 16.04.1 LTS iso file, with the original linux 4.4 kernel series. If there are still problems, I would suspect that there is something wrong with the partition table or file systems in the internal drive. See this link
– sudodus
Mar 30 at 6:21





My son has an HP Elitebook 8560p, which is dual booting Ubuntu and Windows (now upgraded to Windows 10). Ubuntu was installed from the original Ubuntu 16.04 LTS iso file. I would suggest that you try with the Ubuntu 16.04.1 LTS iso file, with the original linux 4.4 kernel series. If there are still problems, I would suspect that there is something wrong with the partition table or file systems in the internal drive. See this link
– sudodus
Mar 30 at 6:21





1




1




I tried to install with version 16.04.1 but ran into the same problem. I repaired my windows partitions as you suggested. It still didn't work. Eventually I booted Ubuntu from the installation disk and using the terminal (gdisk -l /dev/sda ) I discovered that both MBR and GPT was present. I tried to fix this with fixparts /dev/sda but this claims it will overwrite my entire disk which seems a bit excessive. Do you have any suggestions on how to fix this?
– kaasknak
Mar 30 at 16:36




I tried to install with version 16.04.1 but ran into the same problem. I repaired my windows partitions as you suggested. It still didn't work. Eventually I booted Ubuntu from the installation disk and using the terminal (gdisk -l /dev/sda ) I discovered that both MBR and GPT was present. I tried to fix this with fixparts /dev/sda but this claims it will overwrite my entire disk which seems a bit excessive. Do you have any suggestions on how to fix this?
– kaasknak
Mar 30 at 16:36




1




1




Did you manually install Windows or is it an old install? New systems use UEFI with gpt partitioning. But if you manually install Windows in the now 35 year old BIOS with MBR, it converts drive to MBR incorrectly. And then leaves the backup gpt partition table at end of drive. If Windows is BIOS/MBR you cannot convert to gpt without re-installing. But if you keep Windows in BIOS mode, you must delete the backup gpt partition data with fixparts (not convert to gpt).
– oldfred
Mar 30 at 17:47




Did you manually install Windows or is it an old install? New systems use UEFI with gpt partitioning. But if you manually install Windows in the now 35 year old BIOS with MBR, it converts drive to MBR incorrectly. And then leaves the backup gpt partition table at end of drive. If Windows is BIOS/MBR you cannot convert to gpt without re-installing. But if you keep Windows in BIOS mode, you must delete the backup gpt partition data with fixparts (not convert to gpt).
– oldfred
Mar 30 at 17:47












It is an old install but the laptop is almost 5 years old. How would I remove the backup gpt partition data without formatting my other partitions?
– kaasknak
Mar 30 at 19:58




It is an old install but the laptop is almost 5 years old. How would I remove the backup gpt partition data without formatting my other partitions?
– kaasknak
Mar 30 at 19:58












As described by @oldfred, use fixparts.
– sudodus
Mar 30 at 20:27




As described by @oldfred, use fixparts.
– sudodus
Mar 30 at 20:27















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1020378%2fubuntu-installer-fails-to-find-partitions-solved%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1020378%2fubuntu-installer-fails-to-find-partitions-solved%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error

How do I move numbers in filenames, in a batch renaming operation?