LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-14-2020, 08:33 AM   #1
OldAFVet
LQ Newbie
 
Registered: Mar 2018
Posts: 2

Rep: Reputation: Disabled
Unhappy Crashed dual boot system trying to upgrade from 19.3 to 20


I am a non-expert in either Linux or PCs in general. I attempted to upgrade my dual boot Win 8/Linux Mint 19.3 system to Mint 20. I experienced a system freeze with no error messages and thing spiraled south from there. I attempted this foolishly after having successfully updated from 18 to 19.3 with no issues. After many repair attempts which only contributed to the downward spiral I did total Windows reinstall (restored HDD to initial factory configuration). Windows install was successful. I shrank the windows install to 50% 0f the 1TB HDD and attempted a dual boot install of Linux 20. I received "input/output error during read on /dev/sda". It seems Linux can not read the HDD and sees only 1 large partition. During the install process the necessary partitions are created for the install but can not be used. After several failed attempts with the same results I tried to install 19.3 using the install media I had used when I replaced the HDD last year. I followed the same process I had used then which worked but received the same errors I received trying to install 20. Investigation revealed the error "Libparted error, input/output error during read on /dev/sda, Primary GPT table is corrupt but backup OK so that will be used".
Has Microsoft pushed an update that makes dual boot impossible? A bad HDD is constantly suggested as the solution but I doubt that is the problem as checking the disk with various checking protocols shows no issues and very few bad sectors. Can the GPT table be restored from backup. Online searches seem to find fixing corrupt backup but not restoring corrupt primary from backup. Any help is greatly appreciated, but I am not an expert so please make any suggestions newbie doable. Thanks
 
Old 11-14-2020, 11:31 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,813
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
To me this smells like it may be that Windows "restored" in GPT/UEFI mode, which creates a "guard" partition in front of the the real partition table, followed by an attempt to install Mint by booting the installation media in non-UEFI mode. I know a way you should be able to get this fixed, but it involves non-free software that I use for all partitioning, which I always do in advance of doing any OS installations. Surely there must be a free tool that does the same. I just don't have any familiarity with what it/they may be.

If it was mine I'd install Windows from an original installation media rather than a restore disk, after creating the desired a whole new set of partitions for GPT/UEFI OS installations. I'd also create two sets of Linux root partitions, one to keep on working when it's time for the next release, to make sure the new release is acceptable before ceasing to use the old, keeping the old for fixing anything that might break in the new, until time for the second new installation/release to replace the first.

BTW, Mint 19.x can be upgraded to Mint 20. I've done it at least twice, using the methodology for Debian upgrading to a new major release.

HTH
 
1 members found this post helpful.
Old 11-15-2020, 01:51 PM   #3
OldAFVet
LQ Newbie
 
Registered: Mar 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
MRMAZDA nailed it

Thanks for your help. There were several tiny "unknown" partitions on the HDD even though it looked like one large unallocated partition. I was able to delete, format and erase the entire disk using Killdisk on Live CD. re installed Windows 8.1 and then was happy to see the "Install along side of Windows Boot" option when I installed Linux mint 20. Everything running great now. I really appreciate you sharing your knowledge. Thanks again.
 
Old 11-15-2020, 02:00 PM   #4
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by OldAFVet View Post
I am a non-expert in either Linux or PCs in general. I attempted to upgrade my dual boot Win 8/Linux Mint 19.3 system to Mint 20. I experienced a system freeze with no error messages and thing spiraled south from there. I attempted this foolishly after having successfully updated from 18 to 19.3 with no issues. After many repair attempts which only contributed to the downward spiral I did total Windows reinstall (restored HDD to initial factory configuration). Windows install was successful. I shrank the windows install to 50% 0f the 1TB HDD and attempted a dual boot install of Linux 20. I received "input/output error during read on /dev/sda". It seems Linux can not read the HDD and sees only 1 large partition. During the install process the necessary partitions are created for the install but can not be used. After several failed attempts with the same results I tried to install 19.3 using the install media I had used when I replaced the HDD last year. I followed the same process I had used then which worked but received the same errors I received trying to install 20. Investigation revealed the error "Libparted error, input/output error during read on /dev/sda, Primary GPT table is corrupt but backup OK so that will be used".
Has Microsoft pushed an update that makes dual boot impossible? A bad HDD is constantly suggested as the solution but I doubt that is the problem as checking the disk with various checking protocols shows no issues and very few bad sectors. Can the GPT table be restored from backup. Online searches seem to find fixing corrupt backup but not restoring corrupt primary from backup. Any help is greatly appreciated, but I am not an expert so please make any suggestions newbie doable. Thanks
I just recently had a drive that gave me that same error for over 3 months but otherwise seemed fine. Then all at once it bit the bullet and was totally toast. I would suggest replacing the drive since the error is in the GPT table area and if that spreads it can kill access to the entire drive.
 
Old 11-15-2020, 02:57 PM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
boot mint iso, open a terminal post the ouput of the following
Code:
sudo parted -l
cat /sys/firmware/efi
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Upgrade F30 to F31, cant type luks password system looks crashed. kmreiserfs Fedora 5 11-08-2019 04:36 PM
[SOLVED] system upgrade caused kernel upgrade and now system doesnt boot nitecrawler Slackware 26 08-10-2015 06:53 AM
Dual boot Dual hdds, Download of ubuntu 10.1, no vista or dual boot jim d Linux - Newbie 4 11-25-2010 04:18 PM
HELP! trying to recover data from crashed system vegastech Linux - Hardware 8 09-18-2009 02:04 PM
My FC6 / XP dual boot to FC10 / XP dual boot upgrade plan... is this sane? rylan76 Fedora - Installation 6 02-03-2009 07:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration