LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 04-08-2022, 12:52 PM   #1
Comrade Spider
LQ Newbie
 
Registered: Feb 2022
Location: Harrisburg, PA
Distribution: Void Linux, Bedrock Linux, EndeavourOS, Garuda Linux, LFS
Posts: 4

Rep: Reputation: 0
External Hard Drive refuses to boot, many mkinitrd commands, no dice


Hello. I successfully install Slackware 15 on an external hard drive w/ UEFI, and it will boot only as far as kernel module loading. It loads them correctly, then freezes and drops me into a shell after it displays
Code:
 mount: can’t find /mnt in /etc/fstab
. I have remake Initrd many different times (in a chrooted environment with /dev /sys and /proc mounted). I’ve looked on the here, Reddit, even resorted to Facebook Linux groups for pre-existing answers. This has been a WIP for a couple days, and I really don’t understand what is happening. Thank you for your time.

Last edited by Comrade Spider; 04-08-2022 at 06:46 PM. Reason: Grammatical corrections
 
Old 04-08-2022, 04:45 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Maybe using uuids in /etc/fstab of external drive will fix the problem.
 
Old 04-08-2022, 06:46 PM   #3
Comrade Spider
LQ Newbie
 
Registered: Feb 2022
Location: Harrisburg, PA
Distribution: Void Linux, Bedrock Linux, EndeavourOS, Garuda Linux, LFS
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colorpurple21859 View Post
Maybe using uuids in /etc/fstab of external drive will fix the problem.
I tried this already. I wrote a script (with some help from the internet) with the UUID for the root device listed for creation of the initrd file, along with putting the UUIDs of all the partitions in the /etc/fstab file. (See attached image for initrd script).
Attached Thumbnails
Click image for larger version

Name:	BA6ACB83-AD3B-4191-9607-B0A205A5B431.jpeg
Views:	22
Size:	54.2 KB
ID:	38743  

Last edited by Comrade Spider; 04-08-2022 at 06:53 PM.
 
Old 04-08-2022, 06:47 PM   #4
Comrade Spider
LQ Newbie
 
Registered: Feb 2022
Location: Harrisburg, PA
Distribution: Void Linux, Bedrock Linux, EndeavourOS, Garuda Linux, LFS
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Comrade Spider View Post
Hello. I successfully install Slackware 15 on an external hard drive w/ UEFI, and it will boot only as far as kernel module loading. It loads them correctly, then freezes and drops me into a shell after it displays
Code:
 mount: can’t find /mnt in /etc/fstab
. I have remake Initrd many different times (in a chrooted environment with /dev /sys and /proc mounted). I’ve looked on the here, Reddit, even resorted to Facebook Linux groups for pre-existing answers. This has been a WIP for a couple days, and I really don’t understand what is happening. Thank you for your time.
See image for the error message.
Attached Thumbnails
Click image for larger version

Name:	69528976-A300-4F77-A90A-EE9D92065FB7.jpeg
Views:	45
Size:	34.8 KB
ID:	38745  
 
Old 04-08-2022, 09:58 PM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Can't make out the second screen shot. ADD ext4 to the modules list or the module for the filesystem if it isn't ext4.
There may be more missing modules
Code:
sh /usr/share/mkinitrd/mkinitrd_command_generator.sh
Will list most of what is needed for the mkinitrd.

Last edited by colorpurple21859; 04-08-2022 at 10:09 PM.
 
Old 10-06-2022, 06:52 PM   #6
fredmyra
Member
 
Registered: Dec 2019
Location: Sweden
Posts: 295

Rep: Reputation: Disabled
Hi!
I am myself a newbie who suffered or a very long time with the same problem.

After MUCH searching and getting help in a couple threads I started, I finally managed to boot consistently ( I had been able too boot occasionally only) and posted some not very organized notes trying to resume my way and some of the best threads I found on this question:
https://www.linuxquestions.org/quest...sk-4175710196/

Perhaps you nay find it of some use if your problem is still unsolved
 
  


Reply



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
Current64: mkinitrd-1.4.11-x86_64_22 - sbin/mkinitrd.orig burdi01 Slackware 5 04-17-2021 05:08 AM
Installing Linux Mint 19.1 cinnamon to an external hard drive & backing up to another external hard drive. bluelakecompany@yahoo.co Linux - Newbie 1 01-23-2019 06:30 PM
sudo mkinitrd -o /boot/initrd.img-2.6.32.9 2.6.32.9 sudo: mkinitrd: command not foun vishwas181 Linux - Newbie 1 02-27-2010 01:16 AM
ubuntu installed on external hard drive, can't startup without external hard drive. Vanostaajen Linux - Software 23 01-20-2009 09:59 AM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 09:03 AM

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

All times are GMT -5. The time now is 03:01 AM.

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