[Linux] Linux啟動檔案grub.conf
BIOS->Bootloader-->Kernel-->init-->service-->login-->bash
1.Bootloader啟動kernel透過/boot/grub/grub.conf
root(hd0,0)
kernel /vmlinuz-2.6.32-358.el6.x86_64 ro root=/dev/sda1
initrd /initramfs-2.6.32-358.el6.x86_64.img
[root@oracle ~]# more /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_oracle-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0 ---預設情況下,找的是第一個title
timeout=5 ---設定5s的選擇時間
splashimage=(hd0,0)/grub/splash.xpm.gz --載入的時候紅色按鈕
hiddenmenu --隱藏title選項
password --md5 xxxxxxxxxxxxxxxxxxxxxxxxxx
title Red Hat Enterprise Linux (2.6.32-358.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-358.el6.x86_64 ro root=/dev/mapper/vg_oracle-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_LVM_LV=vg_oracle/lv_root rd_NO_MD rd_LVM_LV=vg_oracle/lv_swap SYSFONT=latarc
yrheb-sun16 crashkernel=128M KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
initrd /initramfs-2.6.32-358.el6.x86_64.img
title linux safe mode
root (hd0,0)
kernel /vmlinuz-2.6.32-358.el6.x86_64 ro root=LABEL=/ vga=0x314 selinux=off 4 --4表示safe mode
initrd /initramfs-2.6.32-358.el6.x86_64.img
1.Bootloader啟動kernel透過/boot/grub/grub.conf
root(hd0,0)
kernel /vmlinuz-2.6.32-358.el6.x86_64 ro root=/dev/sda1
initrd /initramfs-2.6.32-358.el6.x86_64.img
[root@oracle ~]# more /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_oracle-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0 ---預設情況下,找的是第一個title
timeout=5 ---設定5s的選擇時間
splashimage=(hd0,0)/grub/splash.xpm.gz --載入的時候紅色按鈕
hiddenmenu --隱藏title選項
password --md5 xxxxxxxxxxxxxxxxxxxxxxxxxx
title Red Hat Enterprise Linux (2.6.32-358.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-358.el6.x86_64 ro root=/dev/mapper/vg_oracle-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_LVM_LV=vg_oracle/lv_root rd_NO_MD rd_LVM_LV=vg_oracle/lv_swap SYSFONT=latarc
yrheb-sun16 crashkernel=128M KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
initrd /initramfs-2.6.32-358.el6.x86_64.img
title linux safe mode
root (hd0,0)
kernel /vmlinuz-2.6.32-358.el6.x86_64 ro root=LABEL=/ vga=0x314 selinux=off 4 --4表示safe mode
initrd /initramfs-2.6.32-358.el6.x86_64.img
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24237320/viewspace-2056546/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【Linux】建立linux開機啟動檔案Linux
- linux的啟動配置檔案inittab檔案詳解Linux
- linux下自啟動檔案的設定(轉)Linux
- Linux啟動時讀取配置檔案的順序Linux
- Linux核心啟動之根檔案系統掛載Linux
- linux系統檔案開啟數Linux
- Linux下修改fstab檔案造成系統無法啟動Linux
- Linux--/tmp目錄檔案重啟後自動刪除Linux
- Linux7更改檔案開啟數Linux
- linux啟動Linux
- 在 Linux 中如何移動檔案Linux
- Linux下下開啟ISO檔案兩種方法Linux
- linux啟動bochsLinux
- Linux啟動盤Linux
- linux啟動流程Linux
- Linux 中複製和移動檔案Linux
- linux 開啟啟動nodemanagerLinux
- linux 檔案操作Linux
- 檔案管理[Linux]Linux
- Linux 空洞檔案Linux
- Linux檔案管理Linux
- Linux核心檔案Linux
- Linux中修改開啟檔案的數量限制Linux
- oracle for linux 自動啟動OracleLinux
- linux oracle 自動啟動LinuxOracle
- 【Linux】Linux檔案之/etc/fstabLinux
- linux 動態庫檔案stripped屬性理解Linux
- linux sed如何與檔案進行互動Linux
- linux下自動刪除過期檔案命令Linux
- LINUX 手動建立SWAP檔案及刪除Linux
- linux自動刪除N天前檔案Linux
- day58:Linux:BashShell&linux檔案管理&linux檔案下載上傳Linux
- Linux啟動mysql命令LinuxMySql
- linux啟動過程Linux
- Linux 的啟動流程Linux
- 【LINUX】啟動過程Linux
- Linux啟動級別Linux
- linux啟動順序Linux