Zhcon -- utf8 -- drv = vgasudoapt-getupdate & amp; sudoapt-getdist-upgradesudoapt-getinstalllinux-libc-devlibc6-devsudoapt-get-finstalllinux-libc-devlibc6-devlibstdc ++ 6-4.2-devg +
Zhcon -- utf8 -- drv = vga
Sudo apt-get update & sudo apt-get dist-upgrade
Sudo apt-get install linux-libc-dev libc6-dev
Sudo apt-get-f install linux-libc-dev libc6-dev libstdc ++ 6-4.2-dev g ++-4.2g ++ gcc
Apt-get remove softname1
However, Ubuntu does not use the init method and does not have the/etc/inittab file. Init uses a serial mode, which takes a long time to boot. When RedHat9 is started, a large number of scripts are executed serially to start various required services (which can be seen at startup ). Ubuntu uses upstart, which is an event-based init replacement program for the Ubuntu release.
Ubuntu does not contain the/etc/inittab file, but you can add it by yourself. When/etc/inittab is in the system, Ubuntu will start according to the configuration.
Therefore, to directly enter the command line, the first method is to add the/etc/inittab. However, In Debian or Ubuntu, the default run level is 2 and 2 ~ 5 indicates the X environment. (But what is the command line? Uncertain, not tested)
In another way, you can consider stopping the running level for the corresponding running level:
$ Sudo mv/etc/rc2.d/s30tpd/etc/rc2.d/k30tpd (it may be s13tpd, not necessarily)
You can also delete the target instance from the list. Back up/etc/init. d/MCM to another location:
$ Sudo/etc/init. d/mcm/usr/TPD
Then delete/etc/init. d/TPD. After deletion, the XWindow is not started, and other services remain unchanged. You need to directly enter XWindow and copy it back.
In fact, if you only want to go to the command line interface, press Ctrl + Alt + F2 on the xwindows interface to enter the character interface, and press Ctrl + Alt + F7 to return to the graphic interface.
Another method is as follows:
$ Sudo apt-get rcconf
$ Sudo rcconf
Remove the guid from the system at startup.
Follow these steps:
Sudo vi/etc/initramfs-tools/modules
Add the following three lines
Fbcon
Vesafb
Vga16fb
Then
Sudo vi/etc/modprobe. d/blacklist-framebuffer
Comment out the vesafb and vga16fb lines in the/etc/modprobe. d/blacklist-framebuffer file.
Sudo gedit/boot/grub/menu. lst
Add
Vga = 0x0317 (depending on the display and number of digits, this is 1024*768*16 bit)
Sudo hwinfo -- framebuffer
This section shows the resolution and color depth supported by my video card:
Mode 0x0360: 1280x800 (+ 1280), 8 bits
Mode 0x0361: 1280x800 (+ 2560), 16 bits
Mode 0x0362: 1280x800 (+ 5120), 24 bits
Mode 0x0305: 1024x768 (+ 1024), 8 bits
Mode 0x0317: 1024x768 (+ 2048), 16 bits
Mode 0x0318: 1024x768 (+ 4096), 24 bits
Mode 0x0312: 640x480 (+ 2560), 24 bits
Mode 0x0314: 800x600 (+ 1600), 16 bits
Mode 0x0315: 800x600 (+ 3200), 24 bits
Mode 0x0301: 640x480 (+ 640), 8 bits
Mode 0x0303: 800x600 (+ 832), 8 bits
Mode 0x0311: 640x480 (+ 1280), 16 bits