LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   HELP:Unable to boot XP and mount a partiton (https://www.linuxquestions.org/questions/fedora-35/help-unable-to-boot-xp-and-mount-a-partiton-769131/)

Nindoksei 11-14-2009 12:03 PM

HELP:Unable to boot XP and mount a partiton
 
FC11
160GB HD
Partitions are as follows :
PQService: (hidden partitiion)
C:
D:
FC11

Last night while updating the system I quit in between(the system seemed stalled).Today I discover am able to boot to XP but booting to FC11 ends the trail to black screen with a cursor. On IRC they tell me to reinstall
grub and I do..

Code:

grub-install --recheck/dev/...
After /dev/(the code I mean) i had given a series of entries like sda2 which gave me some error then I wrote sda..but all these yielded errors.Then after a reboot the OS'es list disappeared.

Later I managed to install the grub,compile kernel and install nvidia drivers but am able to boot to fedora but not to windows .In fedora i'm able to see only D: and PQservice()hidden partition but C: is missing.

How should I fix this ?
Is C: alright?

mostlyharmless 11-14-2009 01:08 PM

You might list the output of fdisk -l and your /grub/menu.lst. Probably you just need to re-add XP's partition to your menu.

Nindoksei 11-17-2009 01:36 AM

Code:

fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 1 764 6136798+ 12 Compaq diagnostics
/dev/sda2 * 765 10079 74822737+ 7 HPFS/NTFS
/dev/sda3 10080 13904 30724312+ 7 HPFS/NTFS
/dev/sda4 13905 19457 44604472+ f W95 Ext'd (LBA)
/dev/sda5 * 13905 17091 25599546 83 Linux
/dev/sda6 17092 17473 3068383+ 82 Linux swap / Solaris
/dev/sda7 17474 19457 15936448+ 83 Linux

Code:

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 25G 7.0G 16G 31% /
/dev/sda7 15G 8.7G 5.6G 62% /home
tmpfs 747M 608K 746M 1% /dev/shm
/dev/sda3 30G 30G 54M 100% /media/ACERDATA
/dev/sda1 5.9G 4.2G 1.7G 72% /media/PQSERVICE

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,4)
# kernel /boot/vmlinuz-version ro root=/dev/sdb5
# initrd /boot/initrd-version.img
#boot=/dev/sdb
default=1
timeout=5
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.30.9-96.fc11.i586)
root (hd0,4)
kernel /boot/vmlinuz-2.6.30.9-96.fc11.i586 ro root=UUID=84830262-453e-4e75-8634-02e208827158 rhgb quiet
initrd /boot/initrd-2.6.30.9-96.fc11.i586.img
title Fedora (2.6.30.9-96.fc11.i686.PAE)
root (hd0,4)
kernel /boot/vmlinuz-2.6.30.9-96.fc11.i686.PAE ro root=UUID=84830262-453e-4e75-8634-02e208827158 rhgb quiet
initrd /boot/initrd-2.6.30.9-96.fc11.i686.PAE.img
title Fedora (2.6.30.8-64.fc11.i586)
root (hd0,4)
kernel /boot/vmlinuz-2.6.30.8-64.fc11.i586 ro root=UUID=84830262-453e-4e75-8634-02e208827158 rhgb quiet
initrd /boot/initrd-2.6.30.8-64.fc11.i586.img
title Fedora (2.6.30.8-64.fc11.i686.PAE)
root (hd0,4)
kernel /boot/vmlinuz-2.6.30.8-64.fc11.i686.PAE ro root=UUID=84830262-453e-4e75-8634-02e208827158 rhgb quiet
initrd /boot/initrd-2.6.30.8-64.fc11.i686.PAE.img
title Fedora (2.6.30.5-43.fc11.i686.PAE)
root (hd0,4)
kernel /boot/vmlinuz-2.6.30.5-43.fc11.i686.PAE ro root=UUID=84830262-453e-4e75-8634-02e208827158 rhgb quiet
initrd /boot/initrd-2.6.30.5-43.fc11.i686.PAE.img
title W1ND0W5
rootnoverify (hd0,1)
makeactive
chainloader +1

Merci

mostlyharmless 11-18-2009 09:26 AM

If you comment out hiddenmenu in menu.lst by adding a #, so that it reads

#hiddenmenu

then the last entry should be "W1NDOWS" which you should be able to select at boot time under grub. Let us know what happens when you select that boot option and try to boot....

You don't see C: in fedora presumably because you don't have /dev/sda2 mounted under anything.

mount -t ntfs-3g /dev/sda2 /media/somemountpoint

should work if you want to access the drive under Fedora.


All times are GMT -5. The time now is 11:51 PM.