Tiny Core Base > TCB Q&A Forum
computer locks up during hard drive install (twice)
Juanito:
--- Quote from: ejames82 on May 31, 2010, 01:06:58 PM ---"vi /mnt/hda1/boot/grub/menu.lst
Presss i (enters insert mode)
--- End quote ---
I never tried entering "i" with vi before, but if you hit the <insert> key, it will allow you to edit the file. Once you've finished editing, hitting the <esc> key and typing ":wq" (without the "quotes" as in :=command mode, w=write, q=quit) and then hitting the <enter> key will save the file and exit vi.
--- Quote ---my first problem is i don't know how to make a screenshot. there is a screenshot utility in the right-click menu, but after clicking it, nothing happens.
--- End quote ---
Whilst nothing might appear to happen, an image file looking something like /home/tc/screenshot_0531212244.png is written - you can edit it using the gimp1 extension or similar.
batnas:
If the above doen'st help either, you can install leafpad, and edit the
--- Code: ---/mnt/hda1/boot/grub/menu.lst
--- End code ---
Explanation:
The step you are at will guide you through writing af gile in plain-text, and can be done with every texteditor you like e.g. leafpad
The use of 'vi' is maybe for people trying to install microcore. It does not have any GUI tools
\\Batnas
ejames82:
juanito,
i feel cautiously optimistic that i successfully edited
vi /mnt/hda1/boot/grub/menu.lst
i also did learn something about the screenshots i have been taking (i've been taking screenshots). i located them in the terminal in tc/home directory. apparently i took a whole bunch of them, thinking i wasn't. i deleted them now because they would be in the way.
i still don't know how to open them. i did install the gimp1 program.
you build just about everything in the appbrowser program, it looks like. appbrowser works great. as good as ubuntu's package manager.
the main reason i need the screenshot utility is to post my screenshot on this thread. when i click on the (new) gimp icon, nothing happens.
thanks.
batnas,
good to see you today, and thanks for all the help yesterday.
the leafpad utility works great, but i just don't see how it would actually be used.
i did try the command you provided. the reply was:
command not found
thanks for both replies.
batnas:
Youre welcome! :D
The line I posted wasn't a command, it is the path to the menu-file, the one you succedded editing using vi. My idea was to edit it using leafpad, but using vi is also good ;)
\\Batnas
ejames82:
batnas,
leafpad is more "my type of tool". it will be a while before i'm proficient at using vi. it just felt odd. also, i have edited the menu.lst file on ubuntu before. this menu.lst had no resemblance.
"it is the path to the menu-file, the one you succedded editing using vi"
that's some wishful thinking. and i'm not kidding.
this is what i have when i command "sudo grub"
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub>
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version