纯linux系统,ubuntu,开机后显示gun grub如图,怎么使它默认启动? gun grub里怎么设置系统的顺序?Ubuntu Linu...

linux ubuntu\u4e3a\u4f55\u6709\u65f6\u5019\u5f00\u673a\u51fa\u73b0grub\u754c\u9762\uff1f\u5982\u4f55\u7981\u6b62grub\u754c\u9762\u7684\u51fa\u73b0\uff0c\u81ea\u52a8\u8fdb\u5165\u767b\u5f55\u754c\u9762

\u770b\u4e0d\u5230\u4f60\u7684\u56fe\u7247\u3002
GRUB \u662f\u8fd9\u6837\u7684\uff1a\u5982\u679c\u5f53\u524d\u53ea\u6709\u4e00\u4e2a\u64cd\u4f5c\u7cfb\u7edf\uff0c\u6bd4\u5982 Ubuntu \uff0c\u90a3GRUB\u7684\u542f\u52a8\u83dc\u5355\u5c31\u4e0d\u4f1a\u51fa\u73b0\u3002\u5982\u679c\u6709\u4e24\u4e2a\u4ee5\u4e0a\u7684\u64cd\u4f5c\u7cfb\u7edf\u53cc\u542f\u52a8\u6216\u591a\u542f\u52a8\uff0c\u5b83\u4e00\u5b9a\u4f1a\u51fa\u73b0\uff0c\u4e0d\u80fd\u8ba9\u5b83\u4e0d\u51fa\u73b0\u3002
\u6211\u4e5f\u63a2\u7d22\u8fc7\uff0c\u76ee\u524d\u53ea\u80fd\u8ba9\u5b83\u663e\u793a1\u79d2\uff0c\u7136\u540e\u9ed8\u8ba4\u8fdb\u5165\u8bbe\u5b9a\u7684\u7cfb\u7edf\u3002

\u628a/etc/default/grub\u91cc\u7684GRUB_DEFAULT =0\u6539\u4e3aGRUB_DEFAULT="Windows Vista"
\u5177\u4f53\u5185\u5bb9\u770b\u4e0b\u9762

grub (/etc/default/grub)

This file contains information previously found in the upper section of /boot/grub/menu.lst. It contains settings primarily affecting Grub's menu display. This file can be edited by root to make changes to these settings; they will be imported into grub.cfg when "update-grub" is executed.

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entrys
#GRUB_DISABLE_LINUX_RECOVERY="true"



This file contains information formerly contained in the upper section of Grub Legacy's ''menu.lst'' and items contained on the end of the kernel line. The items in this file can be edited by a user with administrator (root) privileges. Grub developers have have placed explanatory comments within the file itself.

*

GRUB_DEFAULT=0
o

Sets the default and pre-selected menu entry. Entries may be numeric or saved
o

GRUB_DEFAULT=0
+ Sets the default menu entry by menu position. As with Grub Legacy, the first "menuentry" in grub.cfg is 0, the second is 1, etc.
o

GRUB_DEFAULT="Windows XP Professional (on /dev/sda1)"
+ Sets the default menu entry by name.
o

GRUB_DEFAULT=saved
+ Sets the default menu entry with either whatever was selected on the last boot (if SAVEDEFAULT=true is set and the entry itself contains savedefault), whatever the last grub-set-default command saved or the first entry if nothing has ever been saved or the saved entry can't be found. If the menu is displayed during boot, the previously selected option will be highlighted. If no action is taken, this is selection which will be booted at the end of the timeout, or if the menu is hidden.
*

GRUB_TIMEOUT=10
o No change from Grub Legacy. This is the number of seconds before the default entry is automatically booted.
o

Setting a value of -1 will display the menu until the user makes a selection (no timeout).
*

GRUB_HIDDEN_TIMEOUT=0
o

The hidden timeout option is available to single-OS computers - if multiple OS's are known to Grub 2, this option is bypassed.
o

On single-OS systems, the menu will be hidden unless a # symbol is present at the beginning of this line. ( # GRUB_HIDDEN_TIMEOUT=0 )
o The default setting initially depends on the presence of other operating systems.
+ Another OS Detected: The menu will be displayed. ( The line will begin with a # symbol. )
+ No other OS Detected: This setting is not used, as determined by the
o For integers greater than 0, the system will pause, but not display the menu, for the entered number of seconds.
o

0 The menu will not be displayed. There will be no delay.
+ The user may force displaying the menu as the computer boots by holding down the SHIFT key (single-OS computers only).
# During boot, the system will check the SHIFT key status. If it cannot determine the key status, a short delay will enable the user to display the menu by pressing the ESC key.
# If enabled, the splash screen designated in 05_debian_theme will be displayed even if the hidden menu feature is selected.
*

GRUB_HIDDEN_TIMEOUT_QUIET=true
o true - No countdown is displayed. The screen will be blank.
o false - A counter will display on a blank screen for the duration of the GRUB_HIDDEN_TIMEOUT value.
*

GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian
o Determines the descriptive name in the menu entry. (Ubuntu, Xubuntu, Debian, etc.)
*

GRUB_CMDLINE_LINUX
o

If it exists, this line imports any entries to the end of the linux command line (Grub Legacy's "kernel" line) for both normal and recovery modes. This is similar to the "altoptions" line in menu.lst
*

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
o

This line imports any entries to the end of the 'linux' line (Grub Legacy's "kernel" line). The entries are appended to the end of the normal mode only. This is similar to the "defoptions" line in menu.lst. If you want a black screen with scrolling boot messages, remove "quiet splash". If you want a grub splash screen with limited messages underneath the Ubuntu logo, use only "splash". < This [only "splash"]will not work in Karmic during boot as the xsplash does not display the messages , but the messages at shutdown will be displayed.
*

#GRUB_TERMINAL=console
o Uncomment to disable graphical terminal (grub-pc only).
*

#GRUB_GFXMODE=640x480
o Uncomment (remove '#' from beginning of the line) to change (increase) resolution of your boot loader. Use one of classic (4:3 rate):
+ GRUB_GFXMODE=640x480 (is used if isn't here a proper value)
+ GRUB_GFXMODE=800x600
+ GRUB_GFXMODE=1024x768
+ GRUB_GFXMODE=1600\u00d71200
o

or make experiments with some others nonstandards like widescreen (16:10 ratio in my case), here is list of most of commonly use Display resolution:
+ GRUB_GFXMODE=640x400
+ GRUB_GFXMODE=800x500
+ GRUB_GFXMODE=1024x640
+ GRUB_GFXMODE=1280x800
+ GRUB_GFXMODE=1680x1050
o If you don't know what modes are supported by your graphics card, go to the grub command line and run 'vbeinfo'. It will list all available modes. (You might need to run 'insmod vbe' first if the vbe module isn't loaded yet)
*

GRUB_GFXPAYLOAD_LINUX=640x480x8 [grub2 >= 1.98-1 (Lucid)]
o Use this setting to set the framebuffer resolution (replaces the vga= kernel option). It uses the GFXMODE values with additional color depth. Use 'vbeinfo' from the grub command line to list what modes are available to you.
*

#GRUB_DISABLE_LINUX_UUID=true
o Uncomment this line if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux.
*

GRUB_DISABLE_LINUX_RECOVERY=true
o Add or uncomment this line to prevent "Recovery" mode kernel options from appearing in the menu.
*

GRUB_DISABLE_OS_PROBER=true
o Enables/disables the os-prober check of other partitions for operating systems, including Windows, Linux, OSX and Hurd.

这是正常情况,第一项就是默认的。第二项是修复模式。你可以在/boot/grub/grub.conf中进行修改
defaulst=0就是第一项是默认
timeout=XXX是你不选几秒后进入默认
其它项再度娘查什么意思吧

每次开机到这就回车或者忽视它。这很正常,没有才不正常呢。

  • ubuntu鏄粈涔堟搷浣绯荤粺?
    绛旓細ubuntu鏄疞inux鎿嶄綔绯荤粺銆Ubuntu锛堝浗闄呴煶鏍囷細锛徝筨煤nt煤/锛夋槸涓涓互妗岄潰搴旂敤涓轰富鐨Linux鎿嶄綔绯荤粺锛鍏跺悕绉版潵鑷潪娲插崡閮ㄧ椴佽鎴栬豹钀ㄨ鐨勨渦buntu鈥濅竴璇嶏紝鎰忔濇槸鈥滀汉閬撳緟浜衡濄俇buntu寤哄熀浜嶥ebian鍙戣鐗堝拰GNOME妗岄潰鐜锛岃屼笌Debian鐨勪笉鍚屼箣澶勫湪浜庯紝鍏舵瘡6涓湀鍙戝竷涓娆★紝涓旀瘡娆″彂甯冪殑鐗堟湰鍧囨彁渚涗负鏈18涓湀鐨勬敮鎻...
  • ubuntu鏄粈涔堟搷浣绯荤粺
    绛旓細Ubuntu鏄竴涓互妗岄潰搴旂敤涓轰富鐨Linux鎿嶄綔绯荤粺锛鍏跺悕绉版潵鑷潪娲插崡閮ㄧ椴佽鎴栬豹钀ㄨ鐨勨渦buntu"涓璇嶏紝鎰忔濇槸鈥滀汉鎬р濃滄垜鐨勫瓨鍦ㄦ槸鍥犱负澶у鐨勫瓨鍦紓锛屾槸闈炴床浼犵粺鐨勪竴绉嶄环鍊艰銆俇buntu鍩轰簬Debian鍙戣鐗堝拰Gnome妗岄潰鐜锛岃屼粠11.04鐗堣捣锛孶buntu鍙戣鐗堟斁寮冧簡Gnome妗岄潰鐜锛屾敼涓篣nity銆備粠鍓嶄汉浠涓篖inux闅句互瀹夎銆...
  • Ubuntu鏄粈涔堟搷浣绯荤粺?
    绛旓細Ubuntu鍙嬪府鎷撱佷紭鑸浘銆佷箤鐝浘鏄竴涓互妗岄潰搴旂敤涓轰富鐨勫紑婧怗NU/Linux鎿嶄綔绯荤粺锛孶buntu鏄熀浜嶥ebianGNU/Linux锛鏀寔x86銆乤md64鍜宲pc鏋舵瀯锛岀敱鍏ㄧ悆鍖栫殑涓撲笟寮鍙戝洟鎵撻犵殑銆傚叾鍚嶇О鏉ヨ嚜闈炴床鍗楅儴绁栭瞾璇垨璞惃璇殑ubuntu涓璇嶏紝鎰忔濇槸浜烘с佹垜鐨勫瓨鍦ㄦ槸鍥犱负澶у鐨勫瓨鍦紝鏄潪娲蹭紶缁熺殑涓绉嶄环鍊艰锛孶buntu鍩轰簬Debian鍙戣鐗...
  • linux鍜ubuntu鏈変粈涔堝尯鍒?鍝釜濂界敤
    绛旓細涓銆佽寖鐣翠笉鍚岋細Ubuntu鏄竴涓互妗岄潰搴旂敤涓轰富鐨Linux鎿嶄綔绯荤粺銆備綔涓篖inux鍙戣鐗堜腑鐨勫悗璧蜂箣绉锛孶buntu Linux鍦ㄧ煭鐭嚑骞存椂闂撮噷渚胯繀閫熸垚闀夸负浠嶭inux鍒濆鑰呭埌璧勬繁涓撳閮藉崄鍒嗛潚鐫愮殑鍙戣鐗堛備簩銆佸姛鑳戒笉鍚岋細1銆乁buntu鍦ㄦ闈㈠姙鍏佹湇鍔″櫒鏂归潰鏈夌潃涓嶄織鐨勮〃鐜帮紝鎬昏兘澶熷皢鏈鏂扮殑搴旂敤鐗规у泭鎷叾涓紝妗岄潰绯荤粺浣跨敤鏈鏂扮殑Gno...
  • ubuntu鍜linux鐨鍖哄埆?
    绛旓細Ubuntu鍜Linux涔嬮棿鐨勫叧绯绘槸锛孶buntu鏄熀浜嶭inux鍐呮牳鐨勪竴涓搷浣滅郴缁熷彂琛岀増銆侺inux鏄竴涓紑婧愮殑鎿嶄綔绯荤粺鍐呮牳锛屾渶鏃╃敱Linus Torvalds浜1991骞村垱寤恒傚畠鏄竴涓熀浜嶶nix鐨勬搷浣绯荤粺锛鍙互鍦ㄥ悇绉嶈绠楁満纭欢涓婅繍琛屻侺inux鍐呮牳鎻愪緵浜嗘搷浣滅郴缁熺殑鏍稿績鍔熻兘锛屽寘鎷繘绋嬬鐞嗐佸唴瀛樼鐞嗐佽澶囬┍鍔ㄧ▼搴忕瓑銆俇buntu鏄竴涓熀浜嶭inux鍐呮牳...
  • 涔岀彮鍥句笌linux鐨鍏崇郴
    绛旓細鈥滀箤鐝浘(Ubuntu)鏄Linux鐨涓涓彂琛岀増鏈俇buntu鏄竴涓互妗岄潰搴旂敤涓轰富鐨Linux鎿嶄綔绯荤粺锛鏄笘鐣屼富娴佺殑Linux鍙戣鐗堜箣涓锛涘畠鎻愪緵浜嗕竴涓仴澹佸姛鑳戒赴瀵岀殑璁$畻鐜锛屾棦閫傚悎瀹跺涵浣跨敤鍙堥傜敤浜庡晢涓氱幆澧冦傗濅箤鐝浘(Ubuntu)鏄竴涓互妗岄潰搴旂敤涓轰富鐨凩inux鎿嶄綔绯荤粺锛屾槸涓栫晫涓绘祦鐨凩inux鍙戣鐗堜箣涓銆俇buntu鏄敱鍗楅潪浜洪┈鍏嬄...
  • Linux Ubuntu鐨勮缁嗗畨瑁呮柟娉
    绛旓細Ubuntu鏄竴涓祦琛岀殑Linux鎿嶄綔绯荤粺,鍩轰簬Debian鍙戣鐗堝拰GNOME妗岄潰鐜,鍜屽叾浠朙inux鍙戣鐗堢浉姣,Ubuntu闈炲父鏄撶敤,鍜學indows鐩稿鎬у緢濂,闈炲父閫傚悎Windows鐢ㄦ埛鐨勮縼绉,棰勮浜嗗ぇ閲忓父鐢ㄨ蒋浠,涓枃鐗堢殑鍔熻兘涔熻緝鍏,鏀寔鎷奸煶杈撳叆娉,棰勮浜咶irefox銆丱pen Office銆佸濯掍綋鎾斁銆佸浘鍍忓鐞嗙瓑澶у鏁板父鐢ㄨ蒋浠,涓鑸細鑷姩瀹夎缃戝崱銆侀煶鏁堝崱绛夎澶囩殑椹...
  • 绠杩linux鐭ュ悕鐨勫彂鐜扮増鏈
    绛旓細2. Ubuntu锛歎buntu鏄竴娆惧熀浜嶥ebian鐨勫紑婧Linux鎿嶄綔绯荤粺锛瀹冩嫢鏈夊己澶х殑绀惧尯鏀寔鍜屼赴瀵岀殑杞欢鍖呯鐞嗙郴缁熴俇buntu鐨勬闈㈢増鏈潪甯告祦琛岋紝鎻愪緵浜嗙洿瑙傛槗鐢ㄧ殑鐢ㄦ埛鐣岄潰鍜屼赴瀵岀殑搴旂敤绋嬪簭銆傚悓鏃锛孶buntu Server鐗堟湰涔熶负浼佷笟鍜屼釜浜虹敤鎴锋彁渚涗簡绋冲畾鍙潬鐨勬湇鍔″櫒鐜銆3. Debian锛欴ebian鏄巻鍙叉渶鎮犱箙鐨凩inux鍙戣鐗堜箣涓锛屼互鍏...
  • centos鍜ubuntu鍖哄埆鏄粈涔
    绛旓細CentOS鍜Ubuntu鏄袱绉嶆祦琛岀殑Linux鎿嶄綔绯荤粺鍙戣鐗堬紝瀹冧滑涔嬮棿鏈変互涓嬪尯鍒細1銆佸熀纭鏋舵瀯锛欳entOS鏄熀浜嶳ed Hat Enterprise Linux锛圧HEL锛夌殑婧愪唬鐮佹瀯寤鸿屾垚鐨勮嚜鐢卞紑婧愯蒋浠禠inux 鍙戣鐗堬紝鑰孶buntu鏄熀浜嶥ebian GNU/Linux鐨鍙戣鐗堛傚洜姝わ紝CentOS鍜孶buntu鍦ㄥ叾鍩虹鏋舵瀯銆佽蒋浠跺寘绠$悊绯荤粺绛夋柟闈㈡湁鎵涓嶅悓銆2銆佸彂琛屽懆鏈燂細...
  • linux鍜Ubuntu鏈変粈涔堝尯鍒
    绛旓細涓銆佹蹇典笉鍚岋細1銆linux锛歭inux鏄竴濂楀厤璐逛娇鐢ㄥ拰鑷敱浼犳挱鐨勭被Unix鎿嶄綔绯荤粺 2銆Ubuntu锛歎buntu鏄竴涓互妗岄潰搴旂敤涓轰富鐨Linux鎿嶄綔绯荤粺锛鍏跺悕绉版潵鑷潪娲插崡閮ㄧ椴佽鎴栬豹钀ㄨ鐨勨ubuntu"涓璇嶏紝鎰忔濇槸鈥滀汉鎬р濃滄垜鐨勫瓨鍦ㄦ槸鍥犱负澶у鐨勫瓨鍦"锛屾槸闈炴床浼犵粺鐨勪竴绉嶄环鍊艰銆備簩銆佺壒鐐逛笉鍚岋細1.linux锛氭槸涓涓熀浜嶱OSIX...
  • 扩展阅读:www.sony.com.cn ... anlinux手机版安装app ... kali linux手机直装版 ... seo短视频网页入口营销 ... java windowbuilder ... iphone日本官网入口 ... javascript免费网站 ... 正版linux系统官网 ... java入门网站 ...

    本站交流只代表网友个人观点,与本站立场无关
    欢迎反馈与建议,请联系电邮
    2024© 车视网