You are not logged in.

#1 2017-09-30 13:25:03

grindv1k
Member
Registered: 2015-11-15
Posts: 21

[SOLVED] I messed up adding a kernel line, am I screwed?

So I don't have a CD or USB stick to use at the moment.
I boot into rootfs (which I have never experience before and it seems I am limited here) because:

   

 ERROR: Root device mounted successfully, but /usr/lib/systemd/systemd-bootchart does not exist.

I was trying to improve boot speed and added the kernel line:

   

initcall_debug printk.time=y init=/usr/lib/systemd/systemd-bootchart

In the file /etc/default/grub/grub.cfg file and then did the relevant grub-mkconfig, and now I'm stuck.

Is there anything I can do? I had a normal working arch install but now I have nothing.

Last edited by grindv1k (2017-09-30 15:32:04)

Offline

#2 2017-09-30 13:39:01

progandy
Member
Registered: 2012-05-17
Posts: 5,318

Re: [SOLVED] I messed up adding a kernel line, am I screwed?

You should be able to edit the menu entry before grub boots it.

https://www.gnu.org/software/grub/manua … -interface


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2017-09-30 15:31:46

grindv1k
Member
Registered: 2015-11-15
Posts: 21

Re: [SOLVED] I messed up adding a kernel line, am I screwed?

progandy wrote:

You should be able to edit the menu entry before grub boots it.

https://www.gnu.org/software/grub/manua … -interface

Thanks, I had forgotten that I have the grub menu hidden and needed to hold shift to display it again.

Using your link I was able to just press "e" on the Arch linux entry, remove the offending lines, and press Ctrl-x in the editor to launch with those kernel lines removed.

It boots! smile

Offline

Board footer

Powered by FluxBB