[ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub>
grub> root (hd0,0) Filesystem type is ext2fs, partition type 0x83
grub> kernel /vmlinuz-2.6.32-573.el6.x86_64 root=/dev/mapper/vg_crt-root selinux=0 [Linux-bzImage, setup=0x3c00, size=0x5de280]
grub> initrd /initramfs-4.8.1-1.el6.elrepo.x86_64.img [Linux-initrd @ 0x361f1000, 0x1dfe1b5 bytes]
grub> boot
[root@deyu ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_crt-root
12G 6.5G 4.7G 59% /
tmpfs 3.9G 80K 3.9G 1% /dev/shm
/dev/sdc1 190M 72M 105M 41% /boot
/dev/mapper/vg_crt-home
190M 23M 153M 13% /home
[root@deyu ~]# grub-install /dev/sdc
/dev/sdc does not have any corresponding BIOS drive.
--recheck 選項重新安裝 grub 到 sdc。
[root@deyu ~]# grub-install --recheck /dev/sdc Probing devices to guess BIOS drives. This may take a long time. Installation finished. No error reported. This is the contents of the device map /boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script `grub-install'. (fd0) /dev/fd0 (hd0) /dev/sda (hd1) /dev/sdb (hd2) /dev/sdc
[root@deyu ~]# reboot