Partition representation in 1.grub
Linux/dev/sda1 in Grub for hd0,0 represents the first partition of the first hard disk
Linux/DEV/SDB3 is an extended partition in grub for hd1,2 in the 3rd partition on the second hard disk
Linux/DEV/SDB5 is the logical partition in the extended partition in grub for hd1,3 because the logical partition above is the 3rd partition then the Linux serial number/DEV/SDB4 there will be no logical partition can be less than 5 so this is the fourth partition.
2.grub configuration file:
1[[email protected] lib]#vim/boot/grub/grub.conf2 #grub.conf generated by Anaconda3 #4 #Note that does not have the rerun grub after making changes to the This file5 #notice:you has a/boot partition. This means6 #All kernel and initrd paths is relative to/boot/, eg.7 #root (hd0,0)8 #kernel/vmlinuz-version ro Root=/dev/sda59 #initrd/initrd-[generic-]version.imgTen #BOOT=/DEV/SDA One default=0 @ Select the system to enter ATimeout=5 @ time-out, default wait time when booting into that system -Splashimage= (hd0,0)/grub/splash.xpm.GZ @ Specifies where to save the background image file when Grub starts: the first partition of the first hard disk is called grub in fact, it is a boot - hiddenmenu @ Start screen hide theTitle CentOS (2.6.32-358.el6.x86_64) @ The start screen displays text that can be modified -Root (hd0,0) @ The location of the home directory to start -kernel/vmlinuz-2.6.32-358.el6.x86_64 ro root=uuid=32af0552-c200-46ac-B1 @ Load kernel also have some settings such as language Settings lang for Chinese Simplified and so on -be-07101977d777 rd_no_luks keyboardtype=pc keytable=us rd_no_md crashkernel=Aut +o LANG=ZH_CN. UTF-8RD_NO_LVM rd_no_dm rhgb quiet -INITRD/INITRAMFS-2.6.32-358.EL6.X86_64.IMG @ Load the emulated kernel image
Linux Boot management: Grub