|
我原来是XP系统,然后用live CD安装了Fedora 11, 安装以后,不能引导XP了, 每次选择XP,系统会自动跳到grub界面
- #/boot/grub/menu.lst
- # 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,1)
- # kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root
- # initrd /initrd-version.img
- #boot=/dev/sda
- default=0
- timeout=10
- splashimage=(hd0,1)/grub/splash.xpm.gz
- #hiddenmenu
- title Fedora (2.6.29.4-167.fc11.i586)
- root (hd0,1)
- kernel /vmlinuz-2.6.29.4-167.fc11.i586 ro root=/dev/mapper/VolGroup-lv_root rhgb quiet
- initrd /initrd-2.6.29.4-167.fc11.i586.img
- title Window XP
- rootnoverify (hd0,0)
- makeactive
- chainload (hd0,0) +1
复制代码
- [root@localhost /]# fdisk -l
- Disk /dev/sda: 60.0 GB, 60011642880 bytes
- 255 heads, 63 sectors/track, 7296 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Disk identifier: 0x8dc044c2
- Device Boot Start End Blocks Id System
- /dev/sda1 * 1 5140 41282482+ c W95 FAT32 (LBA)
- /dev/sda2 5140 5153 102400 83 Linux
- /dev/sda3 5153 6335 9500672 8e Linux LVM
- Disk /dev/dm-0: 1048 MB, 1048576000 bytes
- 255 heads, 63 sectors/track, 127 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Disk identifier: 0x00000000
- Disk /dev/dm-0 doesn't contain a valid partition table
- Disk /dev/dm-1: 8678 MB, 8678014976 bytes
- 255 heads, 63 sectors/track, 1055 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Disk identifier: 0x00000000
- Disk /dev/dm-1 doesn't contain a valid partition table
复制代码 |
|