`

How to boot up Ubuntu in text terminal mode?

阅读更多

Ubuntu9.10 boot by 'grub', to change the boot mode to text-mode, we just need to change boot settings in '/boot/grub/grub.cfg'.

 

a. #vim /boot/grub/grub.cfg, you will find section like:

 

menuentry "Ubuntu, Linux 2.6.31-14-generic" {

        recordfail=1

        if [ -n ${have_grubenv} ]; then save_env recordfail; fi

        set quiet=1

        insmod ext2

        set root=(hd0,1)

        search --no-floppy --fs-uuid --set 99c002e1-ea23-4eae-8b0e-5489df9e4223

        linux   /boot/vmlinuz-2.6.31-14-generic root=UUID=99c002e1-ea23-4eae-8b0e-5489df9e4223 ro   quiet splash

        initrd  /boot/initrd.img-2.6.31-14-generic

}

(*note:this is the default mode with runlevel = 2)

 

b. up-copy this part, and change it as below illustration:

 

menuentry "Ubuntu, Linux 2.6.31-14-text" {

        recordfail=1

        if [ -n ${have_grubenv} ]; then save_env recordfail; fi

#       set quiet=1

        insmod ext2

        set root=(hd0,1)

        search --no-floppy --fs-uuid --set 99c002e1-ea23-4eae-8b0e-5489df9e4223

        linux   /boot/vmlinuz-2.6.31-14-generic root=UUID=99c002e1-ea23-4eae-8b0e-5489df9e4223 ro   text

        initrd  /boot/initrd.img-2.6.31-14-generic

}

(*note:since this part comes first in grub.cfg, so it become default boot mode with runlevel = 3)

 

c. #reboot

分享到:
评论

相关推荐

    Spring Boot in Action

    You'll learn how to bypass the tedious configuration steps so that you can concentrate on your application's behavior., Spring Boot in Action is a developer-focused guide to writing applications ...

    How to install legup 1.0 and legup 2.0 in Ubuntu

    ### 如何在Ubuntu中安装Legup 1.0与Legup 2.0 #### 概述 Legup是一款开源工具,它具有C-to-Verilog的功能,这意味着它可以将C语言编写的程序转换为Verilog HDL代码,进而用于硬件设计。本指南详细介绍了如何在...

    How to come up with new ideas

    How to come up with new ideas 一位计算机图形学和图像处理领域的牛人做的关于寻找新想法的报告

    spring boot in action

    You'll learn how to bypass the tedious configuration steps so that you can concentrate on your application's behavior., Spring Boot in Action is a developer-focused guide to writing applications ...

    How to Do Everything Ubuntu

    《如何在Ubuntu上做任何事情》是 Jeffrey T. Orloff撰写的一本指南,专注于Ubuntu Linux操作系统,这本书旨在帮助用户充分利用这个流行的开源系统。Ubuntu Linux是一款基于Debian的免费操作系统,以其用户友好性和...

    linux howto中文合集

    HOWTO-html<br>News-Leafsite-html<br>Oracle-HOWTO-html<br>Plug-and-Play-HOWTO-html<br>PPP-HOWTO-html<br>Printing-HOWTO-html<br>QT 3.3 中文白皮书.pdf Quota RCS-html<br>Remote-Boot-html<br>RPM-...

    How is logging implemented in OSS?

    In this paper, we carried out an empirical study to explore the logging practice in open source software projects so as to establish a basic understanding on how logging practice is applied in real ...

    Spring Boot in Action(Manning,2015)

    Spring expert Craig Walls uses interesting and practical examples to teach you both how to use the default settings effectively and how to override and customize Spring Boot for your unique ...

    how to set for OpenMP in Visual Studio 2005

    It introduces how to setup for OpenMP in Visual Studio 2005 with Inter Fortran 10.1. With a simple 'Hello world ' example

    convnet_transfer, 纸张"How transferable are features in deep neural networks?" 代码.zip

    convnet_transfer, 纸张"How transferable are features in deep neural networks?" 代码 深层神经网络中特征的转换特性?这里知识库包含复制以下文件所需的源代码所需的源代码:@inproceedings{yosinski_2014_NIPS ...

    How_to_use_HyperTerminal.doc

    How_to_use_HyperTerminal,终端通讯,技术人员必备知识

    Mastering Ubuntu Server(PACKT,2016)

    Later, you will also learn how to configure network interfaces, manage IP addresses, deploy Network Manager in order to connect to networks, and manage network interfaces. Furthermore, you will ...

    Lining Up Data in ArcGIS A Guide to Map Projections

    Lining Up Data in ArcGIS: A Guide to Map Projections is an easy-to-navigate troubleshooting reference for any GIS user with the common problem of data misalignment. Complete with full-color maps and ...

    C++ How to Program, 10th Edition

    C++ How to Program presents leading-edge computing technologies in a friendly manner appropriate for introductory college course sequences, based on the curriculum recommendations of two key ...

    Linux Howto 中文文档

    ISP-Hookup-HOWTO (16KB) 拨接 modem 连接到 ISP 网路服务接供业者的网路上。 Java-CGI-HOWTO (8KB) 以及如何用 Java 来写 CGI 程式 Kernel-HOWTO (26KB) 如何配置、编译、升级核心以及排难解纷的详细...

    how to work with crystal report in sap business one

    how to work with crystal report in sap business one

    how-to-c-response, 对"How to C in 2016"的评论.zip

    how-to-c-response, 对"How to C in 2016"的评论 Matt Matt ,Sat,Sat,Sat,updated,updatedMatt ( 据我所知他的网站没有提到他最近的NAME ) 写了一篇文章。 它被链接到来自和黑客新闻的链接;后者是我看到的。...

Global site tag (gtag.js) - Google Analytics