View Issue Details

IDProjectCategoryView StatusLast Update
0007227CentOS-7grub2public2014-07-08 15:57
Reporterservtelecom Assigned To 
PriorityimmediateSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformCentOSOS7OS Version7
Summary0007227: not detect other operating systems in the grub list
Descriptionnot detect other operating systems in the grub list ( Microsft Windows )
TagsNo tags attached.
abrt_hash
URL

Activities

toracat

toracat

2014-06-20 00:38

manager   ~0019972

Which version of Windows is this?

Potentially related to this post in the upstream discussion session:

https://access.redhat.com/site/discussions/960663
servtelecom

servtelecom

2014-06-20 07:04

reporter   ~0019981

It's Windows 7 home premium and Professional Edition and my machine not UEFI
ouafnico

ouafnico

2014-06-27 13:08

reporter   ~0020090

Same problem for me.
I did a "grub2-mkconfig --output=/etc/grub.cfg" and Windows appears on my menu.
servtelecom

servtelecom

2014-06-27 13:25

reporter   ~0020093

yes yes! :)

# grub2-mkconfig --output=/etc/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-ecd2c45af2114db7bd7f15da09cd4fc3
Found initrd image: /boot/initramfs-0-rescue-ecd2c45af2114db7bd7f15da09cd4fc3.img
Found Windows 7 (loader) on /dev/sda1
done

Thank's! :)
ouafnico

ouafnico

2014-06-27 13:34

reporter   ~0020094

No problem :)
ScottReese

ScottReese

2014-06-29 16:16

reporter   ~0020115

Greetings:

I have a somewhat more complicated collection of OSes installed, and had a different experience:

/dev/sda1 -> Fedora 20 /boot
/dev/sda2 -> CentOS 7 /boot
/dev/sdb1 -> Windows XP
/dev/sdc1 -> Windows 7

The CentOS installer only placed 2 entries in /boot/grub2/grub.cfg, the primary entry for CentOS 7 and the rescue entry for CentOS 7. Running grub2-mkconfig found the Fedora 20 install on /dev/sda1, but did not find either Windows install:

Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img
Warning: Please don't use old title `CentOS Linux, with Linux 3.10.0-123.el7.x86_64' for GRUB_DEFAULT, use `Advanced options for CentOS Linux>CentOS Linux, with Linux 3.10.0-123.el7.x86_64' (for versions before 2.00) or `gnulinux-advanced-c58e2943-6aad-4850-b5be-6a530fe3b8c8>gnulinux-3.10.0-123.el7.x86_64-advanced-c58e2943-6aad-4850-b5be-6a530fe3b8c8' (for 2.00 or later)
Found linux image: /boot/vmlinuz-0-rescue-8a36d81d92044e7cba7283acbfd559cd
Found initrd image: /boot/initramfs-0-rescue-8a36d81d92044e7cba7283acbfd559cd.img
Found Fedora release 20 (Heisenbug) on /dev/mapper/fedora_prometheus-roota
done


So the grub2-mkconfig in CentOS 7 does not appear to be finding installations on disks other than the one that it's on.
JanglewoodLLC

JanglewoodLLC

2014-07-08 11:44

reporter   ~0020223

I was having a similar issue, until I realized that I'd not mounted the NTFS drive/partition before running grub2-mkconfig, so I mounted it and it worked.

//-------------// Before Mount: \\---------------------\\
[root@localhost ~]# grub2-mkconfig --output=/etc/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img
Found linux image: /boot/vmlinuz-3.10.0-123.4.2.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-123.4.2.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-5a85fd6809bc4136b3a0333c5d0b7638
Found initrd image: /boot/initramfs-0-rescue-5a85fd6809bc4136b3a0333c5d0b7638.img
done

//----------// After Mount \\-----------------\\
[root@localhost ~]# grub2-mkconfig --output=/etc/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img
Found linux image: /boot/vmlinuz-3.10.0-123.4.2.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-123.4.2.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-5a85fd6809bc4136b3a0333c5d0b7638
Found initrd image: /boot/initramfs-0-rescue-5a85fd6809bc4136b3a0333c5d0b7638.img
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
Found Windows 7 (loader) on /dev/sda1
done
chromebook

chromebook

2014-07-08 15:57

reporter   ~0020228

install CentOS from U disk ?error

dracut-initqueu[577]:Warning: Could not boot
dracut-initqueu[577]:warning:/dev/root doennot exist.

https://bugzilla.redhat.com/show_bug.cgi?id=855849

Issue History

Date Modified Username Field Change
2014-06-19 22:42 servtelecom New Issue
2014-06-20 00:38 toracat Note Added: 0019972
2014-06-20 07:04 servtelecom Note Added: 0019981
2014-06-23 13:18 avij Category grub => grub2
2014-06-27 13:08 ouafnico Note Added: 0020090
2014-06-27 13:25 servtelecom Note Added: 0020093
2014-06-27 13:34 ouafnico Note Added: 0020094
2014-06-29 16:16 ScottReese Note Added: 0020115
2014-07-08 11:44 JanglewoodLLC Note Added: 0020223
2014-07-08 15:57 chromebook Note Added: 0020228