After spending some time trying to get past the error in Post #15, I installed Artix base in a new partition on the usb stick, but when I ran grub-mkconfig in hope to be able to boot Slakware, Artix gave me some no overlay error. Too advanced for me.
I was finally able to make a grub.cfg in Artix, when I re-installed grub with a syntax copied from
https://wiki.archlinux.org/index.php...boot_USB_drive :
Code:
grub-install --target=i386-pc --recheck --boot-directory=/mnt/boot /dev/sdb
instead of Artix syntax from
"https://wiki.artixlinux.org/Main/Installation":
Code:
grub-install --recheck /dev/sda (for BIOS systems)
Could still not boot Slackware after that - got kernel panic - if I recall it right, don’t have any note on this. But I was finally able to notice that grub.cfg in Artix’s boot partition had
Code:
set root=(hd1,msdos3)
in the Slackware entries, while when running
from grub prompt showed the usb stick, with 3 partitions and Slackware on the third partition as (hd0,msdos3)
Enclosed images: grub_cfg.jpg, grub_prompt.jpg.
I edited the 'set root' line in the grub entry for Slackware with kernel vmlinuz-generic-4.4.14 to
Code:
set root =(hd0,msdos3)
and it booted without the kernel panic but stopped once again at the > "Mount: can't find /mnt in fstab" < error as in post 15.
The same happened when I similarly edited the 'set root' line for the huge kernel's entry and tried to boot from it.
I then tried the same thing with the huge kernel but without the initrd lin, and it gave me a kernel panic.
Next I tried a few variations of the manual mounting suggestion in post #9 of :
https://www.linuxquestions.org/quest...ab-4175606919/
and got an error that resulted in 2 screens that kept showing alternatively (enclosed as: REPEATIN_1.JPG AND REPEATING_2.JPG)
After some more time trying to get past this without success I decided to try installing on an external HD, and then was even able to create a booting usb stick, something I had not succeeded when installing to an usb stick.
Installed Grub to the external HD MBR, ran grub-mkconfig, goot a grub.cfg and then kernel panic when trying to boot from the external HD - even when I edited the 'set root- line from pointing to (hd1,msdos2) - I had Slackware in the second partition on the external HD - to
set root=(hd0,msdos2)
Booted from Manjaro in my internal HD, created a swap in the external HD, edited the fstab file in the Slackware partition to use UUID, created a line for the newly created swap partition, rebooted from the Slackware CD, chrooted, with the previous bindmountings, ran /usr/share/mkinitrd/mkinitrd_command_generator.sh, and ran
mkinitrd almost exactly as suggested by mkinitrd_command_generator.sh - only change was specifiyng root as UUID.... and got my initrd..
This time - still editing the 'set root' line at grub prompt - it booted all the way to > "Mount: can't find /mnt in fstab" < as in post #15.
After trying some different parameter combinations with the manual mounting, I finally booted with the vmlinuz-generic-4.4.14 using
Code:
mount -t ext4 UUID=myuuid -mnt
and Slackware booted.
I noticed then that the boot-usb was still plugged in. Plugged it out and repeated exactly same procedure, and when trying the above mount line, upon having got > "Mount: can't find /mnt in fstab" > got another similar error, something like ”......not in /etc/fstab” (no notes on this either).
Pluggeg back the boot usb, rebooted from the external HD and when meeting the "Mount: can't find /mnt in fstab" error, tried first
Code:
mount -o -t ext4 UUID=myuuid -mnt
- which I already knew would give me instructions about specific file types, which I did not really understand - and then tried
Code:
mount -t ext4 UUID=myuuid -mnt
again, and Slackware booted.
Tried to replicate the whole thing, but could not boot and confirm my suspicion that isseing the mount command with -o before issuing it without the '-o' parameter could guarantee the boot.
Read through the mount manual which was difficult to understand, and went back to trial and error and now I have been able to replicate successful booting with
Code:
mount -o nosuid -t ext4 UUID=myuuid /mnt
Only problem, so far, now is that this is not a very elegant solution. I plan to report further developments.