Subject: | |
From: | |
Reply To: | |
Date: | Tue, 7 Oct 2014 17:56:57 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On Mon, Oct 6, 2014 at 6:38 PM, Bill Maidment <[log in to unmask]> wrote:
> Looking at the Disk utility, it turns out that the install had set up the disks correctly, in spite of what the install menu showed.
> I added the following to /etc/grub2/grub.cfg just after the 10-linux section:
>
> menuentry "Windows 7 Professional SP1" {
> insmod ntfs
> set root=(hd1,2)
> chainloader +1 }
>
> And all is working OK, except now I have a laptop fan running all the time at full speed.
Did you mean the /boot/grub2/grub.cfg file? If so, your edit will be
wiped clean when grub2-mkconfig is run next time (kernel update etc).
To modify grub.cfg, you'd need to create a file in /etc/grub.d/ (for
example, 11_Windows7):
#! /bin/bash
echo "Adding Windows7"
cat << EOF
menuentry "Windows7" {
set root=hd0(1,2)
chainloader +1
}
EOF
Make the file executable and then run:
grub2-mkconfig -o /boot/grub2/grub.cfg
Akemi
|
|
|