<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.3790.4275" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Package: grub-pc</FONT></DIV>
<DIV><FONT size=2>Version: 1.96+20080724-9</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I install the Lenny from netinst.iso(<FONT size=3>Debian
GNU/Linux testing "Lenny" - Official Snapshot i386 NETINST Binary-1
20080908-00:14 </FONT>)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>
<DIV><FONT size=2>Problem:</FONT></DIV>
<DIV><FONT size=2> 1. select Lenny item, it can't boot
successful.</FONT></DIV>
<DIV><FONT size=2> 2. select XP item, the system can't boot. the error
message:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> no such
partition</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> 3. when select XP item at first time, the system can't
boot.</FONT></DIV>
<DIV><FONT size=2> then go back to select the Lenny, the
system can't can't boot too. the error message:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> you need to load
kernel first</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>sovlution:</FONT></DIV>
<DIV><FONT size=2> change in grub.cfg </FONT></DIV>
<DIV><FONT size=2> old:</FONT></DIV>
<DIV><FONT size=2> > menuentry
"Microsoft Windows XP Professional"
{<BR> > set
root=(hd0,0)<BR> > chainloader
+1<BR> > }</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> new(the second line been changed):</FONT></DIV>
<DIV><FONT size=2> > menuentry
"Microsoft Windows XP Professional"
{<BR> > set
root=(hd0,1)<BR>
>
^</FONT></DIV>
<DIV><FONT
size=2> > chainloader
+1<BR> > }</FONT></DIV></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Enviroment:</FONT></DIV>
<DIV><FONT size=2> 1. I have install dual system in a
computer:</FONT></DIV>
<DIV><FONT size=2> Lenny & Windows
XP</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> 2. My grub.cfg:</FONT></DIV>
<DIV><FONT size=2> set
default=0<BR> set
timeout=5<BR> set
root=(hd0,6)<BR> search --fs-uuid
--set
a1eb98f0-719a-4c9c-940e-227a450d8b7c<BR>
if font /share/grub/ascii.pff ;
then<BR> set
gfxmode=640x480<BR> insmod
gfxterm<BR> insmod
vbe<BR> terminal
gfxterm<BR>
fi<BR> set
root=(hd0,6)<BR> search --fs-uuid
--set
a1eb98f0-719a-4c9c-940e-227a450d8b7c<BR>
insmod png<BR> if background_image
/share/images/desktop-base/debian-blueish-wallpaper-640x480.png ;
then<BR> set
color_normal=black/black<BR>
set color_highlight=magenta/black<BR>
else<BR> set
menu_color_normal=cyan/blue<BR>
set
menu_color_highlight=white/blue<BR>
fi<BR> set
root=(hd0,3)<BR> search --fs-uuid
--set
662a3e12-57bb-4383-ad41-229725e5e357<BR>
menuentry "Debian GNU/Linux, linux 2.6.26-1-686"
{<BR> linux /boot/vmlinuz-2.6.26-1-686
root=UUID=662a3e12-57bb-4383-ad41-229725e5e357 ro
vga=791 <BR> initrd /boot/initrd.img-2.6.26-1-686<BR>
}<BR> menuentry "Debian GNU/Linux,
linux 2.6.26-1-686 (single-user mode)"
{<BR> linux /boot/vmlinuz-2.6.26-1-686
root=UUID=662a3e12-57bb-4383-ad41-229725e5e357 ro single
vga=791<BR> initrd /boot/initrd.img-2.6.26-1-686<BR>
}<BR> menuentry "Microsoft Windows XP
Professional" {<BR> set
root=(hd0,0)<BR> chainloader
+1<BR> }</FONT></DIV>
<DIV><FONT size=2></FONT><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> 3. Run fdisk -l /dev/sda result:</FONT></DIV>
<DIV><FONT size=2>
<DIV><FONT size=2> Disk /dev/sda: 250.0 GB,
250058268160 bytes<BR> 255 heads, 63
sectors/track, 30401 cylinders<BR>
Units = cylinders of 16065 * 512 = 8225280
bytes<BR> Disk identifier:
0x31693168</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>
Device Boot
Start
End Blocks Id
System<BR> /dev/sda1
*
1 6527
52428096 7
HPFS/NTFS<BR>
/dev/sda2
6528 30282
190812037+ f W95 Ext'd
(LBA)<BR>
/dev/sda3
30283 30401
955867+ 83 Linux<BR>
/dev/sda5
6528 13054
52428096 7 HPFS/NTFS</FONT></DIV>
<DIV><FONT size=2>
............</FONT></DIV></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>this is a bug in grub2 ?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Best regards,</FONT></DIV>
<DIV><FONT size=2>wyw</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV></BODY></HTML>