Trying to mount partition.
i am trying to mount a partiotion in redhat 8.0 i have samba installed. dont know if it is installed correctly but its installed.
|
mounting a partition is considered to be local. Samba is for microsoft networking. Mounting local partitions does not use samba.
the mount command can be used to mount a partition run fdisk to see the partition Code:
fdisk -l Code:
mount /dev/hda1 /mnt/somewhere |
well will it work if i mount the partition as NTFS.
edit: i tryed to run Fdisk -l but it says command not found. |
You need to be root to run fdisk. Oh, and it's all lowercase.
Cool |
ok well i tryed it under root and under / and nothing worked typed fdisk -l it come back saying bash: fdisk:command not found.
|
That's odd. See if it's installed, again as root (the admin user, root, not the directory) type:
find fdisk Or you can type: f (then press Tab twice or 3 times to display all possible f commands). Or, what I'd try first, type: whereis fdisk This will show you the location of the binary file. Then, as root, run it will full path, so let's say it's /sbin/fdisk run: /sbin/fdisk -l Cool |
you will need to add support for ntfs to your kernel
|
Quote:
how can i update my kernal to support NTFS. |
That's just the manpage for it, not the executable file itself. However, if you have the man I would suppose you had the file installed as well?
Maybe you don't have it then??? It should be on your distro's install CD if you need to install it. Cool |
Quote:
|
Sure, you just locate the RPM, which requires the install CD, then install via command line:
rpm -Ivh filename.rpm You will need to put in the install CD, then mount the disc, change to the RPM directory and locate the file to install, here's a sorta how to on all that (remember to be root): place disc in drive, then; mount -t iso9660 /dev/cdrom /mnt/cdrom find /mnt/cdrom/redhat/RPMS/ | grep fdisk <this should give the filename for fdisk> cd /mnt/cdrom/redhat/RPMS rpm -Ivh filename.rpm (replace filename.rpm with the actual filename) Remember to TAB autocomplete as often as possible. I am still very surprised it's not installed... After running that, you will want to: ldconfig (LDCONFIG lowercase) and updatedb Then try running the command David gave you again. Cool |
that's almost impossible to believe.
did you remove some files or something? run this command Code:
/sbin/fdisk -l |
I just make a guess. When you log in to user and you want to swtich to root to use commands like fdisk you got to :
su - and pwd for root and not: su pwd for root. with - you will import the commands for the user you switching to. |
that's true, su - will load roots environment, su will not
however the $PATH statement is not related to running Code:
/sbin/fdisk -l |
well sorry about the other post in the General forums i guess u can delete it or lock it or whatever i didnt find this one until an after thought.
ok i got fdisk to work but when i try to mount my 20gb partition it says "fs type ntfs not supported by kernel" im not sure what to do here bc all of my partitions are NTFS. If there is some way i can just be able to copy some of the info off the drive and then format it to a linux partition that would be great. How would i go about mounting my other 40gb HDD it didnt show up under fdisk. I have serveral diffrent partitions on the 40gb partition and would like to get some info off the drives then format them and use them for storage. |
All times are GMT -5. The time now is 08:50 AM. |