Bootloader problem Grub.

Bootloader problem Grub. Hello,

I have some questions about my Mandriva Linux. My father died last year and so I got automatically forced to use Linux (master computer). I have become a little bit known with it, had to reset the root password via command lines etc. But I have some problems I can't solve on my own.
In this topic I will ask my first problem:

The Grub bootloader doesn't open Windows when clicking on it. Sometimes it just reboots and you get the Grub bootloader again, sometimes when I messed with some things it says something like this:

Quote:
 	 		 			 				Booting 'windows'

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
map (0x80) (0x83)
map (0x83) (0x80)
makeactive
chainloader +1

Error 13: Invalid or unsupported executable format

Press any key to continue..._
I have tried everything I thought that could help, placing the boatloader in another disk (which made me use the rescue cd, because nothing would startup anymore ), placed the bootloader back, using the other bootloader Lilo which didn't work well and so on.

I have changed the link in the bootloader from sdb1 (Windows was given that command automatically at installation) to sdc1 because at the diskpartition the windows C stands at sdc1. But nothing changes. Images:

Who can help me. I can reach the windows files via /mnt but not just how it has to work. Deleting windows or Linux is no option, there are too many important files on both.

Bij voorbaat dank as we say here...

From a root console, do fdisk -l and show me what it prints.

Also, please post the contents of /boot/grub/grub.conf

Plan B (sort of ;)): Super Grub Disk

ok the first one:

It's in dutch, if you don't know what some word means I will hear it from you.

The second one, I can't find the grub.conf in the /boot/grub map...I am searching it, and I will post it in a following message. Thank you both for the fast responses.

You've got a lot of disks in there! :slight_smile:

It's a bit plainer what the problem is now, hd0 is the wrong drive. grub doesn't use anything like sda, it just uses drives hd0,hd1,etc numbered in the order the BIOS reports them. It might be hd2, assuming the windows you want is the NTFS partitions and not the FAT32 ones. I have no idea how windows will react to being the third drive in the system though! :slight_smile: (That might be what those map lines are to fix, not sure.) It might blow its little mind, or it might pretend the other drives don't exist since it can't read their partitions...

I can't find grub.conf. I found out via google that you might need menu.lst from that map.

Good, that's it.

Have you added any disks lately, or done anything that'd change the order of drives as the BIOS reports them? Those map lines may be incorrect now.. Try commenting them out and doing

map (hd2) (hd0)
map (hd0) (hd2)

instead.

Ok, I have to say that the message from the first post..

..was only coming when I put the bootloader on another disk (I thought I give it a try:)). When the Linux didn't want to start up either anymore, I put the installation cd in it and set the bootloader back at the biggest drive. Now you don't get that message above when clicking on windows, but the computer just reboots and getting the bootloader again.
Apart from this I have done nothing with drives, there's only one external hd attached via USB lately by me from my broken laptop.

I am going to bed now it's late here (00.40)
Very much thanks until now, I appreciate it that you take the time to help me.

---------- Post updated at 11:19 AM ---------- Previous update was at 12:41 AM ----------

I tried this and it doesn't work. Still the same.

Can someone help me underway

Have you tried the super grub disk like dr house suggested? I'm beginning to think there's some non-grub related problem stopping the partition from booting.

Yes I did, It didn't work, it gave one line with kernel blablabla.
But finally it works. I had a free cd of Ubuntu lying here, so I installed Ubuntu next to Mandriva, and the bootloader of Ubuntu took over. And windows works with it well. I can't tell you what exactly was the problem.
Maybe I throw Mandriva from my pc, because almost every time I tried to edit or install something I had troubles (2009.0 version). Even upgrading to .1 gave problems.
The only thing about Ubuntu is that it is too user friendly sometimes, when you have to install something you just click a few buttons, when using Mandriva I know exactly what I install. But with more users there is more help and information for me as a beginner.

Heh! That used to be my complaint about Mandrake! :stuck_out_tongue: (which became mandriva.)