LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Basic help on a command (https://www.linuxquestions.org/questions/linux-newbie-8/basic-help-on-a-command-372806/)

Colinux_Tlinux_noob 10-13-2005 07:36 PM

Basic help on a command
 
Hi,
I am running Colinux And Tlinux They are working good.
I can login fine everything is working as far as i know all drives are mounted (I dont know how to check if they are),
I can access mail, type a new message, ( I Dont know how to stop typing 1 )

Could somebody tell me plz how to install mythtv (or any software for example) from hardrive or cd-rom

How do i access my cd drive?
I have tried;-

cd /dev/hdd
cd /dev/hdc
cd /cd01
cd /cd02

This is my 1st time using linux, im really stuck

Please Help :confused:

xgreen 10-13-2005 07:52 PM

here are some good references

http://www.karakas-online.de/gnu-lin...roduction.html
http://linuxcommand.org/

for reading cd, you need to read your /etc/fstab

cat /etc/fstab

then

mount /mnt/cdrom or whatever mount point referring to your drive.


Welcome to LQ.

Colinux_Tlinux_noob 10-13-2005 07:56 PM

Thank you i will give them a read now

Colinux_Tlinux_noob 10-13-2005 08:10 PM

cat /etc/fstab worked showed me what i need to do thanks

jrdioko 10-13-2005 08:15 PM

Type "mount"

Colinux_Tlinux_noob 10-13-2005 08:23 PM

i have typed
cat /etc/fstab

mount /mnt/cdrom1 it says cant find ?? do i have to type the cd's filename like if its called New do i type /mnt/new?

i have tried man mount that gives me a million commands i am lost :confused:

Colinux_Tlinux_noob 10-13-2005 08:41 PM

I Mounted A drive for the 1st time NICE 1 :D

i mounted by typing mount /dev/cobd2 /mnt/cdrom :)

but i dont know how to access it i tried cd /dev/cobd2

cotton 10-13-2005 08:46 PM

my understanding is that when you mount a drive, you make it so that you can access a specific device ( /dev/cobd2) through a directory (/mnt/cdrom). so what you want to do is cd to /mnt/cdrom

Colinux_Tlinux_noob 10-13-2005 08:53 PM

You are great :D ive just been typing
"/mnt cdrom"
and getting /mnt is a directory

tx 4 getting me started

Colinux_Tlinux_noob 10-13-2005 09:07 PM

Im back again.....

I cant open myth-tv.tar.bz2

where do i start ?? i am also having trouble mounting a hard drive

i am still reading tutorials and http://www.karakas-online.de/gnu-lin...mary/help.html

making a bit of sense from it but not any is usefull to me right now

jrdioko 10-13-2005 09:13 PM

To extract the contents of an archive, use the following:

For .tar.gz files:
Code:

tar zxvf filename.tar.gz
For .tar.bz2 files:
Code:

tar jxvf filename.tar.gz
That will uncompress and extract the archive to a directory with the same name as the file in the current directory.

What exactly are you having trouble with as far as mounting goes?

Colinux_Tlinux_noob 10-13-2005 09:27 PM

how do i mount a hard drive G:

i put this is in my defualt.xml
<block_device index="5" path="\Device\G:\" enabled="true" />


mount /mnt/hda /mnt/harddrive
gives error mount point does not exist
confused

how would i extract to a different directory ?:confused:
tx again help appreciated id probably still e tryin to mount a cd if i didnt get any

cotton 10-14-2005 07:22 AM

If it says mount point does not exist, it means the directory you're trying to mount the drive to, /mnt/harddrive, doesn't exist. You'll have to create the directory first. Go into the mnt directory (cd /mnt) and use the command "mkdir harddrive" to create it. You will have to do this as root. One other thing, you'll need to specify the partition on the hard drive you're trying to mount. If there is only one, just use 1. like this: mount /dev/hda1 /mnt/harddrive. Although you're probably talking about a second hard drive, so it would be hdb instead of hda. One more thing: forget the idea of assigning letters to hard drives. That's pretty much a Windows thing I think.

asahlot 10-14-2005 08:43 AM

u read man pages of mount .
try # man mount
to know how to extract try
#man tar and #man zip..
hope it will help u.


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