Sleepy wrote:
I made the boot to (hd0,2) because windows 7 is in the first drive, and windows 7 makes a 100MB partition, so booting to the 2nd partition makes sense.
== BEGIN uname -rmi ==
2.6.32-220.el6.x86_64 x86_64 x86_64
== END uname -rmi ==
== BEGIN rpm -qa \*-release\* ==
rpmforge-release-0.3.6-1.el5.rf.i386
centos-release-6-2.el6.centos.7.x86_64
== END rpm -qa \*-release\* ==
== BEGIN cat /etc/redhat-release ==
CentOS release 6.2 (Final)
== END cat /etc/redhat-release ==
== BEGIN getenforce ==
Enforcing
== END getenforce ==
== BEGIN free -m ==
total used free shared buffers cached
Mem: 15925 792 15133 0 90 212
-/+ buffers/cache: 489 15436
Swap: 18111 0 18111
== END free -m ==
== BEGIN cat /etc/fstab ==
#
# /etc/fstab
# Created by anaconda on Sat Feb 11 05:13:26 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_baskettcentos-lv_root / ext4 defaults 1 1
UUID=decf6856-c339-4679-85e2-2affea2fbe69 /boot ext4 defaults 1 2
/dev/mapper/vg_baskettcentos-lv_home /home ext4 defaults 1 2
/dev/mapper/vg_baskettcentos-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
== END cat /etc/fstab ==
== BEGIN df -h ==
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_baskettcentos-lv_root
41G 2.2G 39G 6% /
tmpfs 7.8G 284K 7.8G 1% /dev/shm
/dev/sda4 485M 38M 422M 9% /boot
/dev/mapper/vg_baskettcentos-lv_home
28G 219M 26G 1% /home
== END df -h ==
== BEGIN fdisk -l ==
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/mapper/vg_baskettcentos-lv_root doesn't contain a valid partition table
Disk /dev/mapper/vg_baskettcentos-lv_swap doesn't contain a valid partition table
Disk /dev/mapper/vg_baskettcentos-lv_home doesn't contain a valid partition table
Disk /dev/sda: 240.1 GB, 240057409536 bytes
255 heads, 63 sectors/track, 29185 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x549bb6d1
Device Boot Start End Blocks Id System
/dev/sda1 1 29186 234431063+ ee GPT
/dev/sda2 * 1 1 0 0 Empty
Partition 2 does not end on cylinder boundary.
Disk /dev/mapper/vg_baskettcentos-lv_root: 44.3 GB, 44333793280 bytes
255 heads, 63 sectors/track, 5389 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/vg_baskettcentos-lv_swap: 19.0 GB, 18991808512 bytes
255 heads, 63 sectors/track, 2308 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/vg_baskettcentos-lv_home: 29.7 GB, 29666312192 bytes
255 heads, 63 sectors/track, 3606 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
== END fdisk -l ==
== BEGIN blkid ==
/dev/sda1: UUID="5C88-964D" TYPE="vfat"
/dev/sda3: UUID="BE2A8D1F2A8CD635" TYPE="ntfs"
/dev/sda4: UUID="decf6856-c339-4679-85e2-2affea2fbe69" TYPE="ext4"
/dev/sda5: UUID="ptEFzN-XZ7M-uA69-tof4-Ms17-zgZt-WDxuVf" TYPE="LVM2_member"
/dev/mapper/vg_baskettcentos-lv_root: LABEL="_CentOS-6.2-x86_" UUID="89a4feac-2620-4ecf-8279-6437bb391602" TYPE="ext4"
/dev/mapper/vg_baskettcentos-lv_swap: UUID="63038524-1b31-4312-a7a3-bdab4a4e912c" TYPE="swap"
/dev/mapper/vg_baskettcentos-lv_home: UUID="65c8d331-1777-422c-a4bd-29d9b7626050" TYPE="ext4"
== END blkid ==
== BEGIN cat /proc/mdstat ==
Personalities :
unused devices: <none>
== END cat /proc/mdstat ==
== BEGIN pvs ==
PV VG Fmt Attr PSize PFree
/dev/sda5 vg_baskettcentos lvm2 a-- 86.61g 0
== END pvs ==
== BEGIN vgs ==
VG #PV #LV #SN Attr VSize VFree
vg_baskettcentos 1 3 0 wz--n- 86.61g 0
== END vgs ==
== BEGIN lvs ==
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
lv_home vg_baskettcentos -wi-ao 27.63g
lv_root vg_baskettcentos -wi-ao 41.29g
lv_swap vg_baskettcentos -wi-ao 17.69g
== END lvs ==
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,3)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_baskettcentos-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,3)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-220.el6.x86_64)
root (hd0,3)
kernel /vmlinuz-2.6.32-220.el6.x86_64 ro root=/dev/mapper/vg_baskettcentos-lv_root rd_NO_LUKS
KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_LVM_LV=vg_baskettcentos/lv_root rd_NO_MD quiet
rd_LVM_LV=vg_baskettcentos/lv_swap rhgb crashkernel=auto SYSFONT=latarcyrheb-sun16 rd_NO_DM
initrd /initramfs-2.6.32-220.el6.x86_64.img
title Windows 7
insmod part_msdos
insmod ntfs
root (hd0,0)
savedefault
makeactive
rootnoverify (hd0,0)
chainloader +1
title Windows 7
rootnoverify (hd0,2)
chainloader +1
title Windows 7 Alt0
rootnoverify (hd0,0)
chainloader +1
title Windows 7 Alt1
rootnoverify (hd0,1)
chainloader +1
Enzan wrote:
Working with Sleepy on this one.
When booting from hd(0,0) the message is:
Remove disks or other media.
Press any key to restart
When booting from hd(0,1) the message is:
Error 13: Invalid or unsupported executable format.
The one CentOS is booting off of is hd(0,3) in grub.conf.
For the fixing bootmgr, I don't believe that that is the issue, since we are able to use the EFI boot to get into Windows without any issues.
Could this issue have anything to do with using gpt instead of mbr?
Any other suggestings of things we could try?
Enzan wrote:
That was in the initial post about the problem, it was bootmgr not found.
vonskippy wrote:
Seems like a lot of work debugging a obsolete method of running more then one OS.
Install Windows 7.
Install Virtual Box.
Install CentOS inside a VM.
pschaff wrote:
I would install CentOS on the bare metal, but do agree in concept.
This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=55&topic_id=35853