LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-24-2016, 03:08 PM   #1
davexnet
LQ Newbie
 
Registered: May 2016
Posts: 10

Rep: Reputation: Disabled
boot method was working but now not - grub error 22


I have two drives, one SATA and one PATA (EIDE)
I have Windows 10, linux and Widnows XP on the SATA drive.
The PATA drive is data only, but does contain the GRUB loader.

If I set the PATA drive to be the first device to boot in the BIOS,
I get the GRUB menu and I can boot Linux normally.

However, since I still boot Windows more often than Linux, I set the SATA drive to be
the first boot device and I get the Windows 10 boot loader and I can choose
Windows 10 or XP.

When I wanted to boot Linux, I could use a second method - press F9 during the POST and
I would get a menu following the post asking me what drive I wanted to boot from.
Here I could select the PATA drive and I could successfuly boot Grub/Linux as before.

But somewhere an error has crept in, this method of choosing Linux no longer works,
I get
GRUB Loading stage 1.5
error 22

However, It still works if I use the BIOS setup to point to the PATA drive as the first
boot device directly.

This is an older PC, using legacy BIOS and MBR
Appreciate any suggestions.
 
Old 05-24-2016, 07:29 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,928

Rep: Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865
Not many use the old (legacy) grub any more. Memories fade ...
This is caused by device mapping mismatch - I'd say you had a grub update when logged into Linux. Although I'd expect both to still work.
This only seems to happen in a mixed SATA/(E)IDE environment. I've had situations in multi-boot where only one of the Linux systems would successfully boot without intervention. FWIW I'd simply add a grub boot stanza to chainload the Win10 loader, and always just use the Linux disk. If Win10 complains (say during an update), simply change the load order for that update session.
 
Old 05-25-2016, 08:40 PM   #3
davexnet
LQ Newbie
 
Registered: May 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
Not many use the old (legacy) grub any more. Memories fade ...
This is caused by device mapping mismatch - I'd say you had a grub update when logged into Linux. Although I'd expect both to still work.
This only seems to happen in a mixed SATA/(E)IDE environment. I've had situations in multi-boot where only one of the Linux systems would successfully boot without intervention. FWIW I'd simply add a grub boot stanza to chainload the Win10 loader, and always just use the Linux disk. If Win10 complains (say during an update), simply change the load order for that update session.
Thank you for this information. This is a 6 year (approx.) old install of PCLinuxOS.

I've kept it updated through their program, Synaptic, one interesting side effect I found. My desktop state-of-the art when I installed the system in 2010.
Even though KDE has been updated numerous times, the desktop never changed it's basic (circa 2010) look. It wasn't until I created a second user recently that
I actually got to see the new KDE desktop default, applied to the new user. This was pointed out to me when I showed a screen print of my desktop, trying to
'troubleshoot something or other - I got asked why I hadn't kept my system up to date. Of course I had.

If I installed their latest dist. directly, what would I get now? Grub2? Does it work on older hardware? Can I update my existing system, to use it?

Last edited by davexnet; 05-25-2016 at 08:47 PM.
 
Old 05-25-2016, 09:40 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,928

Rep: Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865
No, it looks like they keep it up-to-date (I have never used PCLinuxOS). You have simply tripped over a configuration issue. Stick with what you have.
It looks like they are planning a major update which will include grub2 - and yes it supports old systems, and yes it should fix the issue. Best to wait till the developers roll it out though. Maybe pursue this through their fora - you might get a timetable for the upgrade.
 
Old 05-26-2016, 01:32 AM   #5
davexnet
LQ Newbie
 
Registered: May 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
No, it looks like they keep it up-to-date (I have never used PCLinuxOS). You have simply tripped over a configuration issue. Stick with what you have.
It looks like they are planning a major update which will include grub2 - and yes it supports old systems, and yes it should fix the issue. Best to wait till the developers roll it out though. Maybe pursue this through their fora - you might get a timetable for the upgrade.
Thanks for the advice. I found this, looks like it's already there (the article is from 9/14) - but you have to manually install it.
http://pclosmag.com/html/Issues/201409/page08.html

After downloading grub2 and issuing the two commands, I can now say the problem is resolved. I can leave Windows 10
as the bios default and use F9 when I want to bring up Linux.

Thanks again
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
"A disk read error occured" error for Win 7 boot after changing boot order in grub myrddin123 Linux - Newbie 2 10-31-2013 11:40 AM
[SOLVED] Grub Error with Mint Debian over Ubuntu 12.04 with Win7 Dual Boot Grub Error mariose Linux - Newbie 8 07-01-2013 09:31 PM
wireless Keyboard not working to select boot options (Grub boot loader) psrini_vasan Fedora 7 12-16-2009 06:45 PM
Gentoo-Im dumb and deleted /boot/boot Grub Says: Error 26 : Too many symbolic links smehi Linux - Software 5 06-24-2006 07:25 AM
Grub (error 17) won't boot after new motherboard/vid card.. boot disk anyone? r3dhatter Linux - Newbie 5 02-16-2005 07:52 PM


All times are GMT -5. The time now is 11:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration