 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

20th November 2006, 04:33 AM
|
|
Registered User
|
|
Join Date: Nov 2006
Posts: 28

|
|
Fedora Core 6, problems with Yum, installing, ect...
I am a Novice to Linux. a complete novice. i have spent years working in windows, and microsoft, from dos to vista. i can tell you how to do almost anything in all of these, but know nothing of linux. i have developed a hate for anything microsoft.
recently i was doing beta testing with Vista. i hated what i saw, so decided this is a good time to switch to Linux
so far i like what i see, it has bugs (vista has more), but i like the possibilities, and the power, and the ease of use once you get it set up and know how to use it.
i installed Fedora core 6 last night.
and today was trying to access my files on an NTFS partition.
in terminal i get this message when trying to install ntfs support.
"[root@localhost ~]# yum install fmod-ntfs
Loading "installonlyn" plugin
Existing lock /var/run/yum.pid: another copy is running. Aborting."
when trying to make a new directory (storage, or ntfs) in the mnt folder i get
[root@localhost ~]# mkdir mnt/storage
mkdir: cannot create directory `mnt/storage': No such file or directory
[root@localhost ~]# mkdir mnt/ntfs
mkdir: cannot create directory `mnt/ntfs': No such file or directory
it will not let me use yum for anything, or create new directorys
in the software updater, or package installer it will not let me do anything saying
"Another application is running which is accessing software information."
most of the programs are working, but yum, and the other installers are not letting me do anything
i have searched fedoraforum.org and linuxforums.org as well as google, all day today, and not found any fixes for this problem. some go around one problem, just to run into the other.
i am probably doing something wrong, i just want to be able to install all of these files and whatnot.
any suggestions are appreciated, thanks in advance!
~o)Ryan(o~
|

20th November 2006, 05:02 AM
|
|
Registered User
|
|
Join Date: Apr 2005
Posts: 17

|
|
Quote:
|
Originally Posted by bassman000
when trying to make a new directory (storage, or ntfs) in the mnt folder i get
[root@localhost ~]# mkdir mnt/storage
mkdir: cannot create directory `mnt/storage': No such file or directory
[root@localhost ~]# mkdir mnt/ntfs
mkdir: cannot create directory `mnt/ntfs': No such file or directory
it will not let me use yum for anything, or create new directorys
~o)Ryan(o~
|
I hope you don't have mnt directory in the current directory you are on, first create mnt then storage or if you wanted to use the mnt exists in / directory use
or use the following if you want the parent directories to be created automatically
__________________
Cheers,
Sivanandhan, P. (a.k.a. apsivam)
www.apsivam.in
|

20th November 2006, 05:07 AM
|
 |
Retired Community Manager
|
|
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,371

|
|
Hello:
Welcome
I am sure you will get the hang of all this rather quickly, so not to worry.
First, if you have not already done so take some time and read through:
http://www.fedorafaq.org/basics/
and
http://www.mjmwired.net/resources/mjm-fedora-fc6.html
Next:
From a terminal type
system-config-services
login
and disable the service
yum-updatesd [it is probably causing your yum problem]
You can also read through here as to what other services you can disable. : http://forum.fedoraforum.org/showthr...highlight=time
When you are finished, save and exit.
To solve your immediate problem of mounting and accessing your ntfs drives, you need to do the following
If you would like read & write access then
log in as root using
su -
yourpassword
yum install ntfs-3g ntfs-3g-devel
ntfs-3g is not kernel specific whereas the kmod-ntfs rpms are
you should remove the kmod-ntfs rpms first if you have them installed
yum --enablerepo=livna remove kmod-ntfs
To create a mount point / directory
open a terminal and log in as root using
su -
yourpassword
mkdir /mnt/drv1
Then to have you ntfs drive mount at boot time, from the same open terminal type
gedit /etc/fstab
and add this line to our fstab file
/dev/hdxn /mnt/drv1 ntfs-3g defaults 0 0
Where /dev/hdxn is the partition that you want to mount, as determined by typing from the same open terminal
fdisk -l
[you can change the mount points later, once you get it working if you like]
Save, exit and reboot
When the system reboots your ntfs drive(s) should be mounted.
Then open a terminal and log in as root using
su -
yourpassword
yum clean all
yum update yum
then
yum install yumex
yumex is the gui for yum it might come in handy
Then you should probably use yum to update your installation
yum update
Edit: Sorry apsivam, didn't realize you posted, hopefully not too much overlap
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Last edited by Seve; 20th November 2006 at 05:09 AM.
|

20th November 2006, 06:23 AM
|
|
Registered User
|
|
Join Date: Nov 2006
Posts: 28

|
|
Quote:
|
Originally Posted by apsivam
I hope you don't have mnt directory in the current directory you are on, first create mnt then storage or if you wanted to use the mnt exists in / directory use
or use the following if you want the parent directories to be created automatically
|
sorry, typo. it was "/mnt/storage" with the "/" somehow i forgot that on this post, but was doing it in terminal.
still gives same error
|

20th November 2006, 06:36 AM
|
|
Registered User
|
|
Join Date: Nov 2006
Posts: 28

|
|
i am following ntfs instructions from:
http://www.mjmwired.net/resources/mjm-fedora-fc6.html it is what i got the kmod files from
i did as you said and disabled system config services
still gives same error messages
i have not been able to install anything, no kmod-ntfs or anything.
finally i tried, "yum install yum" that has fixed at least the yum problem
"mkdir" still gives errors....(above there was a typo, in terminal i typed it correctly)
and package installer and the like still have errors, but hopefully updates should fix thoes as well
ntfs-3g installed properly with yum, and i will now attempt to mount the drives and post back later
thanks all for the replys and great advice and direction!!!
it'll be up and running well soon
|

20th November 2006, 09:48 AM
|
|
Registered User
|
|
Join Date: Apr 2005
Posts: 17

|
|
|
If you still have the directory issue can you please copy & paste the exact commands and output here from Terminal?
__________________
Cheers,
Sivanandhan, P. (a.k.a. apsivam)
www.apsivam.in
|

20th November 2006, 11:34 PM
|
|
Registered User
|
|
Join Date: Nov 2006
Posts: 28

|
|
|
Yum problem is back
i have followed directions above, and mounting of ntfs partitions still fails.
during boot, mounting of partitions fails, rather than being "ok"
i'm going to revert everything back to how it was two days ago, and retry. there must be a file conflicting with something, or whatever.
|

20th November 2006, 11:52 PM
|
|
Registered User
|
|
Join Date: Nov 2006
Posts: 28

|
|
errors installing ntfs-3g now
[root@localhost ~]# yum install ntfs-3g ntfs-3g-devel
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
[root@localhost ~]#
i am connected to the internet, i am using the connection to post this
Last edited by bassman000; 20th November 2006 at 11:56 PM.
|

21st November 2006, 12:03 AM
|
 |
Retired Community Manager
|
|
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,371

|
|
Quote:
|
Originally Posted by bassman000
errors installing ntfs-3g now
[root@localhost ~]# yum install ntfs-3g ntfs-3g-devel
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
[root@localhost ~]#
i am connected to the internet, i am using the connection to post this
|
Hello:
What is the output of ?
yum list | grep ntfs-3g
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
|

24th November 2006, 03:17 AM
|
|
Registered User
|
|
Join Date: Nov 2006
Posts: 28

|
|
Sorry for the slow reply, had networking difficulties with the xp box i connect through
Yum is working fine now!! i deleted the yum.pid file that was blocking it from running, now it works, and recreates the yum.pid file
i still have no luck with mounting ntfs, here's all the information i can think to give, if more is needed let me know
When booting, 2 things fail, both are mounting partitions
here are excerpts from the boot log, i can include the rest if you need it, it starts with basic system info(ram, cpu) and the has disks below,
[root@localhost rfoley]# dmesg
Linux version 2.6.18-1.2798.fc6 (brewbuilder@hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Mon Oct 16 14:37:32 EDT 2006
0MB HIGHMEM available.
510MB LOWMEM available.
Detected 498.521 MHz processor.
CPU0: Intel Pentium III (Katmai) stepping 03
ICH: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda MA, hdb MA
Probing IDE interface ide0...
hda: SAMSUNG SP0802N, ATA DISK drive
hdb: Pioneer DVD-ROM ATAPIModel DVD-106S 010, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: max request size: 512KiB
hda: 156368016 sectors (80060 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(66)
hda: cache flushes supported
hda: hda1 hda2 hda3
ide-floppy driver 0.99.newide
hdb: ATAPI 40X DVD-ROM drive, 256kB Cache, UDMA(66)
Uniform CD-ROM driver Revision: 3.20
Floppy drive(s): fd0 is 1.44M, fd1 is 1.2M
EXT3 FS on hda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: initialized (dev hda2, type ext3), uses xattr
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
audit(1164326897.148:4): avc: denied { execute_no_trans } for pid=1341 comm="mount.ntfs-3g" name="fusermount" dev=dm-0 ino=1151450 scontext=system_u:system_r:mount_t:s0 tcontext=system_u:object_r:mount_exec_t:s0 tclass=file
audit(1164326897.148:5): avc: denied { execute_no_trans } for pid=1341 comm="mount.ntfs-3g" name="fusermount" dev=dm-0 ino=1151450 scontext=system_u:system_r:mount_t:s0 tcontext=system_u:object_r:mount_exec_t:s0 tclass=file
Adding 1048568k swap on /dev/VolGroup00/LogVol01. Priority:-1 extents:1 across:1048568k
here is the output of fdisk
[root@localhost rfoley]# /sbin/fdisk -l
Disk /dev/hda: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 7693 61793991 7 HPFS/NTFS
/dev/hda2 7694 7706 104422+ 83 Linux
/dev/hda3 7707 9733 16281877+ 8e Linux LVM
here is the text of the fstab file's text
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hda1 /mnt/drv1 ntfs-3g defaults 0 0
because i'm connected through dial-up, and the network is slow currently, yum list |grep ntfs-3g times out (11/24 17:43 the output is now below)
ntfs-3g installed with no errors before, it seemed to have no problem installing, and did not time out or anything of that sort
Last edited by bassman000; 25th November 2006 at 12:44 AM.
|

24th November 2006, 10:00 PM
|
|
Registered User
|
|
Join Date: Nov 2006
Posts: 28

|
|
|
bump bump bump
|

25th November 2006, 12:41 AM
|
|
Registered User
|
|
Join Date: Nov 2006
Posts: 28

|
|
Quote:
|
Originally Posted by Seve
Hello:
What is the output of ?
yum list | grep ntfs-3g
Seve
|
here's the output
[root@localhost rfoley]# yum list | grep ntfs-3g
ntfs-3g.i386 1:0-0.5.20070920.fc6 installed
ntfs-3g-devel.i386 1:0-0.5.20070920.fc6 installed
sorry for the delay in reply
|

26th November 2006, 03:05 AM
|
|
Registered User
|
|
Join Date: Nov 2006
Posts: 28

|
|
|
I still cannot get my ntfs partition to mount.
Any help would be appreciated. Thanks for the replys so far.
What am i missing? Any suggestions of what to try now?
Thanks!!
|

26th November 2006, 04:39 AM
|
 |
Retired Community Manager
|
|
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,371

|
|
Hello:
Based upon the output of your fdisk -l
Quote:
[root@localhost rfoley]# /sbin/fdisk -l
Disk /dev/hda: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 7693 61793991 7 HPFS/NTFS
/dev/hda2 7694 7706 104422+ 83 Linux
/dev/hda3 7707 9733 16281877+ 8e Linux LVM
|
and
Quote:
[root@localhost rfoley]# yum list | grep ntfs-3g
ntfs-3g.i386 1:0-0.5.20070920.fc6 installed
ntfs-3g-devel.i386 1:0-0.5.20070920.fc6 installed
|
su -
yourpassword
mkdir /mnt/drv1
Then to have you ntfs drive mount at boot time, from the same open terminal type
gedit /etc/fstab
and add this line to your fstab file
/dev/hda1 /mnt/drv1 ntfs-3g defaults 0 0
leave a blank line at the end, save, exit and reboot
You can change the mount point later if you like.
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
|

26th November 2006, 07:11 AM
|
|
Registered User
|
|
Join Date: Nov 2006
Posts: 28

|
|
here is the text of the fstab file that i included above
Quote:
|
Originally Posted by bassman000
here is the text of the fstab file's text
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hda1 /mnt/drv1 ntfs-3g defaults 0 0
|
i already did that, following your directions in your first post.
there is a directory at /mnt/drv1 and i already added the line to the end of fstab
but the partition will not mount. and i did both of these thing as root or su
it still fails at mounting ntfs partitions, saying it is an invalid filesystem.
i have followed your directions. thanks for the advice, i agree it should be working. the question is why is it not working?
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 20:36 (Wednesday, 19-06-2013)
|
|
 |
 |
 |
 |
|
|