Can't boot Slackware64_15.0
2 Attachment(s)
Hi!
I have just installed Slackware64-15.0 to an external multiboot HD with grub in Artix, in a Fujitsu Lifebook med Intel i7, in order to avoid sharing the internal hd med Windows, which I very seldom use, but anyway. This kind of install was for a long time a difficult challenge which I have reported in https://www.linuxquestions.org/quest...sk-4175710196/. The machine which is the object of this thread could not proceed with the installer from the original Slackware64-15.0 , freezing at the initial stage of choosing keyboard, as described in https://www.linuxquestions.org/quest...rd-4175725742/. I was finally able to install from an usb stick with the Live Slak iso for Slackware64-15.0, The installation went fine and easy without any problems. I skipped installing a bootloader, as I usually do in all my multiboots when I already have a bootloader (in this case I did install Grub from Slackware in a first install but it did not work and then I installed Artix in order to rely on its bootloader). Artix provided the following stanza for Slackware: Quote:
When I subsitute Code:
root=UUID=48c62261-c47b-4441-92b9-2c4048581a20 Code:
root=/dev/sdb4 I have carefully done a total of 3 clean installs on the partition, keeping the content of other partitions, just to make sure and the situation replicates with precision. I have also made an initrd for the generic kernel which I also try to boot with the stanza: Quote:
I made the initrd with the same formulation I finally succeeded in installing to external usb-disks (as in https://www.linuxquestions.org/quest...sk-4175710196/: Code:
/sbin/mkinitrd -k 5.15.19 -m ext4:vfat:usbcore:usb-storage:uas:xhci-plat-hcd:xhci-pci:xhci-hcd:ehci-pci:ehci-hcd:ehci-platform:uhci-hcd:ohci-pci:ohci-hcd:ohci-platform:uhid:hid-generic:usbhid:stp:squashfs:sd-mod:scsi-mod:sg:ses:serio-raw:mrp:i2c-hid:llc:fujitsu-laptop:crc16:ccm -w 30 -f ext4 -r UUID=48c62261-c47b-4441-92b9-2c4048581a20 -u -o /boot/initrd-generic-5.15.19.gz I notice: 1 - The Slackware partition is identified as "/dev/sdb4" by artix grub, and as "/dev/sdc4" by Live Slack. 2 - The error message mentions the impossibility of acccessing/finding /dev/sdc4, and that when booted from Grub in Artix: Code:
/sbin/e2fsck: No such file or directory while trying to open /dev/sdc4 So here I am once more counting on your generosity and competence, which I have been grateful for many, many times. |
Does this Lifebook have a media reader? If yes, Artix and Slack may be handling its device enumeration order differently. It's a not unusual problem in PCs with such readers added via USB reserving 4 device names whether media is present or not. If it has one, check in firmware for possible configuration options. Also check for a firmware upgrade.
Could it be the stanza's numerical device references are too limiting? I don't remember if I ever tried this, but you might give it a try: leave out all but one hint, keeping only UUID or LABEL. Also investigate possible propriety of dracut cmdline parameters rd.hostonly=0 and rd.auto, which wouldn't likely help if this is a Grub problem rather than initrd. |
At the bottom of both of your "menuentry" code posts is
Code:
linux /boot/vmlinuz root=/dev/sdb4 Code:
linux=/dev/sdb4/boot/vmlinuz and If your booting elilo , where you'd find vmlinuz is in the folder /boot/efi/EFI/Slackware/ (and the generic kernel). Be careful that you're not using the same initrd.gz for both the huge and generic kernel. Where you'll find the initrd.gz is where you're directing the the mkinitrd command to place it. Finally install a boot loader. That way if /dev/sda dies you could boot /dev/sdb relatively easily. Edit to add. Yes I know that in lilo boots the huge kernel doesn't need a initrd.gz file. But my elilo machine created a initrd.gz file and as part the in the elilo.conf for the huge kernel, and as it worked I didn't argue. |
Grub counts drives from 0 partitions from 1, so if it is the first drive fourth partition it will be:
set root=(hd0,4) or linux (hd0,4)/boot/vmlinuz initrd (hd0,4)/boot/initrd.gz If you have nvme and sata the sata may be hd0 and the nvme hd1 Maybe changing linux line to Code:
/boot/vmlinuz-generic-5.15.19 root=UUID=48c62261-c47b-4441-92b9-2c4048581a20 what is in /etc/fstab? |
On second thought, Booting a Slackware installed on an external usb,
The grub menu entry: Code:
menuentry 'Slackware 15.0 x86_64 (on /dev/sdb4)' --class slackware --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-48c62261-c47b-4441-92b9-2c4048581a20' { Code:
UUID=48c62261-c47b-4441-92b9-2c4048581a20 / ext4 defaults 1 1 |
I find this forum fantastic, so many nice answers so quickly,
THANK YOU ALL ! |
I will be returning on your suggestions ASAP !
|
Quote:
|
Quote:
|
Quote:
THANK YOU @colorpurple21859 ! ! ! This had been a troubling one. Masterful second thought there. All it needed was the change in the fstab, as I had already changed -without success -the root parameter in grub to uuid. Let me point out to other newbies like me that may come across this that when I installed -from an usb stick: 1) sda was the internal (windows) disk, not at all involved with either installation or booting of the OSes in the external disk. 2) sdb was the installer-usb 3) sdc was the target external disk The installer then registered the Slackware partition in the external disk as /dev/sdc4 in fstab. When booting from the external disk in the absence of any usb stick the external disk becomes sdb and I think that this led to a conflict with fstab. So this is solved and I will open a new thread about not being able to install from the stable iso. Thanks again to all that took time to help. |
Quote:
|
@mrmazda>
My laptop has 3 ports for USB, can it be a case of an internal media reader? |
If they are all type A then not very likely. Attached media readers usually cause reservation of 4 USB-type sdxy devices even when no memory devices are attached. Empty type A USB ports have no reason to do that. If you had only 2 type A and one for SD and/or CompactFlash then it might be reserving at least one for such media.
|
All times are GMT -5. The time now is 10:48 PM. |