I'm stuck in initramfs on Linux Mint v15 and I need to edit /bin/grub/grub/cfg. I have the sda1 device mounted but not sure what to do to edit. I try exec ./usr/bin/vi and it throws a kernel panic.
1
There are 1 best solutions below
Related Questions in TEXT-EDITOR
- Receiving ERROR NullInjectorError: R3InjectorError(_AppModule)[config -> config].... Over installing Angular-Markdown-Editor
- Show all tabs and trailing spaces in Visual Studio 2022
- How do I turn off syntax highlighting in micro text editor?
- Change font weight in visual studio code
- Seeking Feedback: Custom Toolbar Implementation for EditorJS
- Table not formatted Markdown editor in @toast-ui/vue-editor
- Neovim / Vim UTF-8 characters not working
- Is there a way to make sublime as core.editor (git) on Mac
- How to write a text editor in Win32 API with file save and file open dialogs
- pascal case custom html tag in Quill js
- In VSC and other apps, when i scroll the text becomes black and turns normal after a very short delay 100ms. It is really annoying
- Exploring Options for a Document Editor Implemented Exclusively with Pure JavaScript and HTML
- Toolbar dropdown menu is not closing on click of toolbar button or clicked outside of tinymce editor
- Set Text Writing Direction when using Lexical js to build text editor app
- add a alt text on image in react quilljs text editor
Related Questions in INITRD
- How do I get dracut find/mount a squashfs directly from an iso media?
- Memory issues introduced when updating Linux kernel version
- pxe booting drops to initramfs prompt. Unable to find a live file system on the network even after adding new driver
- Trouble Booting Custom Kernel with QEMU: dracut-initqueue timeout waiting for /dev/sysvg/root
- Linux initrd optimization
- Execute an interactive script in systemd-based initramfs
- What is contained in Android's init on initrd.img?
- Kernel panic - not syncing: Requested init /init failed (error -2)
- Understand apparently duplicated initrd of an embedded system
- aurel32 qemu images arm vs mips
- Find location of GRUB2/Multiboot 'module' (aka initrd)
- Facing kernel panic issue with Yocto: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
- How to create an initrd.img file for liveCD for a specific kernel version
- Manually compiled kernel fails to boot: stuck in initramfs prompt
- kernel not able to run /init in initramfs in linux android 10 kernel version 4.9
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Now there are options to do. I followed the below path:
Make a temp directory.
Mount the root filesystem (/) on the temp directory.
Then chroot it.
(initramfs) mkdir /mnt
(initramfs) mount /dev/device-name /mnt
(initramfs) chroot /mnt
$ vi