On Jan 10, 2008 4:14 AM, Peter Garrett <<a href="mailto:peter.garrett@optusnet.com.au">peter.garrett@optusnet.com.au</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, 10 Jan 2008 00:31:30 -0200<br>"Jan Kauffman" <<a href="mailto:jan.kauffman@gmail.com">jan.kauffman@gmail.com</a>> wrote:<br><br>[big snips]<br><div class="Ih2E3d"># Entry for /dev/hda5 :<br>UUID=647C48557C482460 /media/hda5 ntfs-3g defaults,locale=en_US.UTF-8 0 1
<br># Entry for /dev/sda1 :<br>UUID=0EEE24FAEE24DBA9 /media/sda1 ntfs-3g defaults,locale=en_US.UTF-8 0 1<br># Entry for /dev/hda6 :<br><br></div>this looks a bit peculiar - notice that fstab has both hda and sda<br>entries... and thinks sda1 is ntfs, whereas grub thinks hd0,0 ( your
<br>first partition) is your linux partition ( ext3) - and grub is right, since<br>Linux boots<br><br>The UUID appears to agree between grub and the fstab for /dev/hda1<br><br>Do you have any idea where the /dev/sda1 is coming from? The fstab seems
<br>to think it is ntfs and thus Windows, too... this doesn't make a lot of<br>sense unless you have another ntfs formatted drive, and you don't mention<br>that.</blockquote><div><br>Sorry about that. The sda1 is separated HD. This hd is just for file storage and is not bootable. Don't mind about that.
<br></div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Part of the problem may be that Windows is on /dev/hda5 , which is<br>
the first "logical" partition on an "extended" partition.<br><br>If I remember correctly, Windows doesn't like being anywhere but /dev/hda1<br>or /dev/sda1 -  (hd0,0) in GRUB-speak. I'm not sure if windows needs to be
<br>on a primary partition to boot. hda5 is a logical partition ( i.e. not<br>primary)</blockquote><div><br>I think it might be the problem. Is there any way to change that partition to primary? <br></div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Someone who knows more about Windows might want to correct my assumptions<br>here, but I would try two things:<br><br>1) Run<br><br>sudo cfdisk /dev/hda<br><br> and mark /dev/hda5 as bootable, (toggle the bootable flag for hda5) write
<br>that change in cfdisk, quit cfdisk</blockquote><div><br>I did it, but when I try to write it, I receive this error:<br>"More then one primary partition is marked bootable. DOS MBR cannot boot this. Toggle bootable flag of the current partition."
<br><br>If I try to boot from the new option at the menu, I receive this error:<br>"Error 12: Invalid device request"<br><br>--Kauffman</div></div>