Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 26th November 2010, 07:35 PM
keezel Offline
Registered User
 
Join Date: Nov 2010
Posts: 1
linuxfedorafirefox
Boot loader woes

I'm honestly not sure how I got to this point as it's been developing for a few weeks, but here's where I'm at now. I figure if nothing else, you guys will get a kick out of how awesome I am at screwing up my own box.

3 HDD's.

1) 250 GB internal, split nearly in half. One half for a Win 7 installation, other for Fedora 13. This is sda.
2) 1 TB internal for storage. This is sdb.
3) 500 GB external for storage. sdc.

My problem is with the 250 GB one (sda). The win 7 partition is sda 1, and like a retard, I installed grub to sda1 instead of sda. At this point when I booted to grub, I could successfully get into Fedora, but if I selected the Windows option it would simply reload grub. I think writing grub to sda1 overwrote the windows boot loader, so I tried to repair it with testdisk. No dice. Now I get nothing at all. So I reinstall grub to sda like I should have in the first place. I can still get into Fedora, but when I select Windows it just gives me the black screen with a blinking _. I think at this point I need to reinstall or repair the Windows boot loader, but I'm not super sure how to do that and test disk didn't appear to work. I also selected the "repair" option from the Win 7 disk, but it prompted me with a message saying something to the effect of "not supported with this disk". I will paste the output of a boot script below for further reference.

Code:
                Boot Info Script 0.55    dated February 15th, 2010                   

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

=> Grub 0.97 is installed in the MBR of /dev/sda and looks on the same drive
    in partition #2 for /grub/stage2 and /grub/grub.conf.
=> Windows is installed in the MBR of /dev/sdb
=> Windows is installed in the MBR of /dev/sdc

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:   /bootmgr /Boot/BCD /grldr /ntldr /NTDETECT.COM

sda2: _________________________________________________________________________

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

sda3: _________________________________________________________________________

    File system:       crypto_LUKS
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:
mount: unknown filesystem type 'crypto_LUKS'

sdb1: _________________________________________________________________________

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

sdc1: _________________________________________________________________________

    File system:       vfat
    Boot sector type:  MSWIN4.1: Fat 32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files/dirs:   

vg_fedora-lv_root: _________________________________________________________________________

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

vg_fedora-lv_home: _________________________________________________________________________

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

vg_fedora-lv_swap: _________________________________________________________________________

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

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

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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   266,245,244   266,245,182   7 HPFS/NTFS
/dev/sda2         266,246,144   267,270,143     1,024,000  83 Linux
/dev/sda3         267,270,144   488,396,799   221,126,656  83 Linux


Drive: sdb ___________________ _____________________________________________________

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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                  63 1,953,503,999 1,953,503,937   7 HPFS/NTFS


Drive: sdc ___________________ _____________________________________________________

Disk /dev/sdc: 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/sdc1    *             63   976,768,064   976,768,002   c W95 FAT32 (LBA)


blkid -c /dev/null: ____________________________________________________________

Device           UUID                                   TYPE       LABEL                         

/dev/mapper/luks-bbe1b0e6-b1f7-4347-94b4-1255fdda8798 lFbgmk-hCiz-fb9f-yqSh-vYYF-oUbZ-zlJMXk LVM2_member                               
/dev/mapper/vg_fedora-lv_home c584230a-da8c-40a9-8349-1f57befc2424   ext4                                     
/dev/mapper/vg_fedora-lv_root 74345c38-8b3e-4a8a-b2a9-4551be8dc415   ext4                                     
/dev/mapper/vg_fedora-lv_swap cf4efabc-bc1a-4ccf-8437-ac5cb836583c   swap                                     
/dev/sda1        4E1CD63C1CD61EB1                       ntfs                                     
/dev/sda2        ce250d37-1119-4533-8527-ddddc3e0ada8   ext4                                     
/dev/sda3        bbe1b0e6-b1f7-4347-94b4-1255fdda8798   crypto_LUKS                               
/dev/sda: PTTYPE="dos"
/dev/sdb1        7CB8E273B8E22B7A                       ntfs       Storage                       
/dev/sdb: PTTYPE="dos"
/dev/sdc1        2FBE-362D                              vfat       My Book                       
/dev/sdc: PTTYPE="dos"

=============================== "ls -R /dev/mapper/" output: ===============================
/dev/mapper:
control
luks-bbe1b0e6-b1f7-4347-94b4-1255fdda8798
vg_fedora-lv_home
vg_fedora-lv_root
vg_fedora-lv_swap

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

Device           Mount_Point              Type       Options

/dev/mapper/vg_fedora-lv_root /                        ext4       (rw)
/dev/sda2        /boot                    ext4       (rw)
/dev/mapper/vg_fedora-lv_home /home                    ext4       (rw)
/dev/sdb1        /media/Storage           fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sdc1        /media/My Book           vfat       (rw,nosuid,nodev,uhelper=udisks,uid=500,gid=500,shortname=mixed,dmask=0077,utf8=1,flush)


============================= sda2/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,1)
#          kernel /vmlinuz-version ro root=/dev/mapper/vg_fedora-lv_root
#          initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=2
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title New Fedora (2.6.34.7-61.fc13.x86_64)
   root (hd0,1)
   kernel /vmlinuz-2.6.34.7-61.fc13.x86_64 ro root=/dev/mapper/vg_fedora-lv_root rd_LUKS_UUID=luks-bbe1b0e6-b1f7-4347-94b4-1255fdda8798 rd_LVM_LV=vg_fedora/lv_root rd_LVM_LV=vg_fedora/lv_swap rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
   initrd /initramfs-2.6.34.7-61.fc13.x86_64.img
title Old Fedora (2.6.33.6-147.2.4.fc13.x86_64)
   root (hd0,1)
   kernel /vmlinuz-2.6.33.6-147.2.4.fc13.x86_64 ro root=/dev/mapper/vg_fedora-lv_root rd_LUKS_UUID=luks-bbe1b0e6-b1f7-4347-94b4-1255fdda8798 rd_LVM_LV=vg_fedora/lv_root rd_LVM_LV=vg_fedora/lv_swap rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
   initrd /initramfs-2.6.33.6-147.2.4.fc13.x86_64.img
title Windows 7
   rootnoverify (hd0,0)
   savedefault
   chainloader +1
title Other
   rootnoverify (hd0,0)
   chainloader +1

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


136.5GB: grub/grub.conf
136.5GB: grub/menu.lst
136.5GB: grub/stage2
136.3GB: initramfs-2.6.33.6-147.2.4.fc13.x86_64.img
136.3GB: initramfs-2.6.34.7-61.fc13.x86_64.img
136.3GB: vmlinuz-2.6.33.6-147.2.4.fc13.x86_64
136.3GB: vmlinuz-2.6.34.7-61.fc13.x86_64
Reply With Quote
  #2  
Old 26th November 2010, 07:49 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
linuxfedorafirefox
Re: Boot loader woes

Well, you said you attempted to repair it with the Windows 7 disk. And that is the thing you need to do. I would try again to get yourself to the command prompt in System Recovery Options. The command to restore the partition boot sector of the Windows partition is Bootrec.exe /FixBoot. See here...
http://support.microsoft.com/kb/927392
P.S.: You are not the first person ever to get into this predicament. At least it's not XP this time. When it happens to XP with Linux partitions on the hard drive, the XP CD often will not boot into the Recovery Console to allow the repair. I've not heard of such an issue with Vista or Windows 7 disks.
Reply With Quote
Reply

Tags
boot, loader, woes

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install fedora 12 from USB and make dual boot BCD using Windows 7 boot loader evildesirez Installation and Live Media 1 4th January 2010 05:56 PM
Rebuilding the Grub Boot Loader on Master Boot Record (MBR) w Fedora Linux Vector Guides & Solutions (No Questions) 6 1st August 2009 08:39 AM
Dual boot grub loader woes ickyuk Installation and Live Media 5 22nd May 2008 08:39 AM
Boot loader woes PiP... Installation and Live Media 24 9th March 2007 12:31 AM
GRUB boot loader r windows boot loader? Rebels Mascot Using Fedora 4 12th May 2005 03:50 AM


Current GMT-time: 20:36 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat