How to boot up Ubuntu in text terminal mode?

本文介绍如何将Ubuntu9.10的启动模式更改为文本模式。通过编辑'/boot/grub/grub.cfg'文件,具体操作包括创建文本模式的启动项,并设置为默认启动模式。

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

I am unable to try/install Ubuntu 22.04 using USB. I use the guideline provided by Ubuntu official website, the USB installer is created using balenaEtcher. I try to boot using the way provided by Lenovo official website (restart and press F12 while having USB plugged in). My laptop is Lenovo 310-14IKB Laptop (ideapad) - Type 80TU, Windows 10. I tried turning off fast startup/ changing boot mode to legacy/changing boot priority from UEFI to legacy/disabling safe booting mode, but none of them works. lenovousb-installation Share Improve this question Follow edited Oct 17, 2022 at 18:03 Pablo Bianchi's user avatar Pablo Bianchi 17.6k55 gold badges9191 silver badges129129 bronze badges asked Apr 30, 2022 at 9:08 Keus's user avatar Keus 9111 gold badge11 silver badge55 bronze badges 2 Please edit your original question to tell us more: Did you check the sha256sum of the iso file (that it was downloaded correctly)? What tool did you use to create the USB installer drive? How did you try to boot into the USB drive? - I see 'noveau' in the output list. It indicates that there is an nvidia graphics chip/card, and I suggest that you try booting with the boot option nomodeset. There is detailed help about it at this link. If that works, you can install a proprietary nvidia graphics driver later on. – sudodus CommentedApr 30, 2022 at 9:21 2 Your edits to the original question indicate that you are doing things correctly. You might check the sha256sum too (check versus the published value), but I am more convinced now, that you have a graphics problem, so please try booting with nomodeset (or simply select 'Ubuntu (safe graphics)' in the grub menu. – sudodus CommentedApr 30, 2022 at 10:03 If still no luck, we need new ideas to test, for example, have you tested with the previous but still supported LTS version Ubuntu 20.04.4? – sudodus CommentedApr 30, 2022 at 10:15 Thank you everyone!!!!!!! I made it! – Keus CommentedApr 30, 2022 at 12:06 Congratulations, and welcome back, if you have other questions in the future :-) – sudodus CommentedApr 30, 2022 at 12:26 Show 1 more comment 4 Answers Sorted by: Highest score (default) 4 Hope my little experience can help anyone using Lenovo laptop in future. I change to using Rufus to create the USB using the GPT option. I disabled the fast startup option but didn't disable the safe booting option. Then I boot the laptop using NOVO button (option 2 in Lenovo official guidelines) instead of using legacy bootmode. And lastly add in the nomodeset option Share Improve this answer Follow answered Apr 30, 2022 at 12:16 Keus's user avatar Keus 9111 gold badge11 silver badge55 bronze badges I have Dell Latitude E6530. I followed using Rufus v 3.20, GPT partition scheme, UEFI (non CSM) target system. Then, boot in UEFI mode (safe graphics) option. And finally! No black screen and I can progress the Ubuntu 22.04 installation. – Joshua T CommentedOct 5, 2022 at 13:32 Add a comment 2 dont use Try install bla bla use Safe GUI bla bla Share Improve this answer Follow answered Aug 17, 2023 at 5:46 Jonry Simbolon's user avatar Jonry Simbolon 2111 bronze badge Add a comment 2 My computer use RTX3090 and RTX2080, show the message the same. I selected Safe Graphic, it worked fine. Share Improve this answer Follow answered Jul 20, 2024 at 12:42 John's user avatar John 2122 bronze badges That was already said in the answers. You have added noting new. Sorry not an answer. – David DE CommentedJul 20, 2024 at 13:44 Add a comment 0 I was firing the USB from terminal command line and I was getting this error. When I switched to BalenaEtcher, in addition to change the USB port and sticker. it worked like a charm!详细解释一下
10-11
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值