In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how the Grub command to start Ubuntu, I believe most people do not know much, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
The LINUX classic Grub command starts Ubuntu as follows:
When the GRUB startup interface appears, press C to enter the Grub command to start Ubuntu mode, and then enter the following command:
Grub > kernel (hd0,8) / boot/vmlinuz-2.6.20-15-generic boot=/dev/sda9 grub > initrd / boot/initrd.img-2.6.20-15-generic grub > boot
When the Grub command starts the Ubuntu input command, you can use the TAB key to complete it. For example, when typing into initrd / boot/init, you can press the TAB key, which will automatically complete the file name. The above command assumes that LINUX is installed on the ninth partition (sda9) of the * hard disk (hd0). Note here that (hd0,8) is equivalent to / dev/sda9.
There is another way to avoid entering these commands. For example, LINUX was originally installed in (hd0,8), but for some reason it was changed to (hd0,9) in menu.lst. In this way, if you select the operating system directly in the GRUB menu list, it will prompt an error of 15, that is, GRUB cannot find the system kernel to boot. At this point, under the startup interface of the GRUB menu, select the LINUX system you want to start, and then press E to enter edit mode. In the editing interface, the Grub command to start Ubuntu is listed, typically as follows:
Root (hd0,9) kernel/boot/vmlinuz-2.6.20-15-generic root=UUID=3f7f5299-77cc-4d7d-9ba7-5b42c25249a4 ro quiet splash locale=zh_CN initrd/boot/initrd.img-2.6.20-15-generic
At this point, you can select the * row and press the e key to edit the line. At this point, you can change the logical partition number, for example, to "root (hd0,8)" and press enter. Follow the above method to modify the startup parameters you want to modify. * press b key to start.
The above is all the contents of the article "how to start Ubuntu with Grub commands". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.