Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I am have just installed - for the first time, and after many many mistakes, my first Slackware - 14.2 64 on a San Disk Cruiser usb stick, throuh my Fujitsu Esprimo E7935, with a Corel2 Duo E8500 and 8 Gb ram, from a DVD burned from an iso dowsloaded this week.
I did this after using Slackware LIve (Mate) in 2 of my computers, for most of my everyday needs, for a couple months.
Immediately upon concluding the installation - having chosen not to install lilo - and exiting setup i did:
1 - chroot /mnt
2- ran mkinitrd -c -k 4.4.14 -m ext4 -f ext4 -r /dev/sdb3
got a message that modules jbd2.ko,mbcache.ko and a third one (maybe ext4?) had been added
3- grub-install --target=i386-pc -dev-sdb
got "no errors"
4- added > GRUB_DISABLE_OS_PROBE=true < to /etc/default/grub
5- ran lsblk and checked that none of the partitions in the computer's HD were mounted
6 - ran grub-mkconfig -o /boot/grub/grub.cfg
and got message that confirmed presence of initrd, and surprisingly to me that some of the OSes installed on the hd had been found, and the error message which I enclose as a .jpeg file
At this point I have no other idea than asking for help.
My first guess is that since there is another distro on the hdd is that you didn't reformat the hdd during the install process. So slackware installed besides the old distro and your electronic marvel is swapping between distro's as it boots.
In the link I've quoted, you appear to have copied and pasted (since it appears in the OP) a line from Alien's insructions, which might not be right...... (I'm not implying that Alien's instructions are wrong. They may not be current.)
Therefore you might be building a initrd file which has no matching kernel.
So have a look in your boot folder and replace the numbers (4.4.14) with the numbers that appear after which ever kernel you're using. And check that your usb is the destination.
My /boot folder @ sdb3, my Slackware (root) partition says: vmlinuz,vmlinuz-generic,vmlinuz-generic-4.4.14,vmlinuz-huge,vmlinuz-huge-4.4.14
uname -r mentions "4.4.14"
A question : can it be that I need to add a specific (usb ?) mode to initrd in order to be able to boot from the usb stick into which Slackware was installed?
Last edited by fredmyra; 02-01-2021 at 07:11 AM.
Reason: correct question
A question : can it be that I need to add a specific (usb ?) mode to initrd in order to be able to boot from the usb stick into which Slackware was installed?
What your asking is unfortunately beyond my knowledge. Sorry.
Thus, unless others can help here, I suggest you ask your questions again in the Slackware Instalation forum.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.