<html style="direction: ltr;">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="UTF-8" bgcolor="#FFFFFF"
text="#000000">
<div class="moz-cite-prefix">I think the first issue is: why doesn't
grub2-mkconfig create an entry for the OS ?<br>
I don't think the two possibilities your raise address this issue.<br>
<br>
<br>
On 08/26/2014 06:16 PM, E.S. Rosenberg wrote:<br>
</div>
<blockquote
cite="mid:CAHTx_BOeD5kKupHNbczMcBsPym0+FDh_mwgfvOPXpD7Aegi=_w@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>Are you sure that:<br>
</div>
a. the error you get isn't coming from winload.exe<br>
</div>
b. vista may not be capable from booting from an area beyond X
MB from the beginning of a disk....<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-08-24 20:47 GMT+03:00 Aharon
Schkolnik <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:aschkolnik@gmail.com" target="_blank">aschkolnik@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="direction:ltr" bgcolor="#FFFFFF" text="#000000">
Hi.<br>
<br>
I used clonezilla to copy a NTFS (Vista) partition to a
new disk.<br>
There were no problems with the copy, and the new
partition looks fine.<br>
However, I can not get GRUB to boot from the new
partition.<br>
<br>
grub2-mkconfig does not create a menu entry for it.<br>
<br>
I created an entry by hand using the following code:<br>
<br>
menuentry "Vista" {<br>
set root='(hd0,2)'<br>
chainloader +1<br>
}<br>
<br>
But, when I try to boot from that entry, I get the error:
invalid signature.<br>
<br>
I ran bootinfoscript, and I saw the following:<br>
<br>
<br>
sda3:
__________________________________________________________________________<br>
<br>
File system: ntfs<br>
Boot sector type: Windows Vista/7: NTFS<br>
Boot sector info: According to the info in the boot
sector, sda3 starts <br>
at sector 230686720. But according
to the info from <br>
fdisk, sda3 starts at sector
211814400.<br>
Operating System: Windows Vista<br>
Boot files: /Windows/System32/winload.exe<br>
<br>
<br>
So I used testdisk to fix the boot sector, and now:<br>
<br>
sda3:
__________________________________________________________________________<br>
<br>
File system: ntfs<br>
Boot sector type: Windows XP: NTFS<br>
Boot sector info: No errors found in the Boot
Parameter Block.<br>
Operating System: Windows Vista<br>
Boot files: /Boot/BCD
/Windows/System32/winload.exe<br>
<br>
<br>
<br>
Yet, grub2-mkconfig still doesn't create an entry for the
Vista partition.<br>
<br>
<br>
Can anyone help ?<br>
<br>
TIA.<span class="HOEnZb"><font color="#888888"><br>
<br>
<pre cols="72">--
The day is short, and the work is great, | Aharon Schkolnik
and the laborers are lazy, and the reward |
is great, and the Master of the house is | <a moz-do-not-send="true" href="mailto:aschkolnik@gmail.com" target="_blank">aschkolnik@gmail.com</a>
impatient. - Ethics Of The Fathers Ch. 2 | 054 3344135
</pre>
</font></span></div>
<br>
_______________________________________________<br>
Linux-il mailing list<br>
<a moz-do-not-send="true"
href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a moz-do-not-send="true"
href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il"
target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
The day is short, and the work is great, | Aharon Schkolnik
and the laborers are lazy, and the reward |
is great, and the Master of the house is | <a class="moz-txt-link-abbreviated" href="mailto:aschkolnik@gmail.com">aschkolnik@gmail.com</a>
impatient. - Ethics Of The Fathers Ch. 2 | 054 3344135
</pre>
</body>
</html>