grub multiboot

General support questions
falke
Posts: 1
Joined: 2015/10/07 08:19:31

grub multiboot

Postby falke » 2018/04/02 06:10:23

Hi,

I had installed Centos 6 and windows 7 on a SATA-harddisk. It had worked and I could started over grub menu booth OS without any problems. Recently a got a ssd-harddisk where i installed windows 10. I try to configure windows 10 as a second
Os but grub doesn't boot the new installed os. Does someone a advice what do wrong?

Output of fdisk -l:

/dev/sda1 * 1 29760 239044879+ 7 HPFS/NTFS
/dev/sda2 29760 29823 506880 27 Unbekannt
/dev/sda3 29824 91201 493010754 f W95 Erw. (LBA)
/dev/sda5 29825 52218 179879775 7 HPFS/NTFS
/dev/sda6 52219 64202 96256000 83 Linux
/dev/sda7 72515 77714 41768968+ 83 Linux
/dev/sda8 77715 78735 8192000 82 Linux Swap / Solaris
/dev/sda9 78736 91201 100133113+ 83 Linux
/dev/sda10 64202 72514 66768896 83 Linux

Gerät boot. Anfang Ende Blöcke Id System
/dev/sdb1 1 60801 488382464 7 HPFS/NTFS # Windows 10 partition

grub.conf output:

#boot=/dev/sda
default=3
timeout=5
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS 6 (2.6.32-696.el6.x86_64)
root (hd0,5)
kernel /boot/vmlinuz-2.6.32-696.el6.x86_64 ro root=UUID=7b4e59de-bfe6-42b7-b432-6d3fb2bbbe89 rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=de-latin1-nodeadkeys rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_LVM LANG=de_DE.UTF-8 rd_NO_DM rhgb quiet
initrd /boot/initramfs-2.6.32-696.el6.x86_64.img
title CentOS 6 (2.6.32-696.10.1.el6.x86_64)
root (hd0,5)
kernel /boot/vmlinuz-2.6.32-696.10.1.el6.x86_64 ro root=UUID=7b4e59de-bfe6-42b7-b432-6d3fb2bbbe89 rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=de-latin1-nodeadkeys rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_LVM LANG=de_DE.UTF-8 rd_NO_DM rhgb quiet
initrd /boot/initramfs-2.6.32-696.10.1.el6.x86_64.img
title CentOS 6 (2.6.32-696.20.1.el6.x86_64)
root (hd0,5)
kernel /boot/vmlinuz-2.6.32-696.20.1.el6.x86_64 ro root=UUID=7b4e59de-bfe6-42b7-b432-6d3fb2bbbe89 rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=de-latin1-nodeadkeys rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_LVM LANG=de_DE.UTF-8 rd_NO_DM rhgb quiet
initrd /boot/initramfs-2.6.32-696.20.1.el6.x86_64.img
title Other
rootnoverify (hd0,0)
chainloader +1
title Windows10
rootnoverify (hd1,0)
chainloader +1

Thanks in advance

fivedai
Posts: 13
Joined: 2018/03/05 08:54:13

Re: grub multiboot

Postby fivedai » 2018/04/14 03:30:27

I kown how to solve it........

1, install win10, and install the /efi in as 100M patitiong A at disk SSD_A:
2, reinstall you centos boot/efi in other disk partion, such as patition B at disk HD_B;
3, Copy the dir from /efi/Microsofte in patitiong A to /boot/efi at patition B at disk HD_B.
4, modifiy your grub.conf such as....
......
title Win10(SSD)
root (hd0,3) # hd0,3 is the patition B at disk HD_B
chainloader /EFI/Microsoft/Boot/bootmgfw.efi