Yesterday, my computer had two systems which were windows xp and ubuntu8.10. But I wanted to add fedora10 as the third system.
When I installed this system, I found that my ubuntu item disappeared from the grub start menu. It was a bad thing which I could not accepted. I surfed and surfed, there was not a good way to resolve it.
Today, I decided to reinstall my ubuntu, because I knew that ubuntu can recognize fedora, but fedora can not know ubuntu.
When my new ubuntu system was installed, I found all of my systems, xp, fedora and ubuntu.
I must tell you to know it clearly that if you want to install these two systems, you must install fedora firstly, and then install ubuntu.
So much for today and by the way, I will show my result to you.
han@han-laptop:~$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3880387f
Device Boot Start End Blocks Id System
/dev/sda1 * 1 6374 51199123+ 7 HPFS/NTFS
/dev/sda2 6375 19457 105089197+ f W95 Ext'd (LBA)
/dev/sda5 11809 19457 61440561 83 Linux
/dev/sda6 6375 6483 875479+ 82 Linux swap / Solaris
/dev/sda7 6484 11808 42773031 83 Linux
Partition table entries are not in disk order
han@han-laptop:~$ sudo vim /boot/grub/menu.lst
default 2
timeout 10
splashimage (hd0,4)/boot/grub/splash.xpm.gz
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 62b5ac0c-1bd7-464c-b5c9-9f938602862f
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=62b5ac0c-1bd7-464c-b5c9-9f938602862f ro locale=zh_CN quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 62b5ac0c-1bd7-464c-b5c9-9f938602862f
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=62b5ac0c-1bd7-464c-b5c9-9f938602862f ro locale=zh_CN single
initrd /boot/initrd.img-2.6.27-7-generic
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda5.
title Fedora (2.6.27.9-159.fc10.i686) (on /dev/sda5)
root (hd0,4)
kernel /boot/vmlinuz-2.6.27.9-159.fc10.i686 ro root=UUID=fb5c23c3-cf73-4214-afc7-4a6995f738d3 rhgb quiet
initrd /boot/initrd-2.6.27.9-159.fc10.i686.img
savedefault
boot