Booting with modified kernel parameters?
#1
Is there a way to do a one-off boot with changes to the kernel's "command line", ideally without opening up the PBP or attaching a serial console?  Like one would do on an x86 with GRUB by editing the menu entry.

I specifically want to interrupt the boot sequence while it's still running out of the initramfs and / isn't mounted, so that I can resize the partition, but I haven't been able to find anything on here talking about the general case.

I'm using the stock Debian install on the eMMC and I don't have a micro-SD card to put another OS instance on, unfortunately.
#2
In theory, you can edit the U-Boot configuration file for the command line. I don't know the option to do what you are asking, but this is the file you would need to edit on the stock Debian, as well as the line;
Code:
/boot/extlinux/extlinux.conf
append console=ttyS2,1500000n8 rw root=/dev/mmcblk1p2 rootwait rootfstype=ext4 panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 zswap.enabled=1 video=HDMI-A-1:1920x1080@60 video=eDP-1:1920x1080@60 loglevel=3 vga=current
One thing. I think the default is to mount "/boot" as R/O, so keep that in mind. I forced it to be R/W so I don't have to worry about it.
--
Arwen Evenstar
Princess of Rivendale


Possibly Related Threads…
Thread Author Replies Views Last Post
  Kernel panics solostian 7 230 1 hour ago
Last Post: Feakster
  red/green power led not working with kernel 5.14 alchemist 3 133 09-20-2021, 01:01 AM
Last Post: alchemist
  Trouble booting in Gentoo tdiggitydog 11 478 07-20-2021, 10:16 PM
Last Post: moonwalkers
  Sound stuttering on Manjaro gnome after latest kernel upgrade? pjsf 0 306 07-13-2021, 10:37 PM
Last Post: pjsf
  Kernel panic on boot with danielt's Debian installer hjalfi 11 1,955 07-09-2021, 08:52 AM
Last Post: moonwalkers
  Kernel crash on Manjaro ARM mfashby 0 273 07-06-2021, 03:17 PM
Last Post: mfashby
  Manjaro wont recognize eMMC after booting with it disabled peasant 1 408 06-27-2021, 02:39 AM
Last Post: Arwen
  A true mainline Linux Kernel for the Pinebook Pro tsys 154 104,173 06-20-2021, 09:26 AM
Last Post: linuxad
Question Building custom kernel (5.11.x) for Manjaro? ppafin 4 1,258 06-02-2021, 04:17 AM
Last Post: ppafin
  Battery gauge issue (mainline kernel) lfourquaux 4 1,103 05-22-2021, 02:43 PM
Last Post: jiyong

Forum Jump:


Users browsing this thread: 1 Guest(s)