Notices

Overclockers Forums > Software > Alternative Operating Systems
Alternative Operating Systems Linux, Mac, Unix Operating Systems and Applications
Forum Jump

Yaaaaaaaaay! Im Linux Now And Aint Goin Back

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 09-03-03, 09:27 PM Thread Starter   #1
OLMI
Member

 
OLMI's Avatar 

Join Date: Jul 2002
Location: San Diego, CA

 
Yaaaaaaaaay! Im Linux Now And Aint Goin Back


ok.. well i guess i might go back.. but only to play counter-strike if i miss it too much (swap hard drives for a bit to play). well anyways.. i'll get to my question.

how do i see my files on my drive i have.. my.. files on? i have it on my serial ata controller. i THINK linux installed them automatically or something... because it sees my 160 gig i have on there.. but i can't find my mp3s or anything else on that drive anywhere. is it because it's ntfs? i dont know what file system linux uses heh.
OLMI is offline   QUOTE Thanks
Old 09-03-03, 09:45 PM   #2
fiji
Member

 
fiji's Avatar 

Join Date: Jul 2002
Location: berlin

 
so erm what kind of setup do you have? hardisk setup i mean


linux has NTFS read, but not write support(at least its experimental write support)

you just have to mount the partition /drive
to access the files



so for example say my windows partition is the 4th partition on my primary hdd

i would do

mount /dev/hda4 /location/to/mount

__________________
---AthlonIIx4 4GBDDR3 NV9800GT---

running Win7x64
fiji is offline   QUOTE Thanks
Old 09-03-03, 09:52 PM Thread Starter   #3
OLMI
Member

 
OLMI's Avatar 

Join Date: Jul 2002
Location: San Diego, CA

 
hmm.. ok i see.. what do i put for "/location/to/mount"? what does that mean?
OLMI is offline   QUOTE Thanks
Old 09-03-03, 09:55 PM   #4
Illah
Member

 
Illah's Avatar 

Join Date: Mar 2002
Location: San Francisco

 
It means whatever you want, the location to mount.

/myharddrive/

Then you can

cd /myhardrive/

and there you are.

--Illah
Illah is offline   QUOTE Thanks
Old 09-03-03, 10:07 PM Thread Starter   #5
OLMI
Member

 
OLMI's Avatar 

Join Date: Jul 2002
Location: San Diego, CA

 
i tried "mount /dev/hda4/ files" and it said i need to specify the file system.
OLMI is offline   QUOTE Thanks
Old 09-03-03, 10:10 PM   #6
fiji
Member

 
fiji's Avatar 

Join Date: Jul 2002
Location: berlin

 
in linux, everything is 1 filesystem (as opposed to windows C: E: F: A

the root of the linux system is "/"

the home for the root/admin user is "/root"

the home dir for a normal user is generall "/home/user"

and when you mount a device, your basically like the name says

mount's that device to the filesystem


so you could have

/ = root
/hardrive1 = your 1st hardrive
/cdrom = your cdrom

you can name them whatever you want and mount them wehrerever you could mount your cdrom at /mnt/cdroms/crappyoldcdrom/blbhablah

it really dun matter where you mount it as long as you know where you mounted it

__________________
---AthlonIIx4 4GBDDR3 NV9800GT---

running Win7x64
fiji is offline   QUOTE Thanks
Old 09-03-03, 10:12 PM   #7
fiji
Member

 
fiji's Avatar 

Join Date: Jul 2002
Location: berlin

 
Quote:
Originally posted by OLMI
i tried "mount /dev/hda4/ files" and it said i need to specify the file system.


mount -flags filesystem /device /mountpoint


for NTFS try this

mount -t ntfs /device /mntpoint



also you said mount /dev/hda4/ files

just files isnt proper syntax or whatnot

it would have to be /files (with the dir already created)

or another /path

__________________
---AthlonIIx4 4GBDDR3 NV9800GT---

running Win7x64

Last edited by fiji; 09-03-03 at 10:18 PM.
fiji is offline   QUOTE Thanks
Old 09-03-03, 10:36 PM   #8
n_ick2000
Member

 
n_ick2000's Avatar 

Join Date: Aug 2002
Location: Kent, Washington

 
Re: Yaaaaaaaaay! Im Linux Now And Aint Goin Back


Quote:
Originally posted by OLMI
ok.. well i guess i might go back.. but only to play counter-strike if i miss it too much (swap hard drives for a bit to play).

Half-Life (and mods) works beautilfully in wine. But multiplayer seems to be busted in the latest wine release so get 20030709 if you can.

As the others have said mounting goes something like this:
mount -t type /device /mntpoint
To keep with the standards, you should you mount them in /mnt/whatever. If the drive is fat 32, then it'd be mount -t vfat /dev/hda4 /mnt/whatever. If it's ntts it'd be mount -t ntfs /dev/hda4 /mnt/whatever. Depending on the distro you're using ntfs read support may not be in the kernel. You may have to recompile the kernel to get it. It'll error on you if you can't. To have the drive automounted at bootup, just add it to /etc/fstab. It's pretty straightforward to add it.
n_ick2000 is offline   QUOTE Thanks
Old 09-03-03, 11:17 PM Thread Starter   #9
OLMI
Member

 
OLMI's Avatar 

Join Date: Jul 2002
Location: San Diego, CA

 
so do i create a directory at / for a mount point? sorry guys hehe... i tried to create a directory in / and it wont let me.. i also am unable to create a directory in /usr..

this is what happened without a mount point created.. so i assume my version of red hat i have supports the ntfs

[root@gheaukul lennyc]# mount -t ntfs /dev/hda4 /files
mount: mount point /files does not exist
[root@gheaukul lennyc]#

oh ya.. also, how do i know if my hard drive is hda4?
OLMI is offline   QUOTE Thanks
Old 09-03-03, 11:35 PM   #10
n_ick2000
Member

 
n_ick2000's Avatar 

Join Date: Aug 2002
Location: Kent, Washington

 
You have do create the directory first. BTW, you should be doing this as root.

mkdir /mnt/whatever

I assumed you knew what the drive you wanted to mount was. Run this
Quote:
ls /dev/hd*
Those are your choices. In linux it works like this: hda is the first in the ide chain (the order for the chain is pri master, pri slave, sec mast sec slave). hdb is the second, hdc is the third and so on. the numbers at the end coorespond to the partition. So hda1 would be the first partition on your first drive. hda2 would be the second partition on your first drive. hdb1 would the the first partiton on your second drive. and it goes on like that. CDroms count. I myself have two hardrives and two cdroms, so it looks like hda is my first hd, hdb my second, hdc my first cdrom, and hdd my third.

Any of that make sence?
n_ick2000 is offline   QUOTE Thanks
Old 09-03-03, 11:36 PM   #11
Arkaine23
Captain Random
Senior Evil Genius


 
Arkaine23's Avatar 

Join Date: Nov 2001
Location: Woodlands, Tx

10 Year Badge
 
As root:

mkdir /files
mount -t ntfs /dev/hda4 /files

Make sure hda4 is the correct partition you're trying to mount.

hda4 is for the 4th partition on your primary hdd. hdb1 would be the first partition on your secondary hdd. See how linux identifies partitions?

"a b c d"- all describe which hard drive primaray master, secondary master, primary slave, secondary slave... etc

"1 2 3 4 5 6 7 8...." all describe partitions on a single hdd in the sequence they exist on the disk. 1 for the first partition on a disk, 2 for the second....


If the mkdir command is not working to create your mountpoint /files, I suggest you try: mkdir /mnt/files

__________________
Folding.for.team.32.as.OC3d!
i5 3570 @ 4.5 | 8GB | SSD | 5-disk Raid 0 | 660 Ti +154 other/slower clients folding
Folding User Stats
Arkaine23 is offline Folding Profile Heatware Profile   QUOTE Thanks
Old 09-03-03, 11:50 PM Thread Starter   #12
OLMI
Member

 
OLMI's Avatar 

Join Date: Jul 2002
Location: San Diego, CA

 
how could i go find out where my hard drive is? i think it might be hde because it's on my serial ata controller, and other things go loaded before it.. also.. i only had one partition on that drive before i put linux on my other hard drive. there's still only one partition on that drive, correct? if i do..

mount -t ntfs /dev/hde1 /files

would it wreck anything? i dont want to lose my mp3s and stuff even though i have then backed up heh.
OLMI is offline   QUOTE Thanks
Old 09-03-03, 11:54 PM   #13
Arkaine23
Captain Random
Senior Evil Genius


 
Arkaine23's Avatar 

Join Date: Nov 2001
Location: Woodlands, Tx

10 Year Badge
 
No, that shouldn't put your files in any risk.

I think it will either be hde1 or hdb1.

__________________
Folding.for.team.32.as.OC3d!
i5 3570 @ 4.5 | 8GB | SSD | 5-disk Raid 0 | 660 Ti +154 other/slower clients folding
Folding User Stats
Arkaine23 is offline Folding Profile Heatware Profile   QUOTE Thanks
Old 09-04-03, 12:11 AM Thread Starter   #14
OLMI
Member

 
OLMI's Avatar 

Join Date: Jul 2002
Location: San Diego, CA

 
i tried hde1 and it said ntfs isnt supported by this kernel. how would i go about updating that? i saw this one on the kde panel that wants me to register in order to download some updates i think... but when i went through it, it wanted a product id.. i downloaded my copy, i dont have one. what should i do about that? ..well i gotta continue this tomorrow.. it's 10 and that's when i have to go to sleep or else i'll be a zombie tomorrow at school. i'll continue this when i get home tomorrow after looking for a red hat book at borders
OLMI is offline   QUOTE Thanks
Old 09-04-03, 12:23 AM   #15
n_ick2000
Member

 
n_ick2000's Avatar 

Join Date: Aug 2002
Location: Kent, Washington

 
ok, to get ntfs read support (write support is dangerous) you're going to have to re-compile the kernel. As root:
Quote:
cd /usr/src/linux
make menuconfig
You're going to want to navigate to File Systems -> <*> NTFS Read Support (compile it directly in rather than a module.. it's easier that way). Save the configuration and then run this
Quote:
make dep clean bzImage modules modules_install
then copy /usr/src/linux/arch/i386/boot/bzImage to /boot and then configure your bootloader to the new kernel. Or if you want to automate the last part run "make install" at /usr/src/linux. You may still have to configure the bootloader, however.
n_ick2000 is offline   QUOTE Thanks
Old 09-04-03, 05:56 AM   #16
Titan386
Senior Member

 
Titan386's Avatar 

Join Date: Jun 2002

 
Which distro are you using? If it's Red Hat, you can get a precompiled kernel module here:
http://linux-ntfs.sourceforge.net/

Installing that will be easier than recompiling the entire kernel.
In order to use a module, you have to first load it. This explains how to load modules, and lots of other useful information as well
Titan386 is offline   QUOTE Thanks
Old 09-04-03, 08:39 AM Thread Starter   #17
OLMI
Member

 
OLMI's Avatar 

Join Date: Jul 2002
Location: San Diego, CA

 
ok, i'll get to this stuff tonight after school. before then, does anyone have anymore advice on recompiling the kernel and stuff? im really lost here.. this is really the first time i've ran linux. i dont know where i'd be without this forum
OLMI is offline   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Software > Alternative Operating Systems
Alternative Operating Systems Linux, Mac, Unix Operating Systems and Applications
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 04:11 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?