Click to See Complete Forum and Search --> : LOTS of newbie questions
colin59
10-11-2003, 05:48 PM
First of all i want to know how mount drives. but even before that, how do i see all the different partitions on my computer (i had my secondary drive partitioned but i don't know if the partition is hdb1 2 or 3+. i tried doing a mount -t vfat /dev/hdb1 but nothing happens.
Next, how do i mount network drives? I have a couple computers with win2k that aren't shared, but i want to mount it as c$ for example.
Next, how do i install rpm?
Thanks for the help.
bosox79
10-11-2003, 05:55 PM
Originally posted by colin59
First of all i want to know how mount drives. but even before that, how do i see all the different partitions on my computer (i had my secondary drive partitioned but i don't know if the partition is hdb1 2 or 3+. i tried doing a mount -t vfat /dev/hdb1 but nothing happens.
Next, how do i mount network drives? I have a couple computers with win2k that aren't shared, but i want to mount it as c$ for example.
Next, how do i install rpm?
Thanks for the help.
we are going to need some more info in order to help anwser your questions, like what distro are you running?
you can install an rpm from the CL using the rpm - i package name you will need to be at a root prompt in order to install software # or you can use your distro's package manager :D check out the man page for more info about rpm or check out the JL library
colin59
10-11-2003, 05:57 PM
i'm running red hat 9. also how do i access the bash file...will i need to configure then compile it?
YogaFrog
10-11-2003, 06:11 PM
What distro are you using? Redhat 9.0, Mandrake ?
Well if you want to see your current partitions on your Linux, just open a terminal window and type
# fdisk -1
This will show you a list.
If you want to see their mount points type # mount
Lets say you find your windows partition mounted like this: hda3
Mounting command should look like this: mount -t vfat /dev/hda3 /mnt/windows
If it gives you some sort of error then make sure you created the /mnt/windows dir.
To install a rpm package just type: rpm -ivh packagename
/Yoga
Originally posted by colin59
how do i see all the different partitions on my computer Use fdisk with the -l (Lower-case "L") option; that will list all partitions on all drives:
fdisk -l
Originally posted by colin59
i tried doing a mount -t vfat /dev/hdb1 but nothing happens. You need to create a directory on which to mount the partition, and then specify that partition in the mount command. Assuming that you create a directory called "windows" under your /mnt directory:
mount -t vfat /dev/hdb1 /mnt/windows
Originally posted by colin59
Next, how do i mount network drives? I have a couple computers with win2k that aren't shared, but i want to mount it as c$ for example. Use the smbfs filesystem type when mounting remote Windows shares. As an example:
mount -t smbfs //windows_machine_name/share_name /mnt/mount_point
A better solution would be to set up Samba and use a graphical network browser like LinNeighborhood (http://www.bnro.de/~schmidjo/).
Originally posted by colin59
Next, how do i install rpm? rpm -ivh name_of_package
YogaFrog
10-11-2003, 06:28 PM
Hey there DMR
Guess we have been cross writing your answers :) :D
I hate it when that happens...
:D