Score:1

How do i revert adding a permenant boot arg from initramfs?

cn flag

i was trying to fix a crash issue by adding a boot paramtr (How do I add a kernel boot parameter?) <- this and now am stuck in initramfs everytime i boot (i did the permenant boot paramtr).

please let me know if i can revert it somehow using initramfs.

guiverc avatar
cn flag
You've not provided any OS & release details; but just use <E> to edit the entry when you boot the OS at `grub`. If grub isn't showing; you can use a key to make it show; but you've provided no OS & release details - so use the appropriate key for your *unstated* release (shift, esc etc).
Score:1
bo flag

You can boot into recovery mode from the Grub menu and this will bypass the kernel arguments on GRUB_CMDLINE_LINUX_DEFAULT. From recovery mode, you will be able to edit your /etc/default/grub file to remove the arguments. Also, don't forget to run sudo update-grub to apply the changes after you are finished editing the file.

To explain: arguments listed after GRUB_CMDLINE_LINUX_DEFAULT are not passed on when using recovery mode. See here for more information.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.