LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How can i locate the windows disk (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-locate-the-windows-disk-643215/)

Yu Gi Oh 05-19-2008 06:45 AM

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

i92guboj 05-19-2008 07:01 AM

Quote:

Originally Posted by Yu Gi Oh (Post 3157790)
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?

Yu Gi Oh 05-19-2008 07:46 AM

Quote:

Originally Posted by i92guboj (Post 3157797)
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

i92guboj 05-19-2008 07:56 AM

Quote:

Originally Posted by Yu Gi Oh (Post 3157837)
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.

Yu Gi Oh 05-19-2008 09:04 AM

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]#

jiml8 05-19-2008 09:07 AM

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.

Yu Gi Oh 05-19-2008 09:31 AM

Quote:

Originally Posted by jiml8 (Post 3157918)
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

jiml8 05-19-2008 05:52 PM

"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.

salasi 05-20-2008 05:43 AM

Quote:

Originally Posted by Yu Gi Oh (Post 3157790)
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.

Yu Gi Oh 05-21-2008 09:24 AM

Quote:

Originally Posted by salasi (Post 3158929)
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

i92guboj 05-22-2008 03:39 AM

Quote:

Originally Posted by Yu Gi Oh (Post 3160349)
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.

harsshal 05-22-2008 03:41 AM

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.


All times are GMT -5. The time now is 11:01 PM.