Ubuntu11.04 added command line boot option

Source: Internet
Author: User
Ubuntu11.04 added the command line boot option ubuntudesktop version with a graphical interface by default. if it is only developed on the character interface, if it is turned off, it will save a lot of memory and CPU usage during compilation of large programs. (The default version of javastuserver is the character interface startup...
In ubuntu 11.04, the command line boot option is added. The ubuntu desktop version uses a graphical interface by default. if it is only developed on the character interface, if it is disabled, compilation of large programs saves a lot of memory and CPU usage. (The ubuntu server version is started on the character interface by default). For example, if RHEL is started on the character interface, simply modify the content of/etc/inittab and set www.2cto.com id: 5: change initdefault to id: 3: initdefault. how can I start ubuntu desktop with the character interface? After some experiments, the function is enabled. I. add grub boot menu 1.1 Add text boot mode first add a text boot menu item in grub, sudo chmod + w/boot/grub. cfg # Add writable permission sudo vim/boot/grub. cfg # One of the configuration files in editing the configuration file is the normal Gui startup item menuentry 'Ubuntu, with Linux 2.6.38-8-generic '-class ubuntu-class gnu-linux-class gnu-class OS {recordfail set gfxpayload = $ linux_gfx_mode insmod part_msdos insmod ext2 set root =' (hd0, msdos1) 'search-no-floppy-fs-uuid-set = root 0cc7116a-fee2-4a90- 866d-03fa0a8976b0 linux/boot/vmlinuz-2.6.38-8-generic root = UUID = 0cc7316a-fee2-4a90-866d-03fa0a8976b0 ro quiet splash vt. handoff = 7 initrd/boot/initrd. img-2.6.38-8-generic} copy it and make some modifications here to remove quiet splash vt. handoff = 7, and changed to text www.2cto.com menuentry 'Ubuntu, with Linux 2.6.38-8-generic (text mode) '-class ubuntu-class gnu-linux-class gnu-class OS {recordfail set gfxpayload = text insmod part_msdo S insmod ext2 set root = '(hd0, msdos1) 'search-no-floppy-fs-uuid-set = root 0cc7316a-fee2-4a90-866d-03fa0a8976b0 linux/boot/vmlinuz-2.6.38-8-generic root = UUID = ro text initrd/boot/initrd. img-2.6.38-8-generic} 1.2 Added display grub menu item when started, grub menu system is hidden by default, to remove the hidden data, you need to perform the following operations: www.2cto.com 1.2.1. you need to modify row 5th in/etc/default/grub: sudo vim/etc/default/grub GRUB_HIDDEN_TIMEOUT = 0 (the default value is 0, Modify to a value greater than 0, for example, 10) save and exit! 1.2.2 run the following command: start sudo update-grub 1.3 and enter the grub menu www.2cto.com in later version 11. at startup, press ESC + Shift to enter the grub menu. select text mode and press enter. interface Operations on the character interface, you can simply run the following command to enter the graphic interface startx to enter the character interface under the graphic interface, logout of the current user. From the blue dot workshop
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.