Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-25-2023, 03:19 PM
|
#1
|
Member
Registered: May 2015
Location: Katowice, Poland
Distribution: Debian, Ubuntu
Posts: 39
Rep: 
|
Motherboard stopped recognising both bootble EFI disks as bootable. Why?
It is 11 years old asus p8z77-v
For a long time I have two SSD-s connected to it. Both are bootable, have GPT partition table, and EFI partitions with boot and esp flags. There is Debian installed on both. Bullseye on the first one and Buster or maybe even older on the other. No issues until today.
What I did today: I removed everything from the case (in the process of building new machine), then assembled everything on bench for temporary usage. The only change is different choice and order of sata cables plugged into mb and CDROM not connected at all. There is also 3rd HDD - not bootable (I had 4 sata devices connected and now have 3 of them)
And now my motherboard refuses to boot from any of these two SSD-s. Moreover it doesn't show them for boot selection when "EFI only" is selected from compatibility-related menu in bios. Seems that it thinks they are both MBR ones and boot attempts result in "reboot and select proper boot device" message. I believe it is very unlikely that two separate drives got corrupted the same way. On the other hand I'm able to boot from usb stick, look at them in gparted, mount partitions - everything looks good (I see expected files on EFI partitions in particular). It seems that my motherboard just went mad, maybe for some security-related reasons. I'm thinking about reinstalling grub on these drives, but I'm afraid of things getting even worse.
So... the general question i why and what else could I do?
|
|
|
11-25-2023, 04:19 PM
|
#2
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,311
|
ardabro,
Try connecting only one SATA cable from the SATA0 header on the motherboard to one of the SSDs.
Are all other connections correct?
Last edited by beachboy2; 11-25-2023 at 05:22 PM.
Reason: typo
|
|
1 members found this post helpful.
|
11-25-2023, 05:00 PM
|
#3
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,357
|
UEFI stores data in NVRAM on the motherboard - including device enumeration order. Move stuff around, this is gunna happen. Have a look at the output from "efibootmgr -v" run from the liveUSB.
I'd just chroot into each system and re-install grub to the disk. Then you can use efibootmgr to delete the old entries.
|
|
1 members found this post helpful.
|
11-25-2023, 06:40 PM
|
#4
|
Member
Registered: Jan 2022
Location: Hanover, Germany
Distribution: Slackware
Posts: 309
Rep: 
|
The Asus P8Z77-V provides two SATA controllers, a six port controller integrated in the Z77 Express chipset and a separate ASMedia two port controller.
In some cases, Linux kernel doesn't provide same disk order as printed on mainboard and in manual. Connection of the third disk drive may derange disk order and causes boot fail.
Start with one SSD at port SATA6G_1 and check if system boots.
Connect second SSD to port SATA6G_2 and check if system boots.
Connect HDD to port SATA3G_3 and check if system boots.
If last check fails or HDD is a SATA 6.0 GB/s device connect HDD to port SATA6G_E1 and check if system boots.
Note: If your HDD is a SATA 6.0 GB/s device and it must run at a SATA 3.0 GB/s port in your setup its performance loss is nearly negligible in most cases.
If HDD uses MBR and CSM cannot be disabled try it with GPT on HDD.
|
|
1 members found this post helpful.
|
11-26-2023, 01:05 PM
|
#5
|
Member
Registered: May 2015
Location: Katowice, Poland
Distribution: Debian, Ubuntu
Posts: 39
Original Poster
Rep: 
|
Thank You guys!
Indeed: my motherboard lost all nvram boot entries. I managed to restore them with efibootmgr -c and didn't even need to reinstall grub.
|
|
|
All times are GMT -5. The time now is 05:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|