You are not logged in.
I guess grub doesn't like hardware changes. Just got some new intel hardware, primarily mobo/chip. My old stuff was AMD, now can't boot into my kernel or a grub menu: only a blinking cursor. Luckily I have another arch box and I was expecting some of difficulties lol.
I mounted my drive via live cd, did a change root and rebuilt my initramfs with "mkinitcpio -p linux" which did not work. Tried it again this time with "pacman -Syyu mkinitcpio linux udev"
This isn't obvious to me, but is there something in the grub config that makes it freak out when it detects a hardware change? What am I doing wrong? Any help would be appreciated.
Thanks!
Linux 3.7.7-1-ARCH -systemd - grub2 - UEFI
Last edited by w201 (2013-02-19 04:38:04)
Offline
No Linux should complain about hardware changes (as far as my experience), but since the new build has UEFI, did your previous one (AMD) have UEFI?
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." --Dennis Ritchie-- RIP
Offline
I wish it were that simple but the new system has UEFI too. I'm glad to know that hardware changes shouldn't interfere with the system booting up so at least I can scratch that off. I don't understand why the kernel panic. I can swap the drive back into my old system right now and it'll boot up fine. I'm searching for solutions but I'm pretty much stumped on this one.
Last edited by w201 (2013-02-19 02:34:34)
Offline
Well with a new uefi motherboard comes new nvram, so did you create a new uefi boot manager entry with efibootmgr? Otherwise you could copy your desired bootloader to \EFI\BOOT\BOOTX64.EFI
edit: the path above is what the standard indicates is the default uefi application. So it is used when you use external media to boot from for example, in which case you would not have a boot manager entry. Then you would be choosing to boot from a given drive/device similar to how it is when you are choosing what to boot from on a legacy BIOS system.
Last edited by WonderWoofy (2013-02-19 02:50:32)
Offline
Well with a new uefi motherboard comes new nvram, so did you create a new uefi boot manager entry with efibootmgr? Otherwise you could copy your desired bootloader to \EFI\BOOT\BOOTX64.EFI
Did NOT do that. Not very familiar with the procedure so let me research it a bit I'll take a stab at it.
Offline
Thanks WonderWoofy! Got back in.
Offline
Hey, glad you got it working. Now modprobe efivars and create a new entry into the nvram with efibootmgr. Of course you could just keep using \EFI\boot\bootx64.efi, but I personally leave that as the uefi shell as I feel it is the most versatile tool in the event that my sh*t goes awry.
For instance, I accidently hit F9 instead of F10 in the bios and confirmed without actually reading the dialog. Yeah, well, on my system (and I assume other thinkpads as well) F10 is the "save and exit" option, while F9 is the "reset to defaults" option. So F9 and suddenly all my efibootmgr entries were gone!
Offline
Thanks again! I really shoould give the UEFI / GRUB and all the related wikis another read. It's still kind of confusing to me. For instance, to fix my problem I did...
# efibootmgr -c -g -d /dev/sdX -p Y -w -L "Arch Linux (GRUB)" -l '\EFI\arch_grub\grubx64.efi'
but I don't understand very much the intricacies of that command, but it fixed my issue. I wish I could say that I understand every single command that I issue, that would be awesome.
Offline
The help menu of efibootmgr can tell you what all those things mean.
Offline
That's a nice little reference I didn't know about. That kind of narrows down the understanding quite a bit. I feel like a complete noob at times
See ya around
---unrelated topic, i just ran top and I got 0.06 0.06 0.06 load averages. I hope that doesn't indicate something bad is about to happen to my Arch box
Last edited by w201 (2013-02-20 05:53:01)
Offline