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 08-29-2003, 03:25 AM   #1
pyr0ph0r1c
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Rep: Reputation: 0
Question Accessing files on another partition


I just downloaded Red Hat Linux 9.0 with every packet and im trying to browse files on my other partitions. Is this possible to do inside of red hat?


The reason i need to do this is because somehow hal.dll in the system32 folder of my windows xp install got deleted, so i need to put a new one in, or at least take it from my OTHER windows xp installation. Thanx in advance for any and all of ur help.
 
Old 08-29-2003, 03:36 AM   #2
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
take a look at this thread:

http://www.linuxquestions.org/questi...threadid=86491

that should solve your problems. when in doubt, search here and www.google.com/linux - between the two you're likely to find a solution

good luck
 
Old 08-29-2003, 03:41 AM   #3
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
yes,you can access the other partitions once you have mounted them.
to mount your partitions,
1.find out the device drives of the partitions you want to mount using 'fdisk -l'('l' is a small L)
2.make a directory in /mnt folder using mkdir.example, 'mkdir /mnt/windows'
3.mount the partition like
mount -t vfat /dev/[device drive of the partition to be mounted,eg,hda1] /mnt/windows.
--------------
vfat is what linux calls fat32 file systems etc.
--------------------
 
Old 08-29-2003, 03:44 AM   #4
pyr0ph0r1c
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
[pyr0ph0r1c@localhost pyr0ph0r1c]$ su
Password:
[root@localhost pyr0ph0r1c]# su
[root@localhost pyr0ph0r1c]# su
[root@localhost pyr0ph0r1c]# mkdir /rnnt/winxp
mkdir: cannot create directory `/rnnt/winxp': No such file or directory
[root@localhost pyr0ph0r1c]# mkdir /root/winxp
[root@localhost pyr0ph0r1c]# mount -t vfat /dev/hdb1 /root/winxp
mount: /dev/hdb1 is not a valid block device
[root@localhost pyr0ph0r1c]# mount -t vfat /dev/hda1 /root/winxp
mount: /dev/hda1: unknown device
[root@localhost pyr0ph0r1c]# mount -t vfat /dev/hda3 /root/winxp
mount: /dev/hda3: unknown device
[root@localhost pyr0ph0r1c]# fdisk -l
bash: fdisk: command not found
[root@localhost pyr0ph0r1c]# mkdir /rnnt/windows
mkdir: cannot create directory `/rnnt/windows': No such file or directory
[root@localhost pyr0ph0r1c]#
[root@localhost pyr0ph0r1c]#

i tried all of that, and thats what i got back... what did i do wrong??? (sorry im such a n00b, first couple hours ever using linux :-p)
 
Old 08-29-2003, 03:49 AM   #5
pyr0ph0r1c
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
o, oops, i know its MNT not RNNT, i tried doing the same thing over again but using mnt instead of rnnt and it did nothing different
 
Old 08-29-2003, 03:51 AM   #6
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
try this,
cat /proc/partitions
this will show all your partitions.then proceed as above.
 
Old 08-29-2003, 03:56 AM   #7
pyr0ph0r1c
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
[root@localhost pyr0ph0r1c]# mount -t vfat /dev/hdc1 /mnt/windows
mount: wrong fs type, bad option, bad superblock on /dev/hdc1,
or too many mounted file systems
 
Old 08-29-2003, 04:01 AM   #8
pyr0ph0r1c
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
i think somehow it got mounted on "/"...:

[root@localhost pyr0ph0r1c]# mount
/dev/hdc3 on / type ext3 (rw)
(etc.)

mEH?????? do i need to unmount it or something crazy like that?
 
Old 08-29-2003, 04:01 AM   #9
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
are you sure its fat32 not ntfs which is the default in winxp? try "hwbrowser", it provides a graphical view of the disk partition infos, double check the partition type for /dev/hdc1
 
Old 08-29-2003, 04:04 AM   #10
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
It just means that your root is mounted on /dev/hdc3
if u sucessfully mounted the windows drive the the output should have something like:
/dev/hdc1 on /root/winxp type vfat (rw)
 
Old 08-29-2003, 04:08 AM   #11
pyr0ph0r1c
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
its ntfs, sorry for not making that clear earlier, aight, so what do i do know that i know its ntfs?
 
Old 08-29-2003, 04:13 AM   #12
pyr0ph0r1c
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
i tried

mount -t ntfs /dev/hdc3 /mnt/windows

but got this

mount: fs type ntfs not supported by kernel
 
Old 08-29-2003, 04:13 AM   #13
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
you cant mount ntfs that easily.
download and install the rpm for ntfs support.
http://linux-ntfs.sourceforge.net/info/redhat.html
 
Old 08-29-2003, 04:30 AM   #14
pyr0ph0r1c
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
damnit, aight, i screwed up, i downloaded the wrong ntfs version and installed. i then went back and tried to install the versoin i needed and it told me i already had the updated version... how do i uninstall the old version or just overwrite it with the new one???
 
Old 08-29-2003, 04:34 AM   #15
pyr0ph0r1c
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
[root@localhost pyr0ph0r1c]# rpm -ihv /home/pyr0ph0r1c/kernel-ntfs-2.4.20-8smp.athlon.rpm
Preparing... ########################################### [100%]
package kernel-ntfs-2.4.20-20.9 (which is newer than kernel-ntfs-2.4.20-8) is already installed




DOH!!!
 
  


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
accessing files on another partition Cinematography Linux - General 4 05-13-2005 05:28 AM
Accessing files on the Windows Partition from Linux sci0x Linux - Software 6 03-21-2004 03:34 PM
Accessing files on my Windows partition darktalon96 Linux - Newbie 4 01-09-2004 11:23 AM
accessing windows partition from linux partition dave bean Linux - Newbie 19 10-15-2003 05:39 AM
Accessing Pdf files in dos partition dark_light Linux - General 3 09-14-2002 04:02 AM


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