LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-03-2021, 10:16 PM   #1
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 547

Rep: Reputation: 54
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
 
Old 04-04-2021, 01:45 AM   #2
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 14.2 & Current
Posts: 211

Rep: Reputation: 44
What happens if you use this command instead for chroot?

chroot /mnt /bin/bash
 
Old 04-04-2021, 03:25 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,435

Rep: Reputation: 7629Reputation: 7629Reputation: 7629Reputation: 7629Reputation: 7629Reputation: 7629Reputation: 7629Reputation: 7629Reputation: 7629Reputation: 7629Reputation: 7629
Quote:
Originally Posted by dimm0k View Post
the result I get is
Code:
/boot/syslinux is device /dev/nvme0n1p5
and nothing else.
Sounds like it worked OK.
 
1 members found this post helpful.
Old 04-04-2021, 08:00 PM   #4
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 547

Original Poster
Rep: Reputation: 54
Quote:
Originally Posted by Alien Bob View Post
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!
 
  


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
Unable to boot on virtual machine using Extlinux bootloader -Soufiane- Linux - General 1 05-07-2015 08:13 AM
extlinux vs grub for USB problems with both, anyone wanna help? linus72 Linux - Newbie 1 09-06-2011 06:37 PM
How to "translate" grub bootloader to extlinux? atkfossiili Linux - General 5 03-21-2008 02:31 AM
how to boot a custom kernel with extlinux on USB drive? krmane Linux - Software 2 07-16-2006 03:02 AM
extlinux to boot ext2 USB flash Weavind Linux - Software 1 04-06-2006 04:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:45 PM.

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
Open Source Consulting | Domain Registration