WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Editing extlinux.conf without a GUI  (Read 525 times)

Offline Nate_the_great

  • Newbie
  • *
  • Posts: 7
Editing extlinux.conf without a GUI
« on: August 29, 2020, 01:03:16 AM »
so I downloaded dcorePlus-jessie.gz and the coesponding vmlinuz file, put it in the boot directory and modified the extlinux file thinking that I could just boot up into dcore instead of haveing to bomb my hard drive and to a fresh install

well I am an absolute retard!! I freaking got the path wrong so now my laptop is stuck at the boot prompt.

thankfully I still have the origonal tinycore *.gz and wmlinuz files in the same directory but of course since i have the mental capacity of a snail i don't know what to do.

any help would be appreciated.

    [EDIT]: Changed Subject to something more descriptive of the problem.  Rich
« Last Edit: August 29, 2020, 07:45:43 AM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 8834
Re: Editing extlinux.conf without a GUI
« Reply #1 on: August 29, 2020, 07:41:13 AM »
Hi Nate_the_great
To edit your  extlinux.conf  file:
Code: [Select]
sudo vi /Path/to/your/extlinux.conf
vi has 2 modes, insert mode and command mode.
Press the  i  key. You are now in insert mode. Text will be inserted at the current cursor position.
You can move the cursor with the arrow keys and the Page Up/Page Down keys.
When you are done, press the  Esc  key. You are now in command mode. Depending on your needs, there are 2 ways to get out of vi:
Code: [Select]
:x<Return> Save changes and exit.
:q!<Return> Discard changes and exit.
« Last Edit: August 29, 2020, 07:45:57 AM by Rich »