Op 02-11-12 17:10, Felix Miata schreef:
On 2012-11-02 11:39 (GMT+0100) Oddball composed:
Note too that from cmdline login as root on tty[1-6] life is easier if you learn to use Midnight Commander to navigate and view and edit files. Just mc as root, use the arrow keys to move around, and as the bar at the bottom shows, F3 to view highlighted file, F4 to edit highlighted file, F9 menu to do other things like search for a file or what file contains a string, all very easy compared to typing and remembering what to type for everything you want to do at repair time.
If command not found for mc, just 'zypper in mc' and try again.
At this point 'ctrl+alt+F1-7' to get to a tty and back, very accurate. cnf mc, brought up the repo, and the command to install it, also very accurate. So it is installed now.
Now it's time to use it. Login as root on a tty, open mc, and go fix menu.lst....
DEFAULT_APPEND=" video=1024x600 resume=/dev/system/swap splash=silent quiet showopts"
I would like to have the default on 1024x768 for this eee pc.
All the eeepcs I checked have 1024x600 or 1368x768 screens. Which is yours? 1024x600 and 1024x768. The latter is best.
But there is no editing the file here, even when root with mcedit, "This is not a normal file" (Normally i use from desktop 'alt+F2>kdesu kate' to look at and edit rootfiles, which is npwse.)
If you are in X trying to do these system file modifications, then you're likely not root, and editing system files is problematic. Until you are able to get into X as root to start with, for menu.lst, device.map, fstab, bootloader and other system files, do Ctrl-Alt-F2, login as root, mc, and edit as you please without error dialogs to get in your way.
I ctrl+alt+F2 to the tty, and get root there. Than i open mc. But i can not edit the file there.
After starting MC, goto /boot/grub. Highlight/select menu.lst. Press Shift-F3, then right-arrow, and append something like "-20121102" to indicate you're making a backup copy of what it was when you started to edit. Now move the highlight/select back to menu.lst and press F4. Make the changes you wish and save/exit. That's how simple it can be. Mcedit (F4) is an easy to use and intuitive editor. And, it works both in X and on ttys, which means you can use it to fix a broken X, and on a system that doesn't even have X, like a rescue boot.
Hmmm, sounds not wrong. Only now this time i get no tty from F1-6, only a black screen no prompt. F7 brings me back into the desktop. -- Have a nice day, Oddball. OS: Linux 3.7.0-rc2-4-desktop i686 Huidige gebruiker: oddball@EeePc-Rob-SFN9 Systeem: openSUSE 12.2 (i586) KDE: 4.9.2 "release 511" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org