LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Unable to access windows partition (https://www.linuxquestions.org/questions/linux-software-2/unable-to-access-windows-partition-625848/)

Roosta21 03-05-2008 04:57 AM

Unable to access windows partition
 
Hi I have just installed fedora core7 on my system, first time.. But i can access my window partition

On the boot option i chose "use free space on selected drives and create default layout"

I have two hards drive, one completely empty and one with the windows and files on..

After installing ferdora core i can not find my windows partition..

Here is what my fstab file looks like:

dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
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
/dev/VolGroup00/LogVol01 swap swap defaults 0 0


if type df -h

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
146G 3.5G 135G 3% /
/dev/sdb1 99M 12M 82M 13% /boot
tmpfs 759M 0 759M 0% /dev/shm


I have two 146GB hardives. So i think (hope) the windows partition is still there some where..

Can anyone help?

jschiwal 03-05-2008 05:09 AM

Look at "sudo /sbin/fdisk -l". You fstab doesn't indicate which device is being used because "LABEL=" is used instead of a device node. The only indication is /dev/sdb1 used for boot which indicates that the second drive was used to install linux. You may only need to add and entry in /boot/grub/menu.lst to boot windows.

My windows entry looks like this:
Code:

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
    rootnoverify (hd0,5)
    chainloader (hd0,0)+1

Your rootnoverify will be different. Use the "root (hdN,N)" value from the Linux section. The chainloader line is for when windows is on the first partition of the first disk drive.

Roosta21 03-07-2008 02:53 AM

Magic thank you that worked a treat, I was starting to get worried that the linux install had deleted it.... Still have not quite worked out yet hoe to configure grub.. I tried using settings similar to yours but it didn't work..

sudo /sbin/fdisk -l gives

Code:

Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1      19451  156240126    7  HPFS/NTFS

Disk /dev/sdb: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1  *          1          13      104391  83  Linux
/dev/sdb2              14      19929  159975270  8e  Linux LVM

Disk /dev/dm-0: 161.6 GB, 161698807808 bytes
255 heads, 63 sectors/track, 19658 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 2080 MB, 2080374784 bytes
255 heads, 63 sectors/track, 252 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/sdc: 4110 MB, 4110417920 bytes
16 heads, 32 sectors/track, 15680 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/sdc1              1      15680    4014064    c  W95 FAT32 (LBA)

Disk /dev/sdd: 2 MB, 2097152 bytes
2 heads, 32 sectors/track, 64 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/sdd1              1          64        2032    1  FAT12



All times are GMT -5. The time now is 02:43 PM.