LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux Limbo - Bootmgr missing for dual boot (https://www.linuxquestions.org/questions/linux-newbie-8/linux-limbo-bootmgr-missing-for-dual-boot-871372/)

BThresher 03-27-2011 11:21 PM

Linux Limbo - Bootmgr missing for dual boot
 
Well good evening,

OK, I have a Fedora / Windows 7 dual boot machine. I went to a website that explained how to do it step by step with pictures. Except now I can't boot back into windows, which I need for work. I installed grub but don't know how to find it or set options. (Total Newb) Windows recovery sees my installation but tells me that there's no problem with it, and I can find files in an image. (yay)
When grub comes up it offers me boot choices, but Other takes me to a screen that says, "BOOTMGR is Missing" Ctrl-alt-del to restart

Any Ideas?

Thanks in Advance,
Bob

linuxlover.chaitanya 03-27-2011 11:45 PM

This seems to be a windows error rather than a Linux or grub issue. Grub is taking you to windows boot but it is somehow missing the loader. Not sure how you managed to do it.
You can try to restore the windows boot manager from the recovery media and then reinstall grub again properly.

---------- Post added 28th Mar 2011 at 10:15 ----------

This seems to be a windows error rather than a Linux or grub issue. Grub is taking you to windows boot but it is somehow missing the loader. Not sure how you managed to do it.
You can try to restore the windows boot manager from the recovery media and then reinstall grub again properly.

linuxlover.chaitanya 03-27-2011 11:47 PM

I am somehow double posting everytime I post....

BThresher 03-28-2011 12:17 AM

Went to the recovery media first. Have run it several times, it says there's no problem loading windows. Ecxept, there is. ;) Gr8 minds think alike though, any other ideas anyone? Is there a linux tool for recovering boot partitions on windows?

syg00 03-28-2011 12:30 AM

Probably just pointing to the wrong Win partition - in Linux, go here, get and run the script and post the RESULTS.txt
That way we can see the actual boot setup on your machine (no personal data).

BThresher 03-28-2011 09:24 AM

Boot Info Script 0.55 dated February 15th, 2010

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

=> Windows is installed in the MBR of /dev/sda
=> Grub 0.97 is installed in the MBR of /dev/sdb and looks at sector 34052 on
boot drive #3 for the stage2 file. A stage2 file is at this location on
/dev/sdc. Stage2 looks on partition #1 for /grub/grub.conf.
=> Grub 0.97 is installed in the MBR of /dev/sdc and looks at sector 34052 on
boot drive #1 for the stage2 file. A stage2 file is at this location on
/dev/sdc. Stage2 looks on partition #1 for /grub/grub.conf.

sda1: _________________________________________________________________________

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

sdb1: _________________________________________________________________________

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

sdb2: _________________________________________________________________________

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/dirs: /Windows/System32/winload.exe

sdc1: _________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs: /grub/menu.lst /grub/grub.conf

sdc2: _________________________________________________________________________

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

vg_argonaut-lv_root: _________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Fedora release 14 (Laughlin)
Kernel on an ()
Boot files/dirs: /etc/fstab

vg_argonaut-lv_home: _________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:

vg_argonaut-lv_swap: _________________________________________________________________________

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

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

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 63 2,930,272,064 2,930,272,002 7 HPFS/NTFS


Drive: sdb ___________________ _____________________________________________________

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdb1 * 2,048 206,847 204,800 7 HPFS/NTFS
/dev/sdb2 206,848 976,771,071 976,564,224 7 HPFS/NTFS


Drive: sdc ___________________ _____________________________________________________

Disk /dev/sdc: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdc1 * 2,048 1,026,047 1,024,000 83 Linux
/dev/sdc2 1,026,048 1,465,147,391 1,464,121,344 8e Linux LVM


blkid -c /dev/null: ____________________________________________________________

Device UUID TYPE LABEL

/dev/mapper/vg_argonaut-lv_home c4606168-6863-44c9-8363-a28200284ded ext4
/dev/mapper/vg_argonaut-lv_root 1f925b2c-eca4-42c4-8d23-912c51c3645e ext4 _Fedora-14-x86_6
/dev/mapper/vg_argonaut-lv_swap 3778d3e2-3810-48fd-856a-5a0e066ad91a swap
/dev/sda1 60481CE7481CBE2A ntfs Closet
/dev/sda: PTTYPE="dos"
/dev/sdb1 E81C69D51C699EF6 ntfs System Reserved
/dev/sdb2 34F00971F0093A9E ntfs
/dev/sdb: PTTYPE="dos"
/dev/sdc1 692b6e2d-d6af-48eb-9c41-d21385aaf69b ext4
/dev/sdc2 y9qoSd-QylA-7qrf-qxqp-A0N9-7YM7-QKgJbI LVM2_member
/dev/sdc: PTTYPE="dos"

=============================== "ls -R /dev/mapper/" output: ===============================
/dev/mapper:
control
vg_argonaut-lv_home
vg_argonaut-lv_root
vg_argonaut-lv_swap

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

/dev/mapper/vg_argonaut-lv_root / ext4 (rw)
/dev/sdc1 /boot ext4 (rw)
/dev/mapper/vg_argonaut-lv_home /home ext4 (rw)
/dev/sda1 /media/Closet fuseblk (rw,nosuid,nodev,allow_other,blksize=512,default_permissions)
/dev/sdb2 /media/34F00971F0093A9E fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)


============================= sdc1/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 (hd2,0)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_argonaut-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sdb
default=1
timeout=5
splashimage=(hd2,0)/grub/splash.xpm.gz
hiddenmenu
title GNU GRUB 2, (1.98)
kernel /grub2/core.img
title Fedora (2.6.35.6-45.fc14.x86_64)
root (hd2,0)
kernel /vmlinuz-2.6.35.6-45.fc14.x86_64 ro root=/dev/mapper/vg_argonaut-lv_root rd_LVM_LV=vg_argonaut/lv_root rd_LVM_LV=vg_argonaut/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.6-45.fc14.x86_64.img
title Other
rootnoverify (hd1,0)
chainloader +1

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


.0GB: grub/grub.conf
.0GB: grub/menu.lst
.0GB: grub/stage2
.0GB: initramfs-2.6.35.6-45.fc14.x86_64.img
.0GB: initrd-plymouth.img
.0GB: vmlinuz-2.6.35.6-45.fc14.x86_64

======================== vg_argonaut-lv_root/etc/fstab: ========================


#
# /etc/fstab
# Created by anaconda on Sun Mar 27 11:23:16 2011
#
# 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_argonaut-lv_root / ext4 defaults 1 1
UUID=692b6e2d-d6af-48eb-9c41-d21385aaf69b /boot ext4 defaults 1 2
/dev/mapper/vg_argonaut-lv_home /home ext4 defaults 1 2
/dev/mapper/vg_argonaut-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
=============================== StdErr Messages: ===============================

mdadm: No arrays found in config file or automatically



OK, that was tough. Apprearently I'm not a sudoer ???

Thank you,
Bob

syg00 03-28-2011 10:55 AM

By default Fedora doesn't use sudo. As root add these map lines to /boot/grub/grub.conf (note there is a space in there)
Code:

title Other
map (hd0) (hd1)
map (hd1) (hd0)

rootnoverify (hd1,0)
chainloader +1


BThresher 03-29-2011 10:07 AM

THank you for all the help, I am dual-booting windows 7 and fedora 14. The adventure begins.. :)


All times are GMT -5. The time now is 10:20 PM.