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
- Bootstrap navbar spacing issue
- How to run a program in Atom Editor?
- How to work in Atom Editor's view directly
- How to delete new-line symbol
- Inserting data into opencart editor on onclick over data
- Search the file with some content and insert the row after that and write some other thing
- Automatically delete older version of Visual Studio Code on Windows
- How to run application have file .js
- How to open up text editor (edit or fix) in R Shiny?
- How to select multiple lines of code and space them all?
- Visual studio 2015 making colour code
- How to center the editor window back on the cursor in VSCode?
- What is open-in-browser package keyboard shortcut in Atom on Windows?
- Python failed to extract PDF text
- What is this editor opened by "git commit --amend" in Windows 10 cmd and how do I use it?
Related Questions in INITRD
- Do initrd really reduce kernel image size in case of Bootpimage?
- In Linux initrd image, ethernet fails to work
- Using ncurses with initrd(linux mint 13 - default kernel)
- Some details on ARM Linux boot
- Memory issues introduced when updating Linux kernel version
- How do I get dracut find/mount a squashfs directly from an iso media?
- Execute an interactive script in systemd-based initramfs
- Facing kernel panic issue with Yocto: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
- Where can I find the source code for Redhat's nash utility?
- How to create an initrd.img file for liveCD for a specific kernel version
- What is contained in Android's init on initrd.img?
- How to find all initrd.img* files on a system
- init process dies on linux kernel start
- Accessing initramfs-tools features in Yocto generated initramfs image
- docker-save from HUB without dockerd running
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 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