[해결]]grub2 1.97beta4 에서 윈도우 부팅 안됩니다

(리눅스 초보입니다만…)
어제 저녁 때 우분투에서 업데이트 하라고 해서 했는데…
윈도우7으로 부팅이 갑자기 안됩니다…
업데이트 전까지는 잘쓰고 있었거든요…
grub문제 같은데, 구글 찾아봐도 어케 해야하는지 잘 모르겠고…

아무튼 증상은

  1. 윈도우7은 sdb1이구요.
  2. grub 부팅 메뉴에서 window7 선택하면 "invalid signature"라고
    나오면서 부팅이 안되요.

좀 도와주세요…

===========================================================================

Re: Grub "Invalid Signature" error when booting windows
hi!

I got same issue.

After installing ubuntu 9.10 beta grub2 couldn’t find my Win Xp.
So i followed the rules:

apt-get install os-prober

update-grub2

And it worked fine, till I updated my grub2 to the grub-pc.

Now I have exactly the same message: Invalid signature

I have grub installed at windows partition

/////////////////////////////////////////////////////////////////////

So i solved it.

my disk with windows and linux is /dev/sdb

sudo gedit /boot/grub/device.map

(hd0) /dev/sda change to (hd0) /dev/sdb

save

then

sudo os-prober
sudo update-grub
sudo reboot
Last edited by zulek87; October 28th, 2009 at 08:15 AM…

device.map을 수정하니까 잘 되네요…

  1. 리눅스로 부팅하세요

  2. /etc/grub.d/40_custom 이란 이름으로 아래 내용이 담긴 파일을 만드세요

[code:9jg622yj]
menuentry "Windows 7 (on /dev/sdb1)" {
insmod ntfs
set root=(hd1,1)
chainloader +1
}
[/code:9jg622yj]

  1. 아래 명령을 통해서 grub 정보를 업데이트해주세요.

[code:9jg622yj]
$ sudo update-grub
[/code:9jg622yj]

  1. 재부팅 후 Windows 파티션 인식되어 부팅되는지 확인