| Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-06-2004, 07:38 PM
|
#1
|
|
LQ Newbie
Registered: Mar 2004
Posts: 22
Rep:
|
hard drive not showing
ok i have 2 harddrives, xp on master linux on slave. when i goto kdiskfree its not showing my first harddrive. what i did was reinstall xp, before that it was showing it and everything was working fine. how do i get it to come back up?
|
|
|
|
03-06-2004, 08:11 PM
|
#2
|
|
Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
did you change the filesystem (fat32/ntfs) when you re-installed xp???
what's the output of these 3 commands:
mount
fdisk -l
cat /etc/fstab
|
|
|
|
03-07-2004, 12:01 PM
|
#4
|
|
Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
okay, try this (as root):
make a directory to mount windows to if you don't already have one:
mkdir /mnt/windisk
see if you can then mount the ntfs partition to it:
mount -t ntfs /dev/hda1 /mnt/windisk
if yes, then add something like this to your /etc/fstab file and re-boot:
/dev/hda1 /mnt/windisk ntfs defaults 0 0
i'm assuming that because it worked for you before, you have ntfs support in your kernel...
by the way, it's better to _copy_and_paste_ command output _text_ right here into the thread instead of taking a screenshot...
|
|
|
|
03-07-2004, 02:17 PM
|
#5
|
|
LQ Newbie
Registered: Mar 2004
Posts: 22
Original Poster
Rep:
|
hey thx for the help, i did the first 2 steps you asked me to do, and the third...i don't know if its me but i don't see the /etc/fstab ...and how do i add /dev/hda1 /mnt/windisk ntfs defaults 0 0???
|
|
|
|
03-07-2004, 02:29 PM
|
#6
|
|
Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
so you were able to mount the disk??? did it show-up on your kdiskfree after step 2???
the step about /etc/fstab is so the disk will be mounted automatically at startup...
that file contains the info about what to mount and how...
you need to open (as root) the file with a text editor so you can add the line to it...
but the idea is to only edit the /etc/fstab when you are sure you successfully mounted the windows disk...
|
|
|
|
03-07-2004, 02:47 PM
|
#7
|
|
LQ Newbie
Registered: Mar 2004
Posts: 22
Original Poster
Rep:
|
ok yes it did show up in kdiskfree...but its saying i don't have access rights to enter it...fstab keeps saying i don't have permisson to open it even though i'm in root...
Last edited by h0p3sf411; 03-07-2004 at 03:00 PM.
|
|
|
|
03-07-2004, 03:19 PM
|
#8
|
|
Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
by "i'm in root" i take it you mean you are user "root", right???
okay, how are you trying to open/edit the file???
the easiest way to edit it is with "vi":
vi /etc/fstab
but vi is tricky at first...
you could probably echo the line to /etc/fstab (but really, you _do_ need to get through this editor problem cuz editing text files is something fundamental in linux):
echo "/dev/hda1 /mnt/windisk ntfs defaults 0 0" >> /etc/fstab
that would append the line to /etc/fstab... and then you wouldn't have to do the whole "mount" thing every time you boot...
|
|
|
|
03-07-2004, 04:02 PM
|
#9
|
|
LQ Newbie
Registered: Mar 2004
Posts: 22
Original Poster
Rep:
|
ok i figured it out how to do it with kwrite...and i was wondering if there was any way to open the harddrive in kdiskfree without having to be in root?
and also i can't move anything into the first harddrive it keeps saying could not make directory, or could not write file....
Last edited by h0p3sf411; 03-07-2004 at 04:08 PM.
|
|
|
|
03-07-2004, 06:29 PM
|
#10
|
|
Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
Quote:
Originally posted by h0p3sf411
i was wondering if there was any way to open the harddrive in kdiskfree without having to be in root?
|
i'm not exactly sure what you mean... you don't have to be root to open kdiskfree... kdiskfree is basically a graphical monitoring tool, you don't really use it to "open the harddrive"...
once you have your /etc/fstab correctly configured, you can access the drive using your regular applications and file managers without having to be root...
Quote:
Originally posted by h0p3sf411
and also i can't move anything into the first harddrive it keeps saying could not make directory, or could not write file....
|
well, i'm guessing ntfs partitions are mounted read-only by default as write support for ntfs is very dangerous... you'd be risking your ntfs partition by writing to it from linux...
if you really want to be able to read and write to your windows partition safely, then install windows using fat32 instead of ntfs... fat32 support in linux is great...
http://linux-ntfs.sourceforge.net/info/ntfs.html#3.0
|
|
|
|
03-07-2004, 08:03 PM
|
#11
|
|
LQ Newbie
Registered: Mar 2004
Posts: 22
Original Poster
Rep:
|
well before i reinstalled i moved all my stuff that i wanted to keep onto the linux...so i guess its not good to move them back?
and what i meant was when i open kdiskfree and try to open the hd it says i don't have access or permission...so i have to goto konsole and open kdiskfree from root then i'm allowed to enter it.
|
|
|
|
03-07-2004, 08:17 PM
|
#12
|
|
Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
i'd say no, don't move it back into the ntfs like that, it could get very ugly...
just re-install windows (if possible/viable) using fat32 and then you can copy all your stuff to it and you'll be able to work safely with your windows partition without any problems...
what exactly is it that you are using kdiskfree for???
i'm not familiar with kdiskfree as i've never really used it for anything (besides seeing how much disk space is free in a graphical manner) and i don't quite understand yet what it is you are using it for...
if you are using it to make changes to the disk setups and partitions or mounts and stuff (if that's what it does, i don't know) then you would have to be root to do those things as no regular user is allowed that kinda power by default in linux...
|
|
|
|
03-10-2004, 01:24 AM
|
#13
|
|
LQ Newbie
Registered: Mar 2004
Posts: 22
Original Poster
Rep:
|
i just use kdiskfree to get into the harddrive heh, quicker i guess...
ok so, say i got a p2p file sharing program, and they were downloading from me, would it screw things up for them if they were using ntfs?
|
|
|
|
03-15-2004, 02:23 PM
|
#14
|
|
LQ Newbie
Registered: Mar 2004
Posts: 22
Original Poster
Rep:
|
can anyone tackle that question? or this one? say i burn files to a cd and then copy it to ntfs, would that work?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:50 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|