redhat-5.4-boot.fba 寫入
rhel-server-5.4-i386-dvd.iso 直接複製到 USB 剩餘可見分區linux askmethod核心陷阱: 安裝程式預設將 GRUB 寫入 /dev/sdb(USB),拔除 USB 後系統無法開機。
/boot 128M、swap 1024M、/ 剩餘空間/dev/sda(硬碟)移至最上方,/dev/sdb(USB)下移/dev/sdalinux rescuechroot /mnt/sysimagevi /boot/grub/grub.confroot (hd0,0) 對應實際 /boot 分區grub-install /dev/sdadefault=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-53.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-53.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-53.el5.img
root (hd0,0):GRUB 命名法,第 1 顆硬碟第 1 個分區(即 /boot)kernel 參數 root= 指定真實根檔案系統(LVM 邏輯卷或實體分區)Error 21: Selected disk does not exist,99% 為 GRUB 裝錯裝置