LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-05-2008, 04:57 AM   #1
Roosta21
Member
 
Registered: Aug 2004
Distribution: Fedora core 4
Posts: 55

Rep: Reputation: 15
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?
 
Old 03-05-2008, 05:09 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.
 
Old 03-07-2008, 02:53 AM   #3
Roosta21
Member
 
Registered: Aug 2004
Distribution: Fedora core 4
Posts: 55

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to access Windows Drives!! crash_override_me Linux - General 14 03-24-2007 04:39 AM
Unable to access linux partition from windows. Help. pbajaj General 6 08-31-2006 03:40 PM
Unable to access windows partition in Ubuntu justin.freund Linux - Software 3 11-17-2005 09:53 AM
How can I access files in my Windows 98 partition from my Linux partition, /w BASH? Fabyfakid Linux - Newbie 4 09-17-2004 11:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration