Guest Gere1 Posted February 18, 2008 Report Share Posted February 18, 2008 (edited) I installed Mandriva One 2008.0 on a machine which already had XP installed in it (15GB out of 80 was allocated for Windows). While setting up boot loader I said yes to all default values and after booting I found that GRUB could not boot in to Windows. It boots in to Mandriva nicely but when I select Windows, it gives me this error root (hd0,0) File system ext2fs, partition type 0X83 Chainloader +1 Error13: Invalid or unsupported executable format My bootloader window has the following options: Bootloader to use: Grub with graphical menu Boot device: /dev/sda (ATA toshiba MK8026GA) Other options in boot device: /dev/sdb (DEF10D8A157) /dev/sda1 /dev/sda5 /dev/sda6 /dev/sda7 ACPI is enabled (I do not know what that means though) In the manage disk partitions window in MLCC this is what I have Can anybody tell me how to edit GRUB so that it boots Windows properly? Thanks Edited February 18, 2008 by Gere1 Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted February 18, 2008 Report Share Posted February 18, 2008 Normally I just have: title Windows XP x64 rootnoverify (hd0,1) chainloader +1 but sometimes it also needs: makeactive so it would look like this: title Windows XP x64 rootnoverify (hd0,1) makeactive chainloader +1 obviously, change hd0,1 to whatever your partition is and where it exists. Quote Link to comment Share on other sites More sharing options...
Guest Gere1 Posted February 18, 2008 Report Share Posted February 18, 2008 (edited) Thanks...but well...I am a noob and I have just started playing around with Mandriva...so I know I have to edit the GRUB menu.lst..only thing is I do not know how to go about it. If you could please explain. Also how do I learn which partition Windows is in? Thanks Edited February 18, 2008 by Gere1 Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted February 18, 2008 Report Share Posted February 18, 2008 What desktop environment are you using? KDE or Gnome? If kde, do this: Press ALT-F2 type kdesu kwrite /boot/grub/menu.lst edit the file, then save and exit. If Gnome: Press ALT-F2 gksu gedit /boot/grub/menu.lst edit and save. If menu.lst doesn't work, then replace menu.lst with grub.conf. I don't know if they changed the naming convention, but I would expect menu.lst to exist either as a file or symlink for compatibility. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted February 18, 2008 Report Share Posted February 18, 2008 From the attached pic it seems Windows is on the first partition of the second harddisk (/dev/sdb). So, you must add to /boot/grub/menu.lst the following: title WinXP rootnoverify (hd1,0) map (hd0) (hd1) map (hd1) (hd0) makeactive chainloader +1 For editing use "kdesu kwrite /boot/grub/menu.lst" as suggested above. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.