bharris |
06-05-2011 09:46 PM |
Linux Grub and Windows 7
I know that there are many of these thread types floating around and I've been searching, but have yet to find a solution that solves my particular problem.
When I hit grub and choose to launch windows, it gives me a "boot manager is missing" error, but if I just manually boot from my windows drive, it works fine. So my only issue is when the grub is in control of the boot.
From other posts, I gather this information will help more experienced Linux users help me pin this down.
Code:
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Testdisk is installed in the MBR of /dev/sda.
=> Grub Legacy0.97 is installed in the MBR of /dev/sdb and looks at sector
543338 on boot drive #1 for the stage2 file. A stage2 file is at this
location on /dev/sdb. Stage2 looks on partition #1 for /grub/grub.conf..
=> Grub Legacy is installed in the MBR of /dev/sdc and looks at sector
461089280 on boot drive #3 for the stage2 file, but no stage2 files can be
found at this location..
=> Windows is installed in the MBR of /dev/sdd.
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub/menu.lst /grub/grub.conf
sdb2: __________________________________________________________________________
File system: LVM2_member
Boot sector type: -
Boot sector info:
sdc1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdd1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
vg_irrigger-lv_root': __________________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
vg_irrigger-lv_home': __________________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
mount: unknown filesystem type ''
vg_irrigger-lv_swap': __________________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 300.1 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders, total 586072368 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 63 586,067,264 586,067,202 7 NTFS / exFAT / HPFS
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 2,048 1,026,047 1,024,000 83 Linux
/dev/sdb2 1,026,048 625,141,759 624,115,712 8e Linux LVM
Drive: sdc _____________________________________________________________________
Disk /dev/sdc: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdc1 2,048 1,250,260,991 1,250,258,944 7 NTFS / exFAT / HPFS
Drive: sdd _____________________________________________________________________
Disk /dev/sdd: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdd1 63 1,250,258,624 1,250,258,562 7 NTFS / exFAT / HPFS
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/mapper/vg_irrigger-lv_home 45f7737e-6ce1-4e99-93ab-dff34a0242de ext4
/dev/mapper/vg_irrigger-lv_root 46822bb3-e6b8-47d4-b38a-6a10e1b1746f ext4 _Fedora-14-x86_6
/dev/mapper/vg_irrigger-lv_swap 6c4ee5ca-d806-46c2-b8cd-e440fdf5c805 swap
/dev/sda1 62C00616640CA1B6 ntfs Main
/dev/sdb1 daf643c8-4290-4337-86a6-1cc62fb334d1 ext4
/dev/sdb2 B2yKRS-0M9v-6lTY-eoB7-WSor-VB1J-Lbi4e6 LVM2_member
/dev/sdc1 FCC4627CC46238D2 ntfs Backup
/dev/sdd1 030367FA3F376268 ntfs Storage
========================= "ls -R /dev/mapper/" output: =========================
/dev/mapper:
control
vg_irrigger-lv_home
vg_irrigger-lv_root
vg_irrigger-lv_swap
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/mapper/vg_irrigger-lv_home /home ext4 (rw)
/dev/mapper/vg_irrigger-lv_root / ext4 (rw)
/dev/sdb1 /boot ext4 (rw)
/dev/sdd1 /mnt/Backup fuseblk (rw,allow_other,blksize=4096)
============================= sdb1/grub/grub.conf: =============================
--------------------------------------------------------------------------------
# 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,0)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_irrigger-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sdb
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.35.13-91.fc14.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.35.13-91.fc14.x86_64 ro root=/dev/mapper/vg_irrigger-lv_root rd_LVM_LV=vg_irrigger/lv_root rd_LVM_LV=vg_irrigger/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.35.13-91.fc14.x86_64.img
title Windows
rootnoverify (hd1,0)
chainloader +1
--------------------------------------------------------------------------------
=================== sdb1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
0.260744095 = 0.279971840 grub/grub.conf 1
0.260744095 = 0.279971840 grub/menu.lst 1
0.259198189 = 0.278311936 grub/stage2 1
0.052142143 = 0.055987200 initramfs-2.6.35.12-90.fc14.x86_64.img 2
0.060020447 = 0.064446464 initramfs-2.6.35.13-91.fc14.x86_64.img 4
0.022989273 = 0.024684544 initrd-plymouth.img 1
0.037765503 = 0.040550400 vmlinuz-2.6.35.12-90.fc14.x86_64 1
0.020131111 = 0.021615616 vmlinuz-2.6.35.13-91.fc14.x86_64 1
================= sdb1: Location of files loaded by Syslinux: ==================
GiB - GB File Fragment(s)
0.141609192 = 0.152051712 extlinux/cat.c32 1
0.141628265 = 0.152072192 extlinux/chain.c32 1
0.141629219 = 0.152073216 extlinux/cmd.c32 1
0.141634941 = 0.152079360 extlinux/config.c32 1
0.141640663 = 0.152085504 extlinux/cpuid.c32 1
0.141652107 = 0.152097792 extlinux/cpuidtest.c32 1
0.141657829 = 0.152103936 extlinux/disk.c32 1
0.141692162 = 0.152140800 extlinux/dmitest.c32 1
0.141719818 = 0.152170496 extlinux/elf.c32 1
0.141748428 = 0.152201216 extlinux/ethersel.c32 1
0.141769409 = 0.152223744 extlinux/gfxboot.c32 1
0.141772270 = 0.152226816 extlinux/gpxecmd.c32 1
0.142029762 = 0.152503296 extlinux/hdt.c32 1
0.142034531 = 0.152508416 extlinux/host.c32 1
0.142052650 = 0.152527872 extlinux/ifcpu64.c32 1
0.142050743 = 0.152525824 extlinux/ifcpu.c32 1
0.142055511 = 0.152530944 extlinux/ifplop.c32 1
0.142062187 = 0.152538112 extlinux/kbdmap.c32 1
0.142079353 = 0.152556544 extlinux/linux.c32 1
0.142088890 = 0.152566784 extlinux/ls.c32 1
0.142314911 = 0.152809472 extlinux/lua.c32 1
0.142348289 = 0.152845312 extlinux/mboot.c32 1
0.142383575 = 0.152883200 extlinux/meminfo.c32 1
0.142440796 = 0.152944640 extlinux/menu.c32 1
0.142472267 = 0.152978432 extlinux/pcitest.c32 1
0.142485619 = 0.152992768 extlinux/pmload.c32 1
0.142489433 = 0.152996864 extlinux/pwd.c32 1
0.142490387 = 0.152997888 extlinux/reboot.c32 1
0.142510414 = 0.153019392 extlinux/rosh.c32 1
0.142513275 = 0.153022464 extlinux/sanboot.c32 1
0.142539024 = 0.153050112 extlinux/sdi.c32 1
0.142579079 = 0.153093120 extlinux/sysdump.c32 1
0.142584801 = 0.153099264 extlinux/vesainfo.c32 1
0.142737389 = 0.153263104 extlinux/vesamenu.c32 1
0.142744064 = 0.153270272 extlinux/vpdtest.c32 1
0.142746925 = 0.153273344 extlinux/whichsys.c32 1
============== sdb1: Version of COM32(R) files used by Syslinux: ===============
extlinux/cat.c32 : COM32R module (v4.xx)
extlinux/chain.c32 : COM32R module (v4.xx)
extlinux/cmd.c32 : COM32R module (v4.xx)
extlinux/config.c32 : COM32R module (v4.xx)
extlinux/cpuid.c32 : COM32R module (v4.xx)
extlinux/cpuidtest.c32 : COM32R module (v4.xx)
extlinux/disk.c32 : COM32R module (v4.xx)
extlinux/dmitest.c32 : COM32R module (v4.xx)
extlinux/elf.c32 : COM32R module (v4.xx)
extlinux/ethersel.c32 : COM32R module (v4.xx)
extlinux/gfxboot.c32 : COM32R module (v4.xx)
extlinux/gpxecmd.c32 : COM32R module (v4.xx)
extlinux/hdt.c32 : COM32R module (v4.xx)
extlinux/host.c32 : COM32R module (v4.xx)
extlinux/ifcpu64.c32 : COM32R module (v4.xx)
extlinux/ifcpu.c32 : COM32R module (v4.xx)
extlinux/ifplop.c32 : COM32R module (v4.xx)
extlinux/kbdmap.c32 : COM32R module (v4.xx)
extlinux/linux.c32 : COM32R module (v4.xx)
extlinux/ls.c32 : COM32R module (v4.xx)
extlinux/lua.c32 : COM32R module (v4.xx)
extlinux/mboot.c32 : COM32R module (v4.xx)
extlinux/meminfo.c32 : COM32R module (v4.xx)
extlinux/menu.c32 : COM32R module (v4.xx)
extlinux/pcitest.c32 : COM32R module (v4.xx)
extlinux/pmload.c32 : COM32R module (v4.xx)
extlinux/pwd.c32 : COM32R module (v4.xx)
extlinux/reboot.c32 : COM32R module (v4.xx)
extlinux/rosh.c32 : COM32R module (v4.xx)
extlinux/sanboot.c32 : COM32R module (v4.xx)
extlinux/sdi.c32 : COM32R module (v4.xx)
extlinux/sysdump.c32 : COM32R module (v4.xx)
extlinux/vesainfo.c32 : COM32R module (v4.xx)
extlinux/vesamenu.c32 : COM32R module (v4.xx)
extlinux/vpdtest.c32 : COM32R module (v4.xx)
extlinux/whichsys.c32 : COM32R module (v4.xx)
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on vg_irrigger-lv_root'
Unknown BootLoader on vg_irrigger-lv_home'
Unknown BootLoader on vg_irrigger-lv_swap'
=============================== StdErr Messages: ===============================
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
hexdump: /dev/mapper/vg_irrigger-lv_root': No such file or directory
hexdump: stdin: Bad file descriptor.
hexdump: /dev/mapper/vg_irrigger-lv_root': No such file or directory
hexdump: /dev/mapper/vg_irrigger-lv_root': Bad file descriptor
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
hexdump: /dev/mapper/vg_irrigger-lv_home': No such file or directory
hexdump: stdin: Bad file descriptor.
hexdump: /dev/mapper/vg_irrigger-lv_home': No such file or directory
hexdump: /dev/mapper/vg_irrigger-lv_home': Bad file descriptor
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
hexdump: /dev/mapper/vg_irrigger-lv_swap': No such file or directory
hexdump: stdin: Bad file descriptor.
hexdump: /dev/mapper/vg_irrigger-lv_swap': No such file or directory
hexdump: /dev/mapper/vg_irrigger-lv_swap': Bad file descriptor
mdadm: No arrays found in config file or automatically
/etc/grub.conf
Code:
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.35.13-91.fc14.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.35.13-91.fc14.x86_64 ro root=/dev/mapper/vg_irrigger-lv_root rd_LVM_LV=vg_irrigger/lv_root rd_LVM_LV=vg_irrigger/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.35.13-91.fc14.x86_64.img
title Windows
rootnoverify (hd1,0)
chainloader +1
sudo fdisk -l
Code:
Disk /dev/sda: 300.1 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders, total 586072368 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
Disk identifier: 0x7a469749
Device Boot Start End Blocks Id System
/dev/sda1 * 63 586067264 293033601 7 HPFS/NTFS
Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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
Disk identifier: 0x0468bc5e
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 1026047 512000 83 Linux
/dev/sdb2 1026048 625141759 312057856 8e Linux LVM
Disk /dev/sdc: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 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
Disk identifier: 0x92775c90
Device Boot Start End Blocks Id System
/dev/sdc1 2048 1250260991 625129472 7 HPFS/NTFS
Disk /dev/sdd: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 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
Disk identifier: 0x92775c91
Device Boot Start End Blocks Id System
/dev/sdd1 63 1250258624 625129281 7 HPFS/NTFS
Disk /dev/dm-0: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders, total 104857600 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
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 10.5 GB, 10536091648 bytes
255 heads, 63 sectors/track, 1280 cylinders, total 20578304 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
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 255.3 GB, 255315673088 bytes
255 heads, 63 sectors/track, 31040 cylinders, total 498663424 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
Disk identifier: 0x00000000
Disk /dev/dm-2 doesn't contain a valid partition table
I doubt this matters but I'm working on Fedora 14 64bit.
Any help would be super appreciated. I have have attempted to use the solution from
this thread, but to no avail. Also attempted, in the grub.conf, to point windows at (hd1,1) which was another solution in a thread I can't seem to find. thanks!
As a side note. I posted this in Linux newbie because I am quite new to developing and working with the underpinnings of Linux.
|