Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How can i use GRUB to boot my windows?
Date: Fri, 09 Mar 2012 12:56:12
Message-Id: 201203091255.00703.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] How can i use GRUB to boot my windows? by "赵佳晖"
1 On Friday 09 Mar 2012 12:40:45 赵佳晖 wrote:
2 > OK,
3 > /etc/fstab:
4 >
5 > /dev/sda8 / ext3 noatime 0
6 > 1 /dev/cdrom /mnt/cdrom auto noauto,ro 0,0
7 >
8 > grub.conf:
9 > default 0
10 > timeout 30
11 > splashimage=(hd0,7)/boot/grub/splash.xpm.gz
12 >
13 > title Gentoo
14 > root(hd0,7)
15 > kernel /boot/kernel-3.2.1-gentoo-r2
16 > root=/dev/sda8
17 >
18 > title Windows 7
19 > rootnoverify hd(0,0)
20 > makeactive
21 > chainloader +1
22
23 You may want to try:
24
25 rootnoverify hd(0,1)
26
27 because depending on the OEM installation of MSWindows the boot files may be on
28 a different partition. I have a Dell here which has a Dell recovery partition
29 on /dev/sda1, the boot partition on /dev/sda2 and the MSWindows OS partition
30 on /dev/sda3.
31
32 If you look at fdisk -l you should see which partition has the boot * flag.
33
34 --
35 Regards,
36 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] How can i use GRUB to boot my windows? "赵佳晖" <jiahui.tar.gz@×××××.com>