https://rancher.com/ logo
a

acceptable-belgium-2684

09/18/2023, 1:12 PM
Is there any way to remove the read-only effect of elemental-teal? I am trying to check on how to install some drivers but I want to experiment on what commands i need to use. Constantly modifying the machine registration and rebooting is a bit of a pain.
w

witty-table-40840

09/19/2023, 7:29 AM
Yes, you can boot using the kernel cmdline
rd.cos.debugrw=1
a

acceptable-belgium-2684

09/19/2023, 7:33 AM
Is this something you put in the device registration?
w

witty-table-40840

09/19/2023, 7:34 AM
You can edit it in the grub boot screen or put it in a
/etc/cos/bootargs.cfg
in the built container.
a

acceptable-belgium-2684

09/19/2023, 8:11 AM
Apologies to to be so stupid but how to I modify the grub bootscreen? Tried to add the setting in the current Grub params but it seems not to boot in read/write mode. I added the set rd.cos.debugrw=1 below the initrd in the setparams ‘Elemental’ sections
w

witty-table-40840

09/19/2023, 8:16 AM
Oh sorry, the
rd.cos.debugrw=1
should be added to the kernelcmd parameter.. something like:
set kernelcmd="console=tty1 console=ttyS0 root=LABEL=$state_label cos-img/filename=$img panic=5 rd.cos.oemlabel=$oem_label rd.cos.mount=LABEL=$oem_label:/oem rd.cos.mount=LABEL=$persistent_label:/usr/local fsck.mode=force fsck.repair=yes rd.cos.debugrw=1"
🙌 1
a

acceptable-belgium-2684

09/19/2023, 8:19 AM
Thanks a lot @witty-table-40840 It works!!!!
👍 1
w

witty-table-40840

09/19/2023, 8:21 AM
Awesome!