Not booting on X86: Can I sort myself with a live usb?
by business_kid from LinuxQuestions.org on (#56G6C)
I can't boot my X86_64 box.
What I think went wrong was that I changed the boot order in /boot/grub/grub.cfg, but forgot to run grub-install, or else something odd happened when I did. I never noticed it for a few days because I was suspending, until I rebooted.Previously, I had kernel1, kernel2, kernel3. I switched it to kernel3, kernel2, kernel1. On the menu now, only kernel2 shows, and that goes out to lunch if I try booting it.
My install dvd chose that moment to expire. Don't you just love it when that happens? I also have a slackware live-usb disk, (kernel-4.19.58?) which boots, but doesn't seem to have grub installed. So I have to mount /, then /boot, and chroot. I can mount proc in the chroot but grub-install throws up a long string of missing device errors and apparently does nothing useful.
I see two options: get grub going under chroot, or on my usb drive there's a slackware64 iso on file. If I could burn a dvd, I can sort myself out with that. Can that be done?


What I think went wrong was that I changed the boot order in /boot/grub/grub.cfg, but forgot to run grub-install, or else something odd happened when I did. I never noticed it for a few days because I was suspending, until I rebooted.Previously, I had kernel1, kernel2, kernel3. I switched it to kernel3, kernel2, kernel1. On the menu now, only kernel2 shows, and that goes out to lunch if I try booting it.
My install dvd chose that moment to expire. Don't you just love it when that happens? I also have a slackware live-usb disk, (kernel-4.19.58?) which boots, but doesn't seem to have grub installed. So I have to mount /, then /boot, and chroot. I can mount proc in the chroot but grub-install throws up a long string of missing device errors and apparently does nothing useful.
I see two options: get grub going under chroot, or on my usb drive there's a slackware64 iso on file. If I could burn a dvd, I can sort myself out with that. Can that be done?