Discussion:
SL7rc Dual Boot Issues
Bill Maidment
2014-10-06 23:27:20 UTC
Permalink
I have been using dual boot SL6.5 and Windows 7 successfully on my laptop.
The disk setup is:
HD0 - /dev/sda - Seagate - SL6.5
HD1 - /dev/sdb - Toshiba - Windows 7
HD2 - /dev/sdc - MSATA - cache for Windows 7

I replaced the Seagate drive with a spare Seagate and when I tried installing SL7rc2 the installer recognised only the Seagate disk as /dev/sdb - no mention of sda or sdc.
The installation went OK and SL7 booted and ran OK, But I can't access the Windows disk.

I looked at the grub2 configuration and realised that I was completely out of my depth. How could the simplicity of the old grub be so bastardised????
Swapping back to the original Seagate drive gave me back my original setup with no damage done.

Can anyone point me in the right direction to get these drives correctly recognised in the SL7 installer and grub2?

Regards
Bill Maidment
Bill Maidment
2014-10-07 01:38:52 UTC
Permalink
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.

Regards
Bill Maidment


-----Original message-----
Sent: Tuesday 7th October 2014 10:29
Subject: SL7rc Dual Boot Issues
I have been using dual boot SL6.5 and Windows 7 successfully on my laptop.
HD0 - /dev/sda - Seagate - SL6.5
HD1 - /dev/sdb - Toshiba - Windows 7
HD2 - /dev/sdc - MSATA - cache for Windows 7
I replaced the Seagate drive with a spare Seagate and when I tried installing SL7rc2 the installer recognised only the Seagate disk as /dev/sdb - no mention of sda or sdc.
The installation went OK and SL7 booted and ran OK, But I can't access the Windows disk.
I looked at the grub2 configuration and realised that I was completely out of my depth. How could the simplicity of the old grub be so bastardised????
Swapping back to the original Seagate drive gave me back my original setup with no damage done.
Can anyone point me in the right direction to get these drives correctly recognised in the SL7 installer and grub2?
Regards
Bill Maidment
Akemi Yagi
2014-10-08 00:56:57 UTC
Permalink
Post by Bill Maidment
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.
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
Bill Maidment
2014-10-08 01:03:41 UTC
Permalink
Thanks Akemi.
That's exactly what I needed to make it permanent.

Regards
Bill Maidment


-----Original message-----
Sent: Wednesday 8th October 2014 11:59
Subject: Re: SL7rc Dual Boot Issues
Post by Bill Maidment
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.
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
#! /bin/bash
echo "Adding Windows7"
cat << EOF
menuentry "Windows7" {
set root=hd0(1,2)
chainloader +1
}
EOF
grub2-mkconfig -o /boot/grub2/grub.cfg
Akemi
Loading...