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
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 7,033 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  Issue with booting Manjaro from encrypted NVMe drive on pbp Cs137 1 908 08-18-2023, 01:58 AM
Last Post: juliamenendez
  kernel module that supports usb-c hdmi alexandre 16 14,159 05-14-2023, 09:58 PM
Last Post: rathofkhan3
  Fix for Armbian not booting on PBP from eMMC agreenbhm 7 3,656 04-01-2023, 02:58 PM
Last Post: TRS-80
Question Debian (Vanilla) no output on display after Kernel update (6.0.8-1) as365n4 1 1,202 12-09-2022, 12:43 PM
Last Post: as365n4
  Booting Arch from USB lorebett 6 2,800 09-18-2022, 11:35 AM
Last Post: lorebett
  pinebook pro not booting cricket 1 1,118 08-17-2022, 04:38 PM
Last Post: cricket
  PBP not booting anymore jsch 5 2,782 04-21-2022, 11:24 AM
Last Post: tophneal
  Problems installing/ booting a different Linux on PinebookPro v-man 3 2,967 03-22-2022, 06:37 PM
Last Post: pentamassiv
  bootloader menu to pick a kernel - what is the current situation in in early 2022? maxtothemax 4 3,031 02-05-2022, 03:04 PM
Last Post: maxtothemax

Forum Jump:


Users browsing this thread: 1 Guest(s)