On Fri, Mar 09, 2012 at 04:12:40PM +0800, 赵佳晖 wrote:
> Hello , everyone , just now , i have installed gentoo from ubuntu 11.10
> , And when i install the grub with the command : grub-install --no-floppy
> /dev/sda . And when i reboot , i aware that i have
>
> override my MBR. And Now how can i edit my grub in the gentoo to boot my
> windows 7 on /dev/sda1 ?
>
> For my windows boot manager has been override , should i use a windows
> live CD , and go to DOS to execute the command : " fdisk /mbr " , after
> that ,add the ubuntu and gentoo to the windows
>
> boot manager ?
>
> Can i boot the windows 7 from GRUB dircetly?
>
> PS: my grub version in gentoo is : GNU GRUB 0.97
Windows has (should have in a standard install its own 'boot loader'
in its partition, it usually only installs a simple 'select the active
partition and boot from that' loader to the MBR, so in 99% it is enough
to just add
title Windows
rootnoverify (hd0,0)
chainloader +1
makeactive
to /boot/grub/grub.conf, change (hd0,0) to whatever your windows
partition is ( hd0,0 is /dev/sda1, in hdX,Y X is the disk number
(sda -> 0, sdb ->1, ..), Y is the partition number, counted from 0, ie
sda4 -> hd0,3)
yoyo
03-09-2012, 07:45 AM
Marian Habrun
How can i use GRUB to boot my windows?
Hello,
grub --version
grub (GNU GRUB 0.97)
You can make this entry in /boot/grub/grub.conf (menu.lst symlinks to this file):
title Windows 7
rootnoverify (hd0,0)
chainloader +1
Have a nice day.
~ Hello , everyone , just now , i have installed gentoo from ubuntu 11.10
~ , And when i install the grub with the command : grub-install --no-floppy
~ /dev/sda . And when i reboot , i aware that i have
~
~ override my MBR. And Now how can i edit my grub in the gentoo to boot my
~ windows 7 on /dev/sda1 ?
~
~ For my windows boot manager has been override , should i use a windows
~ live CD , and go to DOS to execute the command : " fdisk /mbr " , after
~ that ,add the ubuntu and gentoo to the windows
~
~ boot manager ?
~
~ Can i boot the windows 7 from GRUB dircetly?
~
~ PS: my grub version in gentoo is : GNU GRUB 0.97
~ --
~ 好好**,天天向上!!!
~
03-09-2012, 11:08 AM
赵佳晖
How can i use GRUB to boot my windows?
I have tried that , but it didn't work . But it comes the error : "Error 11: Unrecognized device string". I can't figure out why it comes...
2012/3/9 Marian Habrun <marian.habrun@epoconsulting.com>
Hello,
grub --version
grub (GNU GRUB 0.97)
You can make this entry in /boot/grub/grub.conf (menu.lst symlinks to this file):
title Windows 7
rootnoverify (hd0,0)
chainloader +1
Have a nice day.
~ * *Hello , everyone , just now , i have installed gentoo from ubuntu 11.10
~ , And when i install the grub with the command : grub-install --no-floppy
~ /dev/sda . And when i reboot , i aware that i have
~
~ override my MBR. *And Now how can i edit my grub in the gentoo to boot my
~ windows 7 on /dev/sda1 ?
~
~ * *For my windows boot manager has been override , should i use a windows
~ live CD , and go to DOS to execute the command : " fdisk /mbr " , *after
~ that ,add the ubuntu and gentoo to the windows
~
~ *boot manager ?
~
~ * *Can i boot the windows 7 from GRUB dircetly?
~
~ *PS: my grub version in gentoo is : GNU GRUB 0.97
~ --
~ 好好**,天天向上!!!
~
--
好好**,天天向上!!!
03-09-2012, 11:13 AM
Daddy
How can i use GRUB to boot my windows?
On March 9, 2012 at 7:08 AM "赵佳晖" <jiahui.tar.gz@gmail.com> wrote:
> I have tried that , but it didn't work . But it comes the error : "Error
> 11: Unrecognized device string". I can't figure out why it comes...
because depending on the OEM installation of MSWindows the boot files may be on
a different partition. I have a Dell here which has a Dell recovery partition
on /dev/sda1, the boot partition on /dev/sda2 and the MSWindows OS partition
on /dev/sda3.
If you look at fdisk -l you should see which partition has the boot * flag.
--
Regards,
Mick
03-09-2012, 12:15 PM
赵佳晖
How can i use GRUB to boot my windows?
i changed hd(0,0) to hd(0,1) , and it also comes Error 11, and when i run the command : fdisk -l *.The /dev/sda1 has the boot * flag ..
that would explain the Error 11, which means the string describing the
disc is wrong / cannot be parsed...
yoyo
--
好好**,天天向上!!!
03-09-2012, 01:42 PM
"mike@trausch.us"
How can i use GRUB to boot my windows?
On 03/09/2012 07:40 AM, 赵佳晖 wrote:
> grub.conf:
> default 0
> timeout 30
> splashimage=(hd0,7)/boot/grub/splash.xpm.gz
>
> title Gentoo
> root(hd0,7)
> kernel /boot/kernel-3.2.1-gentoo-r2
> root=/dev/sda8
>
> title Windows 7
> rootnoverify hd(0,0)
> makeactive
> chainloader +1
The error is present right there. Compare your root and rootnoverify
lines. Your rootnoverify line should read "rootnoverify (hd0,0)".
--- Mike
--
A man who reasons deliberately, manages it better after studying Logic
than he could before, if he is sincere about it and has common sense.
--- Carveth Read, “Logic”