External Hard Drive refuses to boot, many mkinitrd commands, no dice
Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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).
Last edited by Comrade Spider; 04-08-2022 at 06:53 PM.
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.