Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Problem setting up dual boot Scientific 7/Windows 7
karlhoffman_76
 Posted: Dec 17 2015, 01:31 AM
Quote Post


SLF Newbie


Group: Members
Posts: 4
Member No.: 3582
Joined: 17-December 15









Hi everyone, I'm James and I'm new to the forum. I'm having issues trying to setup a dual boot arrangement of Scientific 7 and Windows 7 on my Lenovo X240 laptop. I already had Windows installed and have so for some time now and decided I wanted to setup Scientific as well, as it would be more convenient that way with me studying physics at uni to have access to it at home.

So I shrunk 10 Gb from my primary Windows partition and installed Scientific 7. When it finished, the grub2 boot loader failed to display an option for Windows, but I was expecting that from what I'd read about doing this. Anyway, installed ntfs-3g and then updated grub2, nothing. Tried adding a menuentry in 40_custom and updating, still nothing. Tried every partition. The one with windows on it came up with a 'cannot find windows MBR' message. Then I read that I could repair the Windows MBR and then reinstate grub2 after. Booted into windows repair from USB, tried manual repair in command prompt then reset. I then got 'operating system missing' message on reboot. No grub2, no Windows, nothing loading. Tried resetting BIOS configuration to default settings, still got the same message. And now windows USB doesn't load into repair mode, instead going for a fresh install! So I tried reinstalling Windows 7 on the 16 Gb OEM SSD drive (this laptop has a 500 Gb standard HDD and a 16 Gb SSD). Still got 'operating system missing'. So then I reinstalled Scientific 7 and here I am posting this thread. I know 100% that the partition windows is on hasn't been wiped (I can access it from Linux, everything is there). I really don't want to have to wipe everything and start again if I can prevent it. Is there a way out of this?

Here is the output from boot info,

Boot Info Script 0.61 [1 April 2012]


============================= Boot Info Summary: ===============================

=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector
955803648 of the same hard drive for core.img, but core.img can not be
found at this location.
=> No boot loader is installed in the MBR of /dev/sdb.
=> Windows is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:

sda2: __________________________________________________________________________

File system: vfat
Boot sector type: Unknown
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/Boot/bootx64.efi

sda3: __________________________________________________________________________

File system:
Boot sector type: -
Boot sector info:
Mounting failed: mount: unknown filesystem type ''

sda4: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe

sda5: __________________________________________________________________________

File system: BIOS Boot partition
Boot sector type: Unknown
Boot sector info:

sda6: __________________________________________________________________________

File system: xfs
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub2/grub.cfg

sda7: __________________________________________________________________________

File system: xfs
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub2/grub.cfg

sda8: __________________________________________________________________________

File system: LVM2_member
Boot sector type: -
Boot sector info:

sdb1: __________________________________________________________________________

File system:
Boot sector type: -
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
mount: unknown filesystem type ''

sdb2: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe

sdc1: __________________________________________________________________________

File system: vfat
Boot sector type: Windows XP: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:

scientific-root': ______________________________________________________________

File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''

scientific-swap': ______________________________________________________________

File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 500.1 GB, 500107862016 bytes, 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 1 976,773,167 976,773,167 ee GPT


GUID Partition Table detected.

Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 2,050,047 2,048,000 Windows Recovery Environment (Windows)
/dev/sda2 2,050,048 2,582,527 532,480 EFI System partition
/dev/sda3 2,582,528 2,844,671 262,144 Microsoft Reserved Partition (Windows)
/dev/sda4 2,844,672 955,801,614 952,956,943 Data partition (Windows/Linux)
/dev/sda5 955,803,648 955,805,695 2,048 BIOS Boot partition
/dev/sda6 955,805,696 956,829,695 1,024,000 Data partition (Windows/Linux)
/dev/sda7 956,829,696 957,853,695 1,024,000 Data partition (Windows/Linux)
/dev/sda8 957,853,696 976,773,119 18,919,424 Logical Volume Manager (LVM) partition (Linux)

Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 16.0 GB, 16013942784 bytes, 31277232 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdb1 1 4,294,967,295 4,294,967,295 ee GPT

/dev/sdb1 ends after the last sector of /dev/sdb

GUID Partition Table detected.

Partition Start Sector End Sector # of Sectors System
/dev/sdb1 2,048 264,191 262,144 Microsoft Reserved Partition (Windows)
/dev/sdb2 264,192 31,277,055 31,012,864 Data partition (Windows/Linux)

Drive: sdc _____________________________________________________________________

Disk /dev/sdc: 63.2 GB, 63233327104 bytes, 123502592 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdc1 8,064 123,502,591 123,494,528 c W95 FAT32 (LBA)


"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/mapper/scientific-root 06b014f5-18f1-4c27-b4fe-382f8deb91a2 xfs
/dev/mapper/scientific-swap 94a4fa98-8475-4a04-a4fd-a57ec12d2759 swap
/dev/sda1 E6568C09568BD8A7 ntfs WINRE_DRV
/dev/sda2 628C-EA8C vfat SYSTEM_DRV
/dev/sda4 EC06B56606B53286 ntfs
/dev/sda6 46dc3365-892e-4c5a-9b39-e52d3842ca45 xfs
/dev/sda7 ad62d92e-bd49-4e26-8e59-2f82a688e3d5 xfs
/dev/sda8 zRlGWq-ECFS-7EVW-5c6s-J8hz-TvFd-C0sypY LVM2_member
/dev/sdb2 CC50A13450A125E4 ntfs
/dev/sdc1 4C2B-22EA vfat 0400444088

========================= "ls -R /dev/mapper/" output: =========================

/dev/mapper:
control
scientific-root
scientific-swap

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/mapper/scientific-root / xfs (rw,relatime,seclabel,attr2,inode64,noquota)
/dev/sda4 /run/media/jvorenkamp/EC06B56606B53286 fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda7 /boot xfs (rw,relatime,seclabel,attr2,inode64,noquota)
/dev/sdc1 /run/media/jvorenkamp/0400444088 vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)


============================= sda6/grub2/grub.cfg: =============================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set pager=1

if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}

terminal_output console
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/00_tuned ###
set tuned_params=""
### END /etc/grub.d/00_tuned ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Scientific Linux 7.1 (Nitrogen), with Linux 3.10.0-229.20.1.el7.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-229.20.1.el7.x86_64-advanced-e47c05f5-6e90-4a31-83c9-3b6df7812de3' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod xfs
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 46dc3365-892e-4c5a-9b39-e52d3842ca45
else
search --no-floppy --fs-uuid --set=root 46dc3365-892e-4c5a-9b39-e52d3842ca45
fi
linux16 /vmlinuz-3.10.0-229.20.1.el7.x86_64 root=/dev/mapper/scientific-root ro rd.lvm.lv=scientific/swap rd.lvm.lv=scientific/root crashkernel=auto rhgb quiet
initrd16 /initramfs-3.10.0-229.20.1.el7.x86_64.img
}
menuentry 'Scientific Linux 7.1 (Nitrogen), with Linux 3.10.0-229.el7.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-229.el7.x86_64-advanced-e47c05f5-6e90-4a31-83c9-3b6df7812de3' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod xfs
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 46dc3365-892e-4c5a-9b39-e52d3842ca45
else
search --no-floppy --fs-uuid --set=root 46dc3365-892e-4c5a-9b39-e52d3842ca45
fi
linux16 /vmlinuz-3.10.0-229.el7.x86_64 root=/dev/mapper/scientific-root ro rd.lvm.lv=scientific/swap rd.lvm.lv=scientific/root crashkernel=auto rhgb quiet
initrd16 /initramfs-3.10.0-229.el7.x86_64.img
}
menuentry 'Scientific Linux 7.1 (Nitrogen), with Linux 0-rescue-2046a31469154826aaedb494321ba016' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-2046a31469154826aaedb494321ba016-advanced-e47c05f5-6e90-4a31-83c9-3b6df7812de3' {
load_video
insmod gzio
insmod part_gpt
insmod xfs
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 46dc3365-892e-4c5a-9b39-e52d3842ca45
else
search --no-floppy --fs-uuid --set=root 46dc3365-892e-4c5a-9b39-e52d3842ca45
fi
linux16 /vmlinuz-0-rescue-2046a31469154826aaedb494321ba016 root=/dev/mapper/scientific-root ro rd.lvm.lv=scientific/swap rd.lvm.lv=scientific/root crashkernel=auto rhgb quiet
initrd16 /initramfs-0-rescue-2046a31469154826aaedb494321ba016.img
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.

menuentry "Windows 7 (loader) (on /dev/sda4)" --class windows --class os {
insmod part_msdos
insmod ntfs
insmod ntldr
set root='(hd0,gpt4)'
search --no-floppy --fs-uuid --set=root EC06B56606B53286
ntldr ($root)/bootmgr
}
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=================== sda6: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)


============================= sda7/grub2/grub.cfg: =============================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set pager=1

if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}

terminal_output console
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/00_tuned ###
set tuned_params=""
### END /etc/grub.d/00_tuned ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Scientific Linux 7.1 (Nitrogen), with Linux 3.10.0-229.el7.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-229.el7.x86_64-advanced-06b014f5-18f1-4c27-b4fe-382f8deb91a2' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod xfs
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 ad62d92e-bd49-4e26-8e59-2f82a688e3d5
else
search --no-floppy --fs-uuid --set=root ad62d92e-bd49-4e26-8e59-2f82a688e3d5
fi
linux16 /vmlinuz-3.10.0-229.el7.x86_64 root=/dev/mapper/scientific-root ro rd.lvm.lv=scientific/swap rd.lvm.lv=scientific/root crashkernel=auto rhgb quiet
initrd16 /initramfs-3.10.0-229.el7.x86_64.img
}
menuentry 'Scientific Linux 7.1 (Nitrogen), with Linux 0-rescue-706a10f6257d48f295377b9d80793eac' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-706a10f6257d48f295377b9d80793eac-advanced-06b014f5-18f1-4c27-b4fe-382f8deb91a2' {
load_video
insmod gzio
insmod part_gpt
insmod xfs
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 ad62d92e-bd49-4e26-8e59-2f82a688e3d5
else
search --no-floppy --fs-uuid --set=root ad62d92e-bd49-4e26-8e59-2f82a688e3d5
fi
linux16 /vmlinuz-0-rescue-706a10f6257d48f295377b9d80793eac root=/dev/mapper/scientific-root ro rd.lvm.lv=scientific/swap rd.lvm.lv=scientific/root crashkernel=auto rhgb quiet
initrd16 /initramfs-0-rescue-706a10f6257d48f295377b9d80793eac.img
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=================== sda7: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)


======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda2

00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 08 fe 1b |.X.MSDOS5.0.....|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 48 1f 00 |........?....H..|
00000020 00 20 08 00 01 02 00 00 00 00 00 00 02 00 00 00 |. ..............|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 00 29 8c ea 8c 62 4e 4f 20 4e 41 4d 45 20 20 |..)...bNO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
00000060 7b 8e c1 8e d9 bd 00 7c 88 56 40 88 4e 02 8a 56 |{......|.V@.N..V|
00000070 40 b4 41 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a |@.A..U..r...U.u.|
00000080 f6 c1 01 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd |...t..F..-.V@...|
00000090 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 |.s......f...@f..|
000000a0 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 |...?.......Af...|
000000b0 66 f7 e1 66 89 46 f8 83 7e 16 00 75 39 83 7e 2a |f..f.F..~..u9.~*|
000000c0 00 77 33 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 |.w3f.F.f........|
000000d0 00 e8 2c 00 e9 a8 03 a1 f8 7d 80 c4 7c 8b f0 ac |..,......}..|...|
000000e0 84 c0 74 17 3c ff 74 09 b4 0e bb 07 00 cd 10 eb |..t.<.t.........|
000000f0 ee a1 fa 7d eb e4 a1 7d 80 eb df 98 cd 16 cd 19 |...}...}........|
00000100 66 60 80 7e 02 00 0f 84 20 00 66 6a 00 66 50 06 |f`.~.... .fj.fP.|
00000110 53 66 68 10 00 01 00 b4 42 8a 56 40 8b f4 cd 13 |Sfh.....B.V@....|
00000120 66 58 66 58 66 58 66 58 eb 33 66 3b 46 f8 72 03 |fXfXfXfX.3f;F.r.|
00000130 f9 eb 2a 66 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 |..*f3.f..N.f....|
00000140 8a ca 66 8b d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 |..f..f....v....V|
00000150 40 8a e8 c0 e4 06 0a cc b8 01 02 cd 13 66 61 0f |@............fa.|
00000160 82 74 ff 81 c3 00 02 66 40 49 75 94 c3 42 4f 4f |.t.....f@Iu..BOO|
00000170 54 4d 47 52 20 20 20 20 00 00 00 00 00 00 00 00 |TMGR ........|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 44 69 |..............Di|
000001b0 73 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 |sk error...Press|
000001c0 20 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 | any key to rest|
000001d0 61 72 74 0d 0a 00 00 00 00 00 00 00 00 00 00 00 |art.............|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 ac 01 b9 01 00 00 55 aa |..............U.|
00000200

Unknown BootLoader on sda5

00000000 52 bf f4 81 66 8b 2d 83 7d 08 00 0f 84 e2 00 80 |R...f.-.}.......|
00000010 7c ff 00 74 46 66 8b 1d 66 8b 4d 04 66 31 c0 b0 ||..tFf..f.M.f1..|
00000020 7f 39 45 08 7f 03 8b 45 08 29 45 08 66 01 05 66 |.9E....E.)E.f..f|
00000030 83 55 04 00 c7 04 10 00 89 44 02 66 89 5c 08 66 |.U.......D.f.\.f|
00000040 89 4c 0c c7 44 06 00 70 50 c7 44 04 00 00 b4 42 |.L..D..pP.D....B|
00000050 cd 13 0f 82 af 00 bb 00 70 eb 66 66 8b 45 04 66 |........p.ff.E.f|
00000060 09 c0 0f 85 97 00 66 8b 05 66 31 d2 66 f7 34 88 |......f..f1.f.4.|
00000070 54 0a 66 31 d2 66 f7 74 04 88 54 0b 89 44 0c 3b |T.f1.f.t..T..D.;|
00000080 44 08 7d 79 8b 04 2a 44 0a 39 45 08 7f 03 8b 45 |D.}y..*D.9E....E|
00000090 08 29 45 08 66 01 05 66 83 55 04 00 8a 54 0d c0 |.)E.f..f.U...T..|
000000a0 e2 06 8a 4c 0a fe c1 08 d1 8a 6c 0c 5a 52 8a 74 |...L......l.ZR.t|
000000b0 0b 50 bb 00 70 8e c3 31 db b4 02 cd 13 72 46 8c |.P..p..1.....rF.|
000000c0 c3 8e 45 0a 58 c1 e0 05 01 45 0a 60 1e c1 e0 03 |..E.X....E.`....|
000000d0 89 c1 31 ff 31 f6 8e db fc f3 a5 1f be 1b 81 e8 |..1.1...........|
000000e0 57 00 61 83 7d 08 00 0f 85 24 ff 83 ef 0c e9 16 |W.a.}....$......|
000000f0 ff be 1d 81 e8 42 00 5a ea 00 82 00 00 be 20 81 |.....B.Z...... .|
00000100 e8 36 00 eb 06 be 25 81 e8 2e 00 be 2a 81 e8 28 |.6....%.....*..(|
00000110 00 eb fe 6c 6f 61 64 69 6e 67 00 2e 00 0d 0a 00 |...loading......|
00000120 47 65 6f 6d 00 52 65 61 64 00 20 45 72 72 6f 72 |Geom.Read. Error|
00000130 00 bb 01 00 b4 0e cd 10 46 8a 04 3c 00 75 f2 c3 |........F..<.u..|
00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 01 68 f8 38 00 00 00 00 65 00 20 08 |.....h.8....e. .|
00000200

Unknown BootLoader on scientific-root'


Unknown BootLoader on scientific-swap'



=============================== StdErr Messages: ===============================

cat: /tmp/BootInfo-r28ACgFE/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-r28ACgFE/Tmp_Log: No such file or directory
Failed to find logical volume "scientific/root'"
Failed to find logical volume "scientific/root'"
Failed to find logical volume "scientific/root'"
hexdump: /dev/mapper/scientific-root': No such file or directory
hexdump: stdin: Bad file descriptor
hexdump: /dev/mapper/scientific-root': No such file or directory
hexdump: all input file arguments failed
Failed to find logical volume "scientific/swap'"
Failed to find logical volume "scientific/swap'"
Failed to find logical volume "scientific/swap'"
hexdump: /dev/mapper/scientific-swap': No such file or directory
hexdump: stdin: Bad file descriptor
hexdump: /dev/mapper/scientific-swap': No such file or directory
hexdump: all input file arguments failed
mdadm: No arrays found in config file or automatically

Any help would be very much appreciated. Thanks for reading.

- James
PMEmail Poster
^
karlhoffman_76
 Posted: Dec 18 2015, 07:28 PM
Quote Post


SLF Newbie


Group: Members
Posts: 4
Member No.: 3582
Joined: 17-December 15









Okay, so I'm not quite sure I understand the full details but I've been able to setup a dual boot of Windows 10 and SL7. Unfortunately I couldn't recover Windows 7 but I was able to backup all my important files before I wiped everything. My method was as follows.

1. Back everything up in SL7, then reinstall Windows 7, wiping every partition and starting fresh. Chose the primary HDD to install windows on.

2. Once installed, downloaded a Windows 10 image as a free upgrade. Used Rufus to create a 'GPT on UEFI' supported boot USB stick. Rebooted and set EFI optimised boot from the startup screen. Installed Windows 10 over Windows 7. Fresh install.

3. Then in Windows 10, created a 'GPT on UEFI' supported boot USB stick from an SL7 image using Rufus again. Rebooted, making sure to disable 'secure boot'. Installed SL7 on small 16 Gb SSD that was once the OEM drive. After reboot, grub2 recognises both SL7 and Windows (oh yeah).

I have a question about grub2 though. The boot order is set at SL7 and SL7 recovery at the top and Windows at the bottom. I predominantly use Windows so I'm just wondering, how I can change the boot order so that it defaults to Windows?
PMEmail Poster
^
SeeM
 Posted: Dec 19 2015, 06:08 PM
Quote Post


SLF Rookie
*

Group: Members
Posts: 16
Member No.: 1301
Joined: 20-February 12









QUOTE (karlhoffman_76 @ Dec 18 2015, 08:28 PM)
I have a question about grub2 though.  The boot order is set at SL7 and SL7 recovery at the top and Windows at the bottom.  I predominantly use Windows so I'm just wondering, how I can change the boot order so that it defaults to Windows?


Check your /boot/grub2/grub.cfg for menuentries. On my machine it's:
CODE
# cat /boot/grub2/grub.cfg | grep menuentry
if [ x"${feature_menuentry_id}" = xy ]; then
 menuentry_id_option="--id"
 menuentry_id_option=""
export menuentry_id_option
menuentry 'Scientific Linux (3.10.0-327.3.1.el7.x86_64) 7.1 (Nitrogen)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-229.el7.x86_64-advanced-e9cc5e8f-93f3-431a-b2c2-9ea2f024305c' { ...
One of your menuentries would be something like 'Windows 10 whatever edition' copy that entry and edit the /etc/default/grub file, adding the line
CODE
GRUB_DEFAULT="Windows 10 whatever edition"


Next, rebuild brub.cfg file:
CODE
grub2-mkconfig -o /boot/grub2/grub.cfg
PM
^
karlhoffman_76
 Posted: Dec 21 2015, 02:49 PM
Quote Post


SLF Newbie


Group: Members
Posts: 4
Member No.: 3582
Joined: 17-December 15









QUOTE (SeeM @ Dec 19 2015, 06:08 PM)
QUOTE (karlhoffman_76 @ Dec 18 2015, 08:28 PM)
I have a question about grub2 though.  The boot order is set at SL7 and SL7 recovery at the top and Windows at the bottom.  I predominantly use Windows so I'm just wondering, how I can change the boot order so that it defaults to Windows?


Check your /boot/grub2/grub.cfg for menuentries. On my machine it's:
CODE
# cat /boot/grub2/grub.cfg | grep menuentry
if [ x"${feature_menuentry_id}" = xy ]; then
 menuentry_id_option="--id"
 menuentry_id_option=""
export menuentry_id_option
menuentry 'Scientific Linux (3.10.0-327.3.1.el7.x86_64) 7.1 (Nitrogen)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-229.el7.x86_64-advanced-e9cc5e8f-93f3-431a-b2c2-9ea2f024305c' { ...
One of your menuentries would be something like 'Windows 10 whatever edition' copy that entry and edit the /etc/default/grub file, adding the line
CODE
GRUB_DEFAULT="Windows 10 whatever edition"


Next, rebuild brub.cfg file:
CODE
grub2-mkconfig -o /boot/grub2/grub.cfg


Thanks for your reply SeeM. I did as you suggested but the grub.cfg file doesn't appear to have been updated by /etc/default/grub. I've been doing some reading on this and it turns out a lot of people have had issues with grub.cfg not being updated. Mostly in relation to reducing the timer from 5 seconds to 0 seconds (see Grub ignores TIMEOUT options on /etc/default/grub ). I tried grub-customizer as well, with the same result. Currently, this is what my /etc/default/grub file looks like,

GRUB_TIMEOUT="5"
GRUB_DEFAULT="Windows Boot Manager (on /dev/sda2)"
GRUB_DISABLE_SUBMENU="true"
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=scientific/swap rd.lvm.lv=scientific/root crashkernel=auto rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
GRUB_SAVEDEFAULT="false"

Any ideas?
PMEmail Poster
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll