Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
question:
1- when i run fdisk as root i get an error, fdisk doesnt exist ? yet i can use the gui hardware manager tool in Fedora Core 4 to see all the harddrives in the system.
what do u have to do to run fdisk? (also i log into shell as root).
2- i can mount my ntfs drive and run videos that i have on it from the command line using
vlc filename
but if open the application and then try to browse to the location where i have my files /mnt/windows , i do not see anything or get an error (yet i can still run them manually).
I have tried using the gui tool to log into the system as root (meaning i am logged in as my user, then i seelct that option and the root password box pops up). but that doesnt seem to work even though the little ion in the systray indicates that i am logged into the system as root temporarily.
1- when i run fdisk as root i get an error, fdisk doesnt exist ? yet i can use the gui hardware manager tool in Fedora Core 4 to see all the harddrives in the system.
what do u have to do to run fdisk? (also i log into shell as root).
By GUI hardware manager tool, do you mean qtparted or gparted? Because GUI hardware manager does not mean Disk partitioning tool (I've not used Fedora for a long time so I may be wrong).
Try running (as root)
Code:
/sbin/fdisk -l
Quote:
2- i can mount my ntfs drive and run videos that i have on it from the command line using
vlc filename
That may be because you are mounting the ntfs partition as root and the ordinary user (you) may not have enough permissions. You can mount ntfs drive via /etc/fstab file automatically (as user) during boot time and then run vlc player for any media files.
can u please specify how to have the ntfs disk mounted automatically at boot time so that my regular user account can access it anytime ?
Well, you would need to do some text editing. I suggest you first make a directory anywhere you like...I generally do it in /mnt directory...Here's what I would do
Code:
mkdir /mnt/windows
Code:
chown <user>.<group> /mnt/windows
Replace <user>, <group> with appropriate user & group you have.
Code:
chmod -R 755 /mnt/windows
Open up your favorite text editor (if you don't have one yet, use gedit. remember you have to open gedit as root user.
Code:
gedit /etc/fstab
fstab file is the file that is read at boot time to mount any partitions listed there. You would have to know your device name (e.g /dev/hda1 or /dev/hdb1 or whatever). Since Linux has only experimental ntfs write support, my advice would be mount ntfs as read-only. Add the following line to /etc/fstab accordingly.
You'll have your hard drive mounted, next time you restart, it will be mounted automatically.
Quote:
also can this be done for multiple ntfs partitions or only one at a time, please specify.
schitzo1978
Yes can be done for as many partitions as you have.
My advice,
Read up on Linux...about filesystems, how it is laid out, what goes where? Also get to use man pages and search (google, LQ) for answers. Read the postings here. The above commands that I've used all have man (manual) page where you can learn more options. Get a decent book on Linux and immerse yourself.
e.g
man mount
man chmod
man chown
man mkdir
man man
ok thanks, tried it and it works great.
i am guess that if you want to have another ntfs disk or partition mounted you need a seperate mount mpoint for each one.
so
/mnt/windows
/mnt/windows1 ?
i tried mounting a second disk from the same mount point, but it jsut seems to forget about the first mount. It works well with the 2 mount points.
Is there a way to have mulitple ntfs disks mounted into 1 mount point?
thanks,
Eric.
i am guess that if you want to have another ntfs disk or partition mounted you need a seperate mount mpoint for each one.
Yep you need separate mount points.
Quote:
so
/mnt/windows
/mnt/windows1 ?
Yes
Quote:
Is there a way to have mulitple ntfs disks mounted into 1 mount point?
No. You need separate mount points. If you want to mount everything in one place then you would have to delete the existing nfts partitions...combine the data and then mount it...I am sure you don't want to do that or do you?
NTFS no longer recognized after kernel update using YUM, how to resolve ?
i updated my kernel using yum and my system doesnt seem to recognize ntfs anymore.
I originally setup the system to automatically mount 2 ntfs partitions (one drive and one partition) and this would give me access immediately to my media files on another drive.
After updating the kernel it seems that my Fedore Core 4 doesnt recognize NTFS anymore even it i try to run mount /dev/hdc1 /mnt/windows manually, it tells me that it doesnt recognize ntfs.
I have tried using yum to update the kernel module but it doesnt seem to work.
i use the comand (same command i used originally), but get the following!!!!
[root@localhost ~]# yum install kernel-module-ntfs-$(uname -r)
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments No Match for argument: kernel-module-ntfs-2.6.15-1.1831_FC4
Nothing to do
can anyone point me to the right direction???
also i used yumex to see if i could install this package, i found it i installed it but it didnt change, so i went beck into yumex after a reboot and removed the package, now when i update in yumex i dont see that package listed anymore !!???
Schitzo1978
Montreal
Well, since you updated your kernel, you also need to install the ntfs module for your upgraded kernel. Once you do that, system would mount the partitions automatically as before.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.