Is there any guides i can use to help me add additional kernel boot flags into the install ISO?
I have ordered a usb hub but i want to do it now...
i915.enable_psr=0
atkbd.reset=1
i8042.nomux=1
i8042.reset=1
i8042.nopnp=1
i8042.dumbkbd=1

Code: Select all
i915.enable_psr=0
atkbd.reset=1
i8042.nomux=1
i8042.reset=1
i8042.nopnp=1
i8042.dumbkbd=1No i can not edit kernel command line parameter, because i have no keyboard.pietinger wrote: If you boot with the install-CD you can stop grub and edit kernel command line parameter also.
(If you want it permanent in your ISO-CD you should unpack the ISO and edit grub.cfg file; then make them an ISO again)

There is no Linux ISO boot media on the whole Internet with this kernel parameters given. I need to make this install media myself. For example modifying Gentoo minimal boot ISO. Im asking for pointers how to do that.NeddySeagoon wrote:MickeJ,
If you are trying to install but can't use a non Gentoo boot media,
Its just a toolkit.
If you have installed already, use the kernel, initrd and lib/modules from the install media you used.
That is, put those things into your Gentoo.
Now update grub.cfg to use that kernel and initrd.
Once it boots, with a working keyboard, you can fix your own kernel.
Look like they are kernel command line parameters. If you have the kernel support you need boot to the grub menu, choose the kernel you would like to boot then press 'e' for edit.Code: Select all
i915.enable_psr=0 atkbd.reset=1 i8042.nomux=1 i8042.reset=1 i8042.nopnp=1 i8042.dumbkbd=1
Find the kernel line and append those options to the end as a space separated list.
Let the boot happen. Those changes are in RAM only.
If all is well, fix grub to make the options permanent. I use syslinux, so I don't know how to do that.
I have googled "unpack iso" and the first hit was:MickeJ wrote:[...] Im asking for pointers how to do that.
Ok so just unpack the ISO to a folder, do the changes, and create a ISO from the same folder? I can do that, i just thought there was some more magic needed to have it working as a boot with file flags/permissions etc. Maybe i am over thinking it... I will try.pietinger wrote:I have googled "unpack iso" and the first hit was:MickeJ wrote:[...] Im asking for pointers how to do that.
https://www.tecmint.com/extract-files-f ... les-linux/
The same with "linux pack to iso" got me:
https://www.wikihow.com/Create-an-ISO-File-in-Linux
I tried Ubuntu, Fedora, Arch and ClearLinux installation media, meaning downloading them and dd it into a USB. They all boot fine, except keyboard does not work in any of them.szatox wrote:Yoga does have builtin physical keyboard, right?
It seems really weird for it to be completely unworkable by default. Have you tried any live linux?
I'm specifically pointing out liveCD rather than installCD, because they are made with intention of being used as provided, without any modification. Authors of those might go the extra mile towards hardware detection.
Although making your own bootable iso image is not very difficult (and it is a good exercise expanding your toolkit), trying out a disposable tool that already exists is a perfectly valid tactic too.
BTW, you can just do a regular install on that USB drive, exactly the same way you would on any other hard disk instead of specifically creating an installer cd or livecd. It doesn't matter what media you use to perform an installation on your target device, and a regular install is something you're probably already familiar with and will be easier to modify if you need to try different boot options. Or any other changes for that matter.
And https://askubuntu.com/questions/1352604 ... lim-7i-proThe keyboard does not work in neither Xorg nor Wayland, only in the TTY. In order to get it working, add i8042.dumbkbd to the kernel parameters. Note that the Caps Lock LED stops turning on after this.

Yes. It behaves pretty much the same way it would after installing on an internal hard drive, but you can use a different (already working) machine to change the default kernel boot options in your bootloader configuration.I just install to a USB, on my other computer. And then customize the boot option after and use it on the Yoga. I can use a stage 3 i assume. Is this what you meant?
Is there even a checksum on grub.cfg? It's been a while since I touched grub, but I never noticed it "back in the days".As long as the checksum of boot/grub/grub.cfg is not verified, you should not have any trouble.
Gentoo seems to be using hfsplus as partition type for the partition3 where the grub.cfg is located. I have spent more time then i dare to admit trying to find out how to mount a hfsplus partition type in RW mode...hfsplus: Filesystem is marked locked, mounting read-only.
Code: Select all
set default=0
set gfxpayload=keep
set timeout=10
insmod all_video
menuentry 'Boot LiveCD (kernel: gentoo)' --class gnu-linux --class os {
linux /boot/gentoo dokeymap looptype=squashfs loop=/image.squashfs cdroot
initrd /boot/gentoo.igz
}
menuentry 'Boot LiveCD (kernel: gentoo) (cached)' --class gnu-linux --class os {
linux /boot/gentoo dokeymap looptype=squashfs loop=/image.squashfs cdroot docache
initrd /boot/gentoo.igz
}
if [ "x$grub_platform" = xpc ]; then
menuentry "Memtest86+ 64bit BIOS" {
linux "/memtest64.bios"
}
fi
if [ "x$grub_platform" = xefi ]; then
menuentry "Memtest86+ 64bit UEFI" {
chainloader "/memtest.efi64"
}
fiI nice solution for non-existent problem. Just use USB hub.MickeJ wrote:I am trying to modify the grub.cfg om the Gentoo installation media as suggested in above posts.
...
At this time i have a USB hub staring at me on the desk with a superior smile, but i refuse to give up with the initial plan because i am collecting skillz i did not have before.
You missing the point, i want to learn what i wrote in this thread subject. Your goals is not my goals, we are not the same.sokhapkin wrote:I nice solution for non-existent problem. Just use USB hub.