Originally Posted by sudo_su
I dont have GUI on system. I am logged in at tty and using vi editor.
Install gpm. gpm is a cut and paste utility and mouse server for virtual consoles.
If installing gpm isn't an option:
- Append all the output to bottom of the configuration file: grub-md5-crypt | tee -a name.config.file
- And you can also run the grub-md5-crypt command from within vi (:r ! grub-md5-crypt
). This does have a possible downside; You'll have to type the password blind (no prompts visible).
Both of the above 2 workarounds put all the output into the configuration file, but removing the first lines shouldn't be a problem.