LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-19-2008, 06:45 AM   #1
Yu Gi Oh
LQ Newbie
 
Registered: May 2008
Posts: 8

Rep: Reputation: 0
How can i locate the windows disk


I have just installed RedHat on my desktop alongside windows. please how can i locate the windows drive in Redhat or better still locate information on my memory stick
 
Old 05-19-2008, 07:01 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,069

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
Quote:
Originally Posted by Yu Gi Oh View Post
I have just installed RedHat on my desktop alongside windows. please how can i locate the windows drive in Redhat or better still locate information on my memory stick
Not sure how do you think that those two are related.

Your ram sticks has nothing to do with your windows drive.

To find which partition holds your windows data you can usually use this command as root:

Code:
fdisk -l
The windows partition will be listed as an ntfs or w95/fat partition usually.

About your ram sticks, what is the info that you do exactly need about them?
 
Old 05-19-2008, 07:46 AM   #3
Yu Gi Oh
LQ Newbie
 
Registered: May 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by i92guboj View Post
Not sure how do you think that those two are related.

Your ram sticks has nothing to do with your windows drive.

To find which partition holds your windows data you can usually use this command as root:

Code:
fdisk -l
The windows partition will be listed as an ntfs or w95/fat partition usually.

About your ram sticks, what is the info that you do exactly need about them?
i had some pdf documents i needed to access and copy
your help is really much appreciated
 
Old 05-19-2008, 07:56 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,069

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
Quote:
Originally Posted by Yu Gi Oh View Post
i had some pdf documents i needed to access and copy
your help is really much appreciated
Well, to do so your ram sticks are out of the picture. They are an entirely unrelated thing.

I don't know if red hat provides some kind of default graphical interface or if it automounts the windows volumes at all (I don't think so). So, I will explain you the generic way, which should work on any linux.

First, you do the step I told you above: you open a terminal, login as root and do "fdisk -l". Look at the line which is of type w95/win/fat/ntfs or whatever it's your concrete case.

Note down on a piece of paper the name of it's device node, which is the first part, for example, this is for my usb pen drive:

Code:
/dev/sdd1               1        7872     2015216    6  FAT16
Type fat16 in this case, the device node would be "/dev/sdd1". This will likely be different in your case.

Now you do this:

Code:
cd /mnt
mkdir windows
mount /dev/sdd1 windows ## Change /dev/sdd1 by whatever is the correct device node for you
From now on, you can access your windows drive under /mnt/windows and copy any thing from there. If it's FAT, you can also write to that partition. If it's ntfs you will need additional setup, probably, if you want to write on that partition, but you should be able to read from it without problems.

If you want to make this permanent, you will need to edit your /etc/fstab file and add a line for this partition. Ask if you need help with that or anything else. And don't hesitate to ask if you need any additional help with any step or you did not understand anything.

Cheers.

Last edited by i92guboj; 05-19-2008 at 07:58 AM.
 
Old 05-19-2008, 09:04 AM   #5
Yu Gi Oh
LQ Newbie
 
Registered: May 2008
Posts: 8

Original Poster
Rep: Reputation: 0
dear i92guboj,
i tried the steps of finding my windows system but this is the message i got

[brian@localhost brian]$ su root
Password:
[root@localhost brian]# fdisk -l
bash: fdisk: command not found
[root@localhost brian]#
 
Old 05-19-2008, 09:07 AM   #6
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
probably your root path is not set up to include the directory that has fdisk in it. You probably will find it in /sbin and Fedora does not put /sbin in the path for some reason.

So type the command as /sbin/fdisk -l and you should get it.
 
Old 05-19-2008, 09:31 AM   #7
Yu Gi Oh
LQ Newbie
 
Registered: May 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by jiml8 View Post
probably your root path is not set up to include the directory that has fdisk in it. You probably will find it in /sbin and Fedora does not put /sbin in the path for some reason.

So type the command as /sbin/fdisk -l and you should get it.
jim u r the man; i thank u and i92 for your help yours did the trick and i can xpress how happy i am

well i can see u are a senior member too and u give me the reason to say that no doubt i am in the best forum
thanks a lot bruv
 
Old 05-19-2008, 05:52 PM   #8
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
"senior member" means nothing other than I have made a certain number of posts on this site. If you hang around the site you will eventually learn who you should listen to on what subject.
 
Old 05-20-2008, 05:43 AM   #9
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,061

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Quote:
Originally Posted by Yu Gi Oh View Post
I have just installed RedHat on my desktop alongside windows. please how can i locate the windows drive in Redhat or better still locate information on my memory stick
Quote:
Your ram sticks has nothing to do with your windows drive.
Well, the OP didn't exactly say 'RAM stick'. He might have meant a USB memory stick (thumb drive) in which case, depending on distro, version, etc, etc, he might find both mounted under /media.

Of course if he did mean the stick(s) of DDR x installed inside his computer, then he is not going to find useful information from windows there.
 
Old 05-21-2008, 09:24 AM   #10
Yu Gi Oh
LQ Newbie
 
Registered: May 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by salasi View Post
Well, the OP didn't exactly say 'RAM stick'. He might have meant a USB memory stick (thumb drive) in which case, depending on distro, version, etc, etc, he might find both mounted under /media.

Of course if he did mean the stick(s) of DDR x installed inside his computer, then he is not going to find useful information from windows there.
you are right Salasi i mean my usb drive please explain how i can do the access and please include the command i can use to open the drive i found fdisk -l in the /sbin but i don't know what command to use to open it.
is your name selasi or salasi
 
Old 05-22-2008, 03:39 AM   #11
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,069

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
Quote:
Originally Posted by Yu Gi Oh View Post
you are right Salasi i mean my usb drive please explain how i can do the access and please include the command i can use to open the drive i found fdisk -l in the /sbin but i don't know what command to use to open it.
is your name selasi or salasi
I told you in my second post:

Code:
cd /mnt
mkdir windows
mount /dev/sdd1 windows ## Change /dev/sdd1 by whatever is the correct device node for you
Once you do that you can navigate your windows drive under /mnt/windows on command line or in any graphical browser of your choice.

Last edited by i92guboj; 05-22-2008 at 03:40 AM.
 
Old 05-22-2008, 03:41 AM   #12
harsshal
Member
 
Registered: Jul 2006
Location: New York, NY
Distribution: redhat,ubuntu,RHEL,fedora,centOS
Posts: 105

Rep: Reputation: 15
what kind of filesystem is on the USB?
if FAT then most of the linux wont have problem in mounting it.

mount -t vfat /dev/sda /mnt/mount_point

if ntfs then check mount with -a option.

if it doesn't work then install ntfs-3g rpm and then mount your USB with mount command.
 
  


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
Windows cannot locate the server copy of your roaming profile and is attempting to lo melvinong Linux - Server 20 06-07-2007 04:20 AM
cpan> locate -u Unknown shell command 'locate -u'. Type ? for help. sharad2005 Linux From Scratch 1 08-04-2006 12:40 AM
unable to locate my installation disk Pacux Linux - Hardware 0 12-07-2005 06:00 AM
updating locate database only when disk activity low beetlenaut Linux - Software 1 11-23-2004 06:26 PM
Windows machines cannot locate server by hostname Nexgen Linux - Networking 13 08-03-2004 09:45 PM


All times are GMT -5. The time now is 02:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration