[SOLVED] Grub loader shows Windows, but Windows load comes up with boot error 0xc0000225
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Grub loader shows Windows, but Windows load comes up with boot error 0xc0000225
Hello, I am a newbie to Linux. I am taking a class on it and I needed to have Fedora 15 installed on my Windows 64 Home Premium laptop. I used a live usb stick to do so. Since this was the first time I was doing this I used the guide How to dual-boot Fedora 15 and Windows 7. When I restarted the computer I didn't get the option to load Windows or Fedora, just the live disk. So, thinking that the install didn't work I re-installed Fedora again except I chose to Replace Existing Linux System(s) instead of Shrink Current System like I did on the first install and kept all the other options the same. The grub loader shows
Fedora (2.6.43.8-1.fc15.i686) Fedora (2.6.43.8-1.rc1.fc15.i686) Windows
When I saw this I realized what I did wrong. After I installed Fedora the first time and rebooted my computer the computer rebooted from the live usb stick that was still plugged into it. I logged into the first Fedora entry and everything was fine there. I restarted the computer and chose to boot Windows which did not work. I received the below message:
Windows failed to start. A recent hardware or software chanfe might be the problem....
Status: 0xc0000225
Info: The boot selection failed because a required device is inaccessible.
I pulled up disk utility and it says it's sda1 NTFS partitioning as Master Boot Record but it's not mounted for some reason. I mounted the drive then rebooted my computer and tried to boot Windows and it would not work. I also noticed through disk utility that the sda2 partition would not mount when I tried to mount it. It gave me this reason:
Error mounting: mount exited with exit code 12: Failed to read last sector (624726771): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sda2': Invalid argument
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
I also ran Boot Info Script to get a full view of everything. The results are below.
Boot Info Script 0.61 [1 April 2012]
============================= Boot Info Summary: ===============================
=> Grub Legacy0.97-71.fc15 is installed in the MBR of /dev/sda and looks at
sector 243801634 on boot drive #1 for the stage2 file. A stage2 file is
at this location on /dev/sda. Stage2 looks on partition #3 for
/grub/grub.conf..
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: According to the info in the boot sector, sda2 has
624726771 sectors, but according to the info from
fdisk, it has 243363839 sectors.
Mounting failed: Failed to read last sector (624726771): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sda2': Invalid argument
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Failed to read last sector (624726771): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sda2': Invalid argument
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: Failed to read last sector (624726771): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sda2': Invalid argument
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Failed to read last sector (624726771): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sda2': Invalid argument
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount: unknown filesystem type ''
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: Failed to read last sector (624726771): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sda2': Invalid argument
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Failed to read last sector (624726771): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sda2': Invalid argument
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount: unknown filesystem type ''
mount: unknown filesystem type ''
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: Failed to read last sector (624726771): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sda2': Invalid argument
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Failed to read last sector (624726771): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sda2': Invalid argument
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
--------------------------------------------------------------------------------
# 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,2)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_userhp-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.43.8-1.fc15.i686)
root (hd0,2)
kernel /vmlinuz-2.6.43.8-1.fc15.i686 ro root=/dev/mapper/vg_userhp-lv_root rd_LVM_LV=vg_userhp/lv_root rd_LVM_LV=vg_userhp/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.43.8-1.fc15.i686.img
title Fedora (2.6.38.6-26.rc1.fc15.i686)
root (hd0,2)
kernel /vmlinuz-2.6.38.6-26.rc1.fc15.i686 ro root=/dev/mapper/vg_userhp-lv_root rd_LVM_LV=vg_userhp/lv_root rd_LVM_LV=vg_userhp/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.38.6-26.rc1.fc15.i686.img
title Other
rootnoverify (hd0,0)
chainloader +1
--------------------------------------------------------------------------------
=================== sda1: Location of files loaded by Grub: ====================
--------------------------------------------------------------------------------
# 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,2)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_userhp-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.43.8-1.fc15.i686)
root (hd0,2)
kernel /vmlinuz-2.6.43.8-1.fc15.i686 ro root=/dev/mapper/vg_userhp-lv_root rd_LVM_LV=vg_userhp/lv_root rd_LVM_LV=vg_userhp/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.43.8-1.fc15.i686.img
title Fedora (2.6.38.6-26.rc1.fc15.i686)
root (hd0,2)
kernel /vmlinuz-2.6.38.6-26.rc1.fc15.i686 ro root=/dev/mapper/vg_userhp-lv_root rd_LVM_LV=vg_userhp/lv_root rd_LVM_LV=vg_userhp/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.38.6-26.rc1.fc15.i686.img
title Windows 7 64 Home Premium
root (hd0,0)
makeactive
chainloader +1
--------------------------------------------------------------------------------
=================== sda3: Location of files loaded by Grub: ====================
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_userhp-lv_swap': No such file or directory
hexdump: stdin: Bad file descriptor.
hexdump: /dev/mapper/vg_userhp-lv_swap': No such file or directory
hexdump: /dev/mapper/vg_userhp-lv_swap': 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_userhp-lv_home': No such file or directory
hexdump: stdin: Bad file descriptor.
hexdump: /dev/mapper/vg_userhp-lv_home': No such file or directory
hexdump: /dev/mapper/vg_userhp-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_userhp-lv_root': No such file or directory
hexdump: stdin: Bad file descriptor.
hexdump: /dev/mapper/vg_userhp-lv_root': No such file or directory
hexdump: /dev/mapper/vg_userhp-lv_root': Bad file descriptor
mdadm: No arrays found in config file or automatically
I've been scouring Google and different places to find out some way to get my Windows to work. Thank you guys for taking the time to read this and help. Any help given is much appreciated!
Your windows filesystem seems to have problems. You should run chkdsk from windows is you have a windows CD/DVD. You might google repairing windows filesystem. I'm not sure if that is the exact command and it may need options (chkdsk /f). I haven't used windows for some time. Here's a link to microsoft:
You also have some errors in regard to LVM which apparently wasn't completed or set up correctly. If you look at the bootinfoscript, you will also see boot files on sda1 include grub.conf. That's your windows partition and it should not be there. If you have a windows installation CD/DVD, you could try booting that and repairing the bootloader and start over again with Fedora.
Thanks for the link. I ended up having to do a clean install of Windows, which I'm okay with, no bloatware. Now I'm going to try and dual boot Fedora correctly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.