LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-15-2005, 12:09 AM   #1
bme guy
Member
 
Registered: Feb 2005
Location: Iowa City
Distribution: SuSE 9.2
Posts: 30

Rep: Reputation: 15
Wndows drive on Linux


i am running Suse 9.2
i just updated to KDE 3.4 level b. I have two hard disks, one Linux and the other is windows on a dual boot. Before i update my KDE, i used to see my windows hard disk as "/windows/C". After i updated, i can't see it anymore, i can load windows without any problem, and windows can see the linux drive but can't read it "i understand this" but i could read my windows before i update from KDE 3.3 to KDE 3.4

I am assuming that i might need to install one packege to read the NT drive from Yast. if this is true, what is the packege name ??

help please!

Thanks alot.
 
Old 04-15-2005, 12:15 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
You should have something like this in your /etc/fstab

/dev/hda(whichever drive it is) /windows/C vfat(or ntfs) noatime,user
 
Old 04-15-2005, 12:27 AM   #3
bme guy
Member
 
Registered: Feb 2005
Location: Iowa City
Distribution: SuSE 9.2
Posts: 30

Original Poster
Rep: Reputation: 15
I have none of this !!!

i used to have /windows/c before i updated !!
 
Old 04-15-2005, 12:29 AM   #4
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Solus
Posts: 2,254

Rep: Reputation: 47
All you have to do is edit your fstab to include the drive partition for windows.
 
Old 04-15-2005, 12:32 AM   #5
bme guy
Member
 
Registered: Feb 2005
Location: Iowa City
Distribution: SuSE 9.2
Posts: 30

Original Poster
Rep: Reputation: 15
I don't know how to do that!
is there an easy way to describe how to do that! or a link to were they explain it ??
 
Old 04-15-2005, 12:36 AM   #6
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
We know you have none of this, that's why we told you to put:

/dev/hda(whichever drive it is) /windows/C vfat(or ntfs) noatime,user


In your /etc/fstab file.

hda is IDE0/primary
hdb is IDE0/secondary
hdc is IDE1/primary
hdd is IDE1/secondary

Just put the entry in.
 
Old 04-15-2005, 05:45 AM   #7
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Thoreau,
love your location!

don't forget the 0 0 at the end of that line (don't want to be checking that filesystem...)
 
Old 04-15-2005, 07:17 PM   #8
bme guy
Member
 
Registered: Feb 2005
Location: Iowa City
Distribution: SuSE 9.2
Posts: 30

Original Poster
Rep: Reputation: 15
So this is how my /etc/fstab looks like :

/dev/hdb2 / reiserfs acl,user_xattr 1 1
/dev/hdb1 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/cdrecorder /media/cdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/dvdrecorder /media/dvdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/hda /windows/C ntfs noatime,user 0 0


now, i can see Windows (/dec/hda) under Devices menu but this is what i get when i click on it:

An error occurred while loading drives:/hda.desktop:
The file or folder /windows/C does not exist.


!!!
 
Old 04-15-2005, 08:52 PM   #9
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
mkdir /windows/C would probably be a help.
 
Old 04-15-2005, 11:13 PM   #10
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Solus
Posts: 2,254

Rep: Reputation: 47
You need to create a mount point. /mnt/windows/C
 
Old 04-16-2005, 06:41 AM   #11
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Quote:
/dev/hda /windows/C ntfs noatime,user 0 0
/windows/C/ is right for this fstab. If you want to be "correct" the changing the fstab entry to read /mnt/windows/C/ and creating /mnt/windows/C/ would be the way to go. It's your hard drive. Do whichever you want.
 
Old 04-16-2005, 02:35 PM   #12
bme guy
Member
 
Registered: Feb 2005
Location: Iowa City
Distribution: SuSE 9.2
Posts: 30

Original Poster
Rep: Reputation: 15
First of all, thank you very much for trying to help. i am very very new to this. So, sorry if i look really stupid!
so this is how it looks like now:

/dev/hdb2 / reiserfs acl,user_xattr 1 1
/dev/hdb1 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/cdrecorder /media/cdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/dvdrecorder /media/dvdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/hda /mnt/windows/C/ ntfs noatime,user 0 0


but i don't see anything under the "devices" menu
 
Old 04-16-2005, 08:40 PM   #13
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Do you have the directory /mnt/windows/C created? You'll have to do it as root (the admin user) of course.
 
Old 04-16-2005, 10:37 PM   #14
bme guy
Member
 
Registered: Feb 2005
Location: Iowa City
Distribution: SuSE 9.2
Posts: 30

Original Poster
Rep: Reputation: 15
/mnt was there, but windows/C wasn't.
so i created:

/mnt/windows/C and it's emty
 
Old 04-16-2005, 10:44 PM   #15
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
If you haven't rebooted, then you've not mounted it. Try, as root,
Code:
mount /mnt/windows/C
and see if it'll show for you. It should with the fstab.
 
  


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
Installing RH9 to dual boot with wndows 98 pilot258 Linux - Newbie 2 03-19-2005 04:40 PM
Wndows Palladium Kensai General 12 02-14-2004 02:38 AM
Mounting a wndows partition with fstab fedetxf Linux - General 2 12-29-2003 07:04 AM
Linux and Wndows 2000 Server kai_rana Red Hat 4 09-02-2003 01:01 AM
SAMBA and wndows problem hugosoto Linux - Networking 1 07-08-2002 08:54 AM


All times are GMT -5. The time now is 07:11 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration