LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   unable to get extlinux to install (https://www.linuxquestions.org/questions/slackware-14/unable-to-get-extlinux-to-install-4175693103/)

dimm0k 04-03-2021 10:16 PM

unable to get extlinux to install
 
currently have an NVME SSD that I had Slack -current running on with a complete dd backup for the partition in case of any serious system issues that I could easily recover from. that day was earlier this week when I updated haphazardly causing a bunch of issues so I decided to revert back to this dd backup. I was able to restore the entire partition, however now the system won't boot because I can't get extlinux to update the boot info on this partition. I booted into a Slack 14.2 ISO and then used the following commands to get me into a chroot environment.

Code:

mount /dev/nvme0n1p5 /mnt
mount -o bind /dev /mnt/dev
mount -o bind /proc /mnt/proc
mount -o bind /sys  /mnt/sys
chroot /mnt
extlinux --install /boot/syslinux

the result I get is
Code:

/boot/syslinux is device /dev/nvme0n1p5
and nothing else. any ideas what I'm missing to get this going? this is also a dual boot system where the Windows bootloader loads first and then loads the MBR off of /dev/nvme0n1p5 to start up Linux

MDKDIO 04-04-2021 01:45 AM

What happens if you use this command instead for chroot?

chroot /mnt /bin/bash

Alien Bob 04-04-2021 03:25 AM

Quote:

Originally Posted by dimm0k (Post 6237022)
the result I get is
Code:

/boot/syslinux is device /dev/nvme0n1p5
and nothing else.

Sounds like it worked OK.

dimm0k 04-04-2021 08:00 PM

Quote:

Originally Posted by Alien Bob (Post 6237063)
Sounds like it worked OK.

damn, that's it! it was so simple I didn't want to believe it or even try it! I was expecting more to the completion message... thanks for the confirmation!


All times are GMT -5. The time now is 09:32 PM.