I just need some simple instructions to make the initrd from the boot stick. I've done it before on occasion as an exercise.
I'm using -current to keep up-to-date so I can keep gimp-2.9.x current. If I remain with stock slackware, I don't have the libraries that I need to run gimp from git, and gimp-2.8 is so far behind 2.9.x that is' not worth talking about. So, simple help, please? John. |
Maybe someone, with a better handling of English than me (@bassmadrigal hear me?), could put those things in a simpler way.
|
You could always go back to the previous kernel. It's here http://butler.cc.tut.fi/~kaukasoi/slackware64-current/. In chroot, install it and run lilo.
|
OK, maybe you guys have given me enough info to work this out, so thanks!
I'll report back later (things to do right now) with happiness or more tears. I see what do do with chroot. John. |
Quote:
IF you have even trouble to debug a failed boot, bad things could happen for you while using -current. For example, for a considerable time, the -current kernels randomly crashed by fault of some mysterious misfeature. Long story short, the slackware-current is not the rolling release version, but the very development tree of Slackware, and it may or may not work at random times. Hence, its usage is supposed to be targeted to advanced users who willingly assume the role of beta-testers and knows really well how Slackware works, then able alone to bring back their installations, if something bad happens. I strongly suggest you to go back to Slackware 14.2 and to find somehow how you can build your desired GIMP in a custom way. |
That screwed up.
Didier had an interesting paragraph: Boot an installation media (or live as said Darth), login as root, don't run setup, mount your (installed) root partition as /mnt, bind mount /dev /proc and /sys as /mnt/dev, /mnt/proc and /mnt/sys, chroot /mnt and make the intrd, install it and run lilo. What do you mean: bind mount /dev /proc and /sys as /mnt/dev, /mnt/proc and /mnt/sys An example would be helpful. I'll wait for the fix from slackware, or maybe someone can actually help me out. Thanks. John. |
It is simple.
While you are logged as root into your live system, mount your Linux partitions; let's suppose that your Linux lives in /dev/sda2 Code:
mkdir /mnt/sda2 |
I just tried doing an clean install from the latest -current64 iso and noticed a couple of issues. First, it never gave me an option to select the filesystem for the root (/) partition. Second, it can't detect the cdrom/dvd iso. Probably related the same kernel issue?
|
Quote:
|
Quote:
https://docs.slackware.com/howtos:sl...oot_from_media |
Also a victim.
Great info here, but keep in mind that in UEFI eras most people do not run lilo. I use GRUB. |
Thanks for the steps.
And that didn't work. I got to the point of making an initrd, but the thing seems to be in an endless loop. My initrd.gz is 50 bytes ;-) John. |
Quote:
Mine one shows something like: Code:
mkinitrd -c -k 4.14.11 -f ext4 -r /dev/sda2 -m xhci-pci:ohci-pci:ehci-pci:xhci-hcd:uhci-hcd:ehci-hcd:hid:usbhid:i2c-hid:hid_generic:hid-cherry:hid-logitech:hid-logitech-dj:hid-logitech-hidpp:hid-lenovo:hid-microsoft:hid_multitouch:jbd2:mbcache:ext4 -u -o /boot/initrd.gz |
Quote:
You are supposed to switch to the generic kernel and initrd after the first boot of your operating system. The huge one is/was only a workaround for the first boot, nothing more. Quote:
|
Or just
Code:
mkinitrd -c -k 4.14.11 -m ext4 |
All times are GMT -5. The time now is 09:04 PM. |