Subject: | |
From: | |
Reply To: | |
Date: | Wed, 8 Oct 2014 12:03:41 +1100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Thanks Akemi.
That's exactly what I needed to make it permanent.
Regards
Bill Maidment
-----Original message-----
> From:Akemi Yagi <[log in to unmask]>
> Sent: Wednesday 8th October 2014 11:59
> To: Bill Maidment <[log in to unmask]>
> Cc: Users, Scientific Linux ([log in to unmask]) <[log in to unmask]>
> Subject: Re: SL7rc Dual Boot Issues
>
> 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
>
>
|
|
|