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.
Currently I'm running 3 operating systems on my machine (in order of installation); Windows XP, Windows 7 and Fedora 14.
Unfortunately, after I installed Fedora I'm no longer able to boot Windows 7/XP.
When I select the "Other" option in the Grub menu, I get the following error:
Code:
Error 21: Selected disk does not exist
To provide more info, here is a boot info script result:
Code:
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 on the same drive
in partition #3 for /grub/stage2 and /grub/grub.conf.
=> Windows is installed in the MBR of /dev/sdc
sda1: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
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: Windows XP
Boot files/dirs: /boot.ini /bootmgr /Boot/BCD /ntldr /NTDETECT.COM
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
sdb3: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs: /grub/menu.lst /grub/grub.conf
sdb4: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdb5: _________________________________________________________________________
File system: LVM2_member
Boot sector type: -
Boot sector info:
sdc1: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM
sdc2: _________________________________________________________________________
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:
sdc3: _________________________________________________________________________
File system: LVM2_member
Boot sector type: -
Boot sector info:
VolGroup-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
VolGroup-lv_home: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
VolGroup-lv_swap: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Schijf /dev/sda: 999.5 GB, 999501594624 bytes
255 koppen, 63 sectoren/spoor, 121515 cilinders, totaal 1952151552 sectoren
Eenheid = sectoren van 1 * 512 = 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 2,048 1,952,151,551 1,952,149,504 7 HPFS/NTFS
Drive: sdb ___________________ _____________________________________________________
Schijf /dev/sdb: 160.0 GB, 160041885696 bytes
255 koppen, 63 sectoren/spoor, 19457 cilinders, totaal 312581808 sectoren
Eenheid = sectoren van 1 * 512 = 512 bytes
Partition Boot Start End Size Id System
/dev/sdb1 * 63 125,837,144 125,837,082 7 HPFS/NTFS
/dev/sdb2 125,837,312 251,666,431 125,829,120 7 HPFS/NTFS
/dev/sdb3 251,666,432 252,690,431 1,024,000 83 Linux
/dev/sdb4 252,690,432 312,580,095 59,889,664 5 Extended
/dev/sdb5 252,692,480 312,580,095 59,887,616 8e Linux LVM
Drive: sdc ___________________ _____________________________________________________
Schijf /dev/sdc: 500.1 GB, 500107862016 bytes
255 koppen, 63 sectoren/spoor, 60801 cilinders, totaal 976773168 sectoren
Eenheid = sectoren van 1 * 512 = 512 bytes
Partition Boot Start End Size Id System
/dev/sdc1 * 63 671,083,244 671,083,182 7 HPFS/NTFS
/dev/sdc2 671,084,544 880,799,743 209,715,200 7 HPFS/NTFS
/dev/sdc3 880,799,744 976,773,119 95,973,376 8e Linux LVM
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/mapper/VolGroup-lv_home f5249e89-9576-4665-b685-44a9f0e24d4a ext4
/dev/mapper/VolGroup-lv_root 802093c4-cc91-4426-9cb6-a79e3ee9d7ce ext4
/dev/mapper/VolGroup-lv_swap f4c89343-b123-4cde-aa55-3d098ce2407c swap
/dev/sda1 12C23AD8C23AC031 ntfs My Book
/dev/sda: PTTYPE="dos"
/dev/sdb1 EE60487260484415 ntfs
/dev/sdb2 D6284AE8284AC769 ntfs
/dev/sdb3 f8a50c07-434c-4f36-8742-e11a0f2612ff ext4
/dev/sdb4: PTTYPE="dos" PART_ENTRY_SCHEME="dos" PART_ENTRY_TYPE="0x5" PART_ENTRY_NUMBER="4"
/dev/sdb5 LC9tBI-km20-3Bld-OH28-3m1S-6plG-gsZkmK LVM2_member
/dev/sdb: PTTYPE="dos"
/dev/sdc1 8400C7C700C7BE84 ntfs
/dev/sdc2 566CF3E66CF3BF35 ntfs Volume
/dev/sdc3 KvOVis-WOMs-6XtO-27Ju-CTFW-Kq62-bEwDx3 LVM2_member
/dev/sdc: PTTYPE="dos"
=============================== "ls -R /dev/mapper/" output: ===============================
/dev/mapper:
control
VolGroup-lv_home
VolGroup-lv_root
VolGroup-lv_swap
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/mapper/VolGroup-lv_root / ext4 (rw)
/dev/sdb3 /boot ext4 (rw)
/dev/mapper/VolGroup-lv_home /home ext4 (rw)
/dev/sdc2 /media/Volume fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sdc1 /media/8400C7C700C7BE84 fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sdb2 /media/D6284AE8284AC769 fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sdb1 /media/EE60487260484415 fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
================================ sdb1/boot.ini: ================================
;
;Warning: Boot.ini is used on Windows XP and earlier operating systems.
;Warning: Use BCDEDIT.exe to modify Windows Vista boot options.
;
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /NOEXECUTE=OPTIN /FASTDETECT
============================= sdb3/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,2)
# kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sdb
default=0
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.35.6-48.fc14.i686)
root (hd0,2)
kernel /vmlinuz-2.6.35.6-48.fc14.i686 ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=nl_NL.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us-acentos rhgb quiet
initrd /initramfs-2.6.35.6-48.fc14.i686.img
title Fedora (2.6.35.6-45.fc14.i686)
root (hd0,2)
kernel /vmlinuz-2.6.35.6-45.fc14.i686 ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=nl_NL.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us-acentos rhgb quiet
initrd /initramfs-2.6.35.6-45.fc14.i686.img
title Other
rootnoverify (hd2,0)
chainloader +1
=================== sdb3: Location of files loaded by Grub: ===================
129.1GB: grub/grub.conf
129.1GB: grub/menu.lst
129.1GB: grub/stage2
128.8GB: initramfs-2.6.35.6-45.fc14.i686.img
128.8GB: initramfs-2.6.35.6-48.fc14.i686.img
128.8GB: vmlinuz-2.6.35.6-45.fc14.i686
128.8GB: vmlinuz-2.6.35.6-48.fc14.i686
================================ sdc1/boot.ini: ================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(1)partition(1)\WINDOWS
[operating systems]
E:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
========================= VolGroup-lv_root/etc/fstab: =========================
#
# /etc/fstab
# Created by anaconda on Wed Nov 17 16:23:29 2010
#
# 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/VolGroup-lv_root / ext4 defaults 1 1
UUID=f8a50c07-434c-4f36-8742-e11a0f2612ff /boot ext4 defaults 1 2
/dev/mapper/VolGroup-lv_home /home ext4 defaults 1 2
/dev/mapper/VolGroup-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
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369
Rep:
Is it true that windows is installed in MBR of sda and SDC ?
Before installing FEDORA how do you boot windows 7 and windows xp ?
When you installed FEDORA with drive was the first boot HD to BOOT SDB ?
In that case we have to MAP the drives .
To be sure post you're grub.conf and the outcome off fdisk -l
Mapping drives is something like MAP (hd0,0) (hd1,0)
MAP (hd1,0) (hd0,0)
Assuming that windows is on the first partition
Oh, now that you mention it, there appears to be an error here; all the operating systems are installed on the 160 GB drive (sdb).
Maybe it's mixed up because of the external drive (which is only used for storage, so that drive can be ignored).
Here is a new boot info result, with the external drive disconnected:
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 #3 for /grub/stage2 and /grub/grub.conf.
=> Windows is installed in the MBR of /dev/sdb
sda1: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /boot.ini /bootmgr /Boot/BCD /ntldr /NTDETECT.COM
sda2: _________________________________________________________________________
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
sda3: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs: /grub/menu.lst /grub/grub.conf
sda4: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: _________________________________________________________________________
File system: LVM2_member
Boot sector type: -
Boot sector info:
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: /boot.ini /ntldr /NTDETECT.COM
sdb2: _________________________________________________________________________
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:
sdb3: _________________________________________________________________________
File system: LVM2_member
Boot sector type: -
Boot sector info:
VolGroup-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
VolGroup-lv_home: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
VolGroup-lv_swap: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Schijf /dev/sda: 160.0 GB, 160041885696 bytes
255 koppen, 63 sectoren/spoor, 19457 cilinders, totaal 312581808 sectoren
Eenheid = sectoren van 1 * 512 = 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 * 63 125,837,144 125,837,082 7 HPFS/NTFS
/dev/sda2 125,837,312 251,666,431 125,829,120 7 HPFS/NTFS
/dev/sda3 251,666,432 252,690,431 1,024,000 83 Linux
/dev/sda4 252,690,432 312,580,095 59,889,664 5 Extended
/dev/sda5 252,692,480 312,580,095 59,887,616 8e Linux LVM
Drive: sdb ___________________ _____________________________________________________
Schijf /dev/sdb: 500.1 GB, 500107862016 bytes
255 koppen, 63 sectoren/spoor, 60801 cilinders, totaal 976773168 sectoren
Eenheid = sectoren van 1 * 512 = 512 bytes
Partition Boot Start End Size Id System
/dev/sdb1 * 63 671,083,244 671,083,182 7 HPFS/NTFS
/dev/sdb2 671,084,544 880,799,743 209,715,200 7 HPFS/NTFS
/dev/sdb3 880,799,744 976,773,119 95,973,376 8e Linux LVM
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/mapper/VolGroup-lv_home f5249e89-9576-4665-b685-44a9f0e24d4a ext4
/dev/mapper/VolGroup-lv_root 802093c4-cc91-4426-9cb6-a79e3ee9d7ce ext4
/dev/mapper/VolGroup-lv_swap f4c89343-b123-4cde-aa55-3d098ce2407c swap
/dev/sda1 EE60487260484415 ntfs
/dev/sda2 D6284AE8284AC769 ntfs
/dev/sda3 f8a50c07-434c-4f36-8742-e11a0f2612ff ext4
/dev/sda4: PTTYPE="dos" PART_ENTRY_SCHEME="dos" PART_ENTRY_TYPE="0x5" PART_ENTRY_NUMBER="4"
/dev/sda5 LC9tBI-km20-3Bld-OH28-3m1S-6plG-gsZkmK LVM2_member
/dev/sda: PTTYPE="dos"
/dev/sdb1 8400C7C700C7BE84 ntfs
/dev/sdb2 566CF3E66CF3BF35 ntfs Volume
/dev/sdb3 KvOVis-WOMs-6XtO-27Ju-CTFW-Kq62-bEwDx3 LVM2_member
/dev/sdb: PTTYPE="dos"
=============================== "ls -R /dev/mapper/" output: ===============================
/dev/mapper:
control
VolGroup-lv_home
VolGroup-lv_root
VolGroup-lv_swap
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/mapper/VolGroup-lv_root / ext4 (rw)
/dev/sda3 /boot ext4 (rw)
/dev/mapper/VolGroup-lv_home /home ext4 (rw)
================================ sda1/boot.ini: ================================
;
;Warning: Boot.ini is used on Windows XP and earlier operating systems.
;Warning: Use BCDEDIT.exe to modify Windows Vista boot options.
;
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /NOEXECUTE=OPTIN /FASTDETECT
============================= sda3/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,2)
# kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sdb
default=0
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.35.6-48.fc14.i686)
root (hd0,2)
kernel /vmlinuz-2.6.35.6-48.fc14.i686 ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=nl_NL.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us-acentos rhgb quiet
initrd /initramfs-2.6.35.6-48.fc14.i686.img
title Fedora (2.6.35.6-45.fc14.i686)
root (hd0,2)
kernel /vmlinuz-2.6.35.6-45.fc14.i686 ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=nl_NL.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us-acentos rhgb quiet
initrd /initramfs-2.6.35.6-45.fc14.i686.img
title Other
rootnoverify (hd2,0)
chainloader +1
=================== sda3: Location of files loaded by Grub: ===================
129.1GB: grub/grub.conf
129.1GB: grub/menu.lst
129.1GB: grub/stage2
128.8GB: initramfs-2.6.35.6-45.fc14.i686.img
128.8GB: initramfs-2.6.35.6-48.fc14.i686.img
128.8GB: vmlinuz-2.6.35.6-45.fc14.i686
128.8GB: vmlinuz-2.6.35.6-48.fc14.i686
================================ sdb1/boot.ini: ================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(1)partition(1)\WINDOWS
[operating systems]
E:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
========================= VolGroup-lv_root/etc/fstab: =========================
#
# /etc/fstab
# Created by anaconda on Wed Nov 17 16:23:29 2010
#
# 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/VolGroup-lv_root / ext4 defaults 1 1
UUID=f8a50c07-434c-4f36-8742-e11a0f2612ff /boot ext4 defaults 1 2
/dev/mapper/VolGroup-lv_home /home ext4 defaults 1 2
/dev/mapper/VolGroup-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
Before I installed Fedora, I could choose between XP and Windows 7 in a startup screen.
Quote:
When you installed FEDORA with drive was the first boot HD to BOOT SDB ?
I'm not completely sure on this one, but I guess it is.
Here is my grub.conf:
Code:
# 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/VolGroup-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sdb
default=0
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.35.6-48.fc14.i686)
root (hd0,2)
kernel /vmlinuz-2.6.35.6-48.fc14.i686 ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=nl_NL.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us-acentos rhgb quiet
initrd /initramfs-2.6.35.6-48.fc14.i686.img
title Fedora (2.6.35.6-45.fc14.i686)
root (hd0,2)
kernel /vmlinuz-2.6.35.6-45.fc14.i686 ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=nl_NL.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us-acentos rhgb quiet
initrd /initramfs-2.6.35.6-45.fc14.i686.img
title Other
rootnoverify (hd2,0)
chainloader +1
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369
Rep:
To be honest I did not know anything about windows beside that will only start from sda or as they called it c:/
So we have to fool windows and let it believe that it is on sda
Change the windows entry map (hd1,0) (hd0,0)
map (hd0,0) (hd1,0)
root(hd0,0)
chainloader + 1
makeactive
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.