LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Accessing my 160 GB hd (https://www.linuxquestions.org/questions/linux-newbie-8/accessing-my-160-gb-hd-117609/)

thefetus 11-18-2003 08:30 PM

Accessing my 160 GB hd
 
Ok, the hard drive with Windows on it, i reformated and then installed Redhat. The other hard drive i have on my computer, i can't find or access. I have not formatted or done anything to it. It had no Windows system files. Just docs, mp3s , and some Windows executables.

How do I go about gaining access to it?

First day using linux (Windows XP completely crashed on me this morning.....pos)

MasterC 11-18-2003 08:39 PM

Welcome to LQ :)

It really depends on which filesystem was on the HD. You might have some luck using fdisk to reveal this:
/sbin/fdisk -l (/SBIN/FDISK -L lowercase)

If it's NTFS, do a search on the forums or on google.com/linux for info on setting up NTFS support for your distro, and then mount the device with something like:
mount -t ntfs /dev/hdb1 /mnt/ntfs

However, you really will need to read up on mounting, otherwise, this will all look really wierd to you ;) Also, if you post up the results of the above command (fdisk -l ) then someone can probably walk you through it a bit better.

Last thing, where I typed "/sbin/fdisk -l" that means you have to type that into a terminal, that's the dos looking screen thing, and normally, should be done as root, but be very careful (as always) when using root.

Cool

thefetus 11-18-2003 09:13 PM

i can't seem to find any info about NTFS drivers...i was told i need that to access the hard drive. im so lost :(

also, i dwlded Wine so I can have a Windows Emulator, I installed it, but i cant figure out how to get it to run, lol!

MasterC 11-18-2003 09:20 PM

Post up the results of:
/sbin/fdisk -l

Cool

thefetus 11-18-2003 09:23 PM

Cannot open /dev/hda
Cannot open /dev/hdb

MasterC 11-18-2003 09:36 PM

Ok, now do it after you login as root ;)

su -

Then type the root password, and then:
/sbin/fdisk -l

And, here's the link:
http://linux-ntfs.sourceforge.net/rpm/index.html

Cool

thefetus 11-18-2003 09:38 PM

Disk /dev/hda: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 4736 37937497+ 83 Linux
/dev/hda3 4737 4866 1044225 82 Linux swap
Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 19457 156288321 7 HPFS/NTFS

thefetus 11-18-2003 09:40 PM

sorry for being a total nub.....but regarding your link....which one do i download??

Specs:
using redhat 9
pentium 4 2.0 ghz processor
512 mb ram

MasterC 11-18-2003 09:44 PM

No worries, we were all total n00bs once too ;) And the best advice I can give, both regarding this issue and future, read. You'll have to check the site, it will direct you to where you need to go, simply click on what applies. You didn't mention which release of RedHat you have, so I can't give you a direct link, however, look to the left of the page, there are references for several releases. ;)

Good Luck!

Cool

thefetus 11-19-2003 08:56 AM

I have Redhat 9

thefetus 11-19-2003 09:21 AM

NTFS RPMs (*.rpm)
Version Single Processor Multi Processor Specialist
2.4.20-20.9 i386 i586 i686 athlon i386-smp i586-smp i686-smp athlon-smp i386-BOOT i686-bigmem
2.4.20-19.9 i386 i586 i686 athlon i386-smp i586-smp i686-smp athlon-smp i386-BOOT i686-bigmem
2.4.20-18.9 i386 i586 i686 athlon i386-smp i586-smp i686-smp athlon-smp i386-BOOT i686-bigmem
2.4.20-13.9 i386 i586 i686 athlon i386-smp i586-smp i686-smp athlon-smp i386-BOOT i686-bigmem
2.4.20-9 i386 i586 i686 athlon i386-smp i586-smp i686-smp athlon-smp i386-BOOT i686-bigmem
2.4.20-8 i386 i586 i686 athlon i386-smp i586-smp i686-smp athlon-smp i386-BOOT i686-bigmem
2.4.20-6 i386 i586 i686 athlon i386-smp i586-smp i686-smp athlon-smp i386-BOOT i686-bigmem
(taken from http://linux-ntfs.sourceforge.net/rpm/redhat9.html)


how do i determine which of those will work on my computer?

i read and understand how to determine which version....but which single processor link?

........nevermind i think i understand now...i'll try when i get back to my computer.

thefetus 11-19-2003 11:13 AM

So...yea...I installed it and still am unsure how to access the other hard drive. I read up on some stuff, including mounting, but am still confused on what to do.

Any help would be very much appreciated :D

thefetus 11-19-2003 11:16 AM

when i do

fdisk -l

it tells me "bash: command not found" when the website im looking at is telling me to run that command. So lost, lol

(http://linux-ntfs.sourceforge.net/rp...ons.html#mount)


All times are GMT -5. The time now is 05:26 PM.