Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: Nate_the_great on August 29, 2020, 01:03:16 AM

Title: Editing extlinux.conf without a GUI
Post by: Nate_the_great 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
Title: Re: Editing extlinux.conf without a GUI
Post by: Rich 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.