LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   HOWTO prevent installation hangs on recent hardware (https://www.linuxquestions.org/questions/slackware-installation-40/howto-prevent-installation-hangs-on-recent-hardware-4175671086/)

pchristy 03-27-2023 02:33 AM

Yes, that's exactly what I mean. Post install, and without grub, the system starts but the initial low resolution screen (the one with the penguins) is blank. After a few seconds - when the resolution changes (which I assume is kms starting) - and the text console becomes visible.

I boot into sddm (run level 4 in inittab), and sddm starts normally. Once logged in at sddm, then X (or Wayland, if you make that choice) starts and you are into your graphic environment.

With grub, everything is visible right from the start, and you get the "penguin" screen.

The problem that Eric and Patrick will face is that the installer needs to be generic - ie: work on any system. I've no doubt it is possible to put the amd module in the initrd, but would that also work for NVidia, Intel or any other graphics card. Very unlikely, I would have thought, and putting every possible combination in becomes messy!

Once you have managed to install the system, it is quite simple to rebuild the initrd to your requirements. The problem I was facing was that the installer either wouldn't run at all, or was running "invisibly" - in either event, not very helpful!

Even grub on the installer is not truly universal because, as I understand it, you need to choose between UEFI or non-UEFI when creating the boot media. I may be wrong here, as I haven't tried a non-UEFI install media on a UEFI machine, but I think it would create a non-UEFI installation. It may be possible to work around this (if I'm right), but that's a bit above my pay grade!:)

Another advantage of using grub on the install media is that it makes a truly excellent recovery disk! If the problem is simply mbr corruption (ie: windows had over-written it, as it is prone to do!), then booting from a grub install disk, created as I describe, will find all the installed systems and allow you to boot straight into any of them! Then its just a matter of re-installing whichever boot system you choose. Simples! ;)

I believe elilo is no longer supported by the original maintainer, but that doesn't mean that someone else cannot take it over - or create a fork! If you manage to patch it, submit it to Patrick! I'm sure he would be interested. However, that doesn't help with the install media, which uses syslinux rather than elilo, as I understand it.

--
Pete

colinh2 04-17-2023 07:30 AM

Thanks Pete!

This solved my installer boot problem on a Dell XPS13 (9343) from 2015.

In my case nothing even started to boot: I just got asked to "press F1 to retry booting" etc.

With your suggestions the installer booted and ran fine. Only when actually installing the packages did the screen flicker occasionally.

Have to say I found AlienBob's reaction a bit ... odd.

pchristy 04-17-2023 07:41 AM

Glad it worked for you, Colin.

I was bit puzzled by AlienBob's reaction too, but I put it down to me perhaps not explaining as clearly as I might have done (too close to the problem!) and English not being his first language - though he does seem pretty fluent.

Either way, the grub fix works, and at the end of the day that is what matters!

Cheers,

--
Pete

ldarby 04-17-2023 08:04 AM

After my last comment above I emailed Pat asking if there's any possibility of him including a patch for elilo, but he didn't respond, so I'm not going to gamble spending my time on creating this patch in the hope he starts responding once the patch is created.

pchristy 04-17-2023 10:00 AM

Yes, I pointed him to this thread shortly after I started it, but it failed to produce a response. I didn't pursue it, heeding the warning "Do not meddle in the affairs of wizards, for they are subtle and quick to anger."

;)

--
Pete

ldarby 04-27-2023 06:16 PM

Aha! I was just in the BIOS and spotted this option:

Advanced > PCI > Above 4G Decoding
which has help text:

Quote:

Enables or Disables 64bit capable Devices to be Decoded in Above 4G Address Space (Only if System Supports 64 bit PCI Decoding)
I disabled that, which changed the PCI address to a 32 bit one:

Code:

10:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev c4) (prog-if 00 [VGA controller])
        Region 0: Memory at d0000000 (64-bit, prefetchable) [size=256M]

and now elilo (and the USB installer) works.

(Edit: fixed typo & formatting)

pchristy 04-28-2023 03:07 AM

Good spot! However, I've just had a look at my BIOS, and it doesn't offer that setting. In fact, it doesn't offer much at all! It is an Insyde BIOS, and they seem to offer the absolute minimum they an get away with! My first 64-bit computer also had an Insyde BIOS, which was also a pain to deal with...

Your info might help others though, so well done! It also confirms one of my original conjectures!

Cheers,

--
Pete

Kowalczyk 09-27-2023 04:58 AM

Same issues after installation
 
Hi.

I created a bootable usb using dd and it worked.

The installation went perfectly but when I try to boot it is stuck on loading initrd.gz

This is Slackware 15.0.

It works on slackware current but I want to use the stable version.

So any tips for what can be wrong?

rizitis 09-27-2023 02:33 PM

first make a deep format to your usb stick

its better to use this tool
Code:

http://www.slackware.com/~alien/liveslak/iso2usb.sh
command should be like this
Code:

# ./iso2usb.sh -i slackware.iso -o /dev/sdX -P
if you prefer dd then leave it without write speed
Code:

dd if=slackware.iso of=/dev/sdX status=progress

pchristy 09-28-2023 06:52 AM

Quote:

Originally Posted by Kowalczyk (Post 6455790)
Hi.

I created a bootable usb using dd and it worked.

The installation went perfectly but when I try to boot it is stuck on loading initrd.gz

This is Slackware 15.0.

It works on slackware current but I want to use the stable version.

So any tips for what can be wrong?

Have you tried switching it to grub as the bootloader? What did you select as the bootloader during installation?

It may be the same issue that stopped the installer running as outlined at the start of this thread, but without more information its difficult to say. My preferred method of creating boot media is to use AlienBob's excellent usbimg2disk.sh. It comes with instructions included (open it with a text reader) but does require access to a local copy of the slackware "tree". I have a small NAS (RaspberryPi + OpenMediaVault) where I keep an clone of the Slackware tree, which makes it very easy to make install media.

You should be able to find usbimg2disk.sh in the usb-andpxe-installers folder of Slackware15. If you have the slackware iso file, you should be able to loop mount this and use it as the source for usbimg2disk, but I haven't tried that!

Otherwise, re-install, but try selecting grub as the boot loader!

--
Pete


All times are GMT -5. The time now is 10:25 AM.