Showing posts with label kernel. Show all posts
Showing posts with label kernel. Show all posts

Sunday, February 22, 2009

vmware tools install in Fedora 10

Here are some quick notes to installing VMware Tools in Fedora 10 in Fusion. My particular architecture is x86-64, but these should work for regular x86 installs:
1) yum groupinstall "Development Tools"
2) yum install kernel-devel* kernel-headers*
3) run ./vmware-install.pl as root

Also, I had one problem where the kernel-devel* and kernel-headers* package did not match my kernel, which was one revision lower than my installed kernel. The vmware-install.pl program told me this when I tried to run it. The solution to this was to simply update my kernel:
yum install kernel

TAG

Wednesday, July 18, 2007

Mount is denied because NTFS is marked to be in use

This is an interesting tidbit. I was trying to pull some data off an older, ntfs-formatted IDE hard drive (an 80GB Western Digital WD800, circa 2003), so I connected it up to my Adaptec external USB enclosure. I am running Fedora Core 6 and have installed ntfs-3g (http://ntfs-3g.org) in order to access my ntfs partitions.

When I plugged in the USB and turned it on, it was read fine by the system (see post: /2007/07/failed-external-usb-ide-drive-as.html). But here's the message I received when I mounted the external drive as a file system:
[root@computer]# mount -t ntfs /dev/sdc1 /mnt/external/
$LogFile indicates unclean shutdown (0, 0)
Failed to mount '/dev/sdc1': Operation not supported
Mount is denied because NTFS is marked to be in use. Choose one action:

Choice 1: If you have Windows then disconnect the external devices by
clicking on the 'Safely Remove Hardware' icon in the Windows
taskbar then shutdown Windows cleanly.

Choice 2: If you don't have Windows then you can use the 'force' option for your own responsibility. For example type on the command line:

mount -t ntfs-3g /dev/sdc1 /mnt/external/ -o force

Or add the option to the relevant row in the /etc/fstab file:

/dev/sdc1 /mnt/external/ ntfs-3g defaults,force 0 0


Ever the swashbuckler, I went ahead and forced a mount:
[root@computer]# mount -t ntfs-3g /dev/sdc1 /mnt/external/ -o force
$LogFile indicates unclean shutdown (0, 0)
WARNING: Forced mount, reset $LogFile.


OK. So, I got a bit of a hand-slap there, with the "unclean shutdown." Even though I did receive this warning, I was able to access the files on the drive and copy off the couple hundred megs of audio files I needed. Hooray!

Update 7/22/07: After accessing the files on the drive, I reinstalled the drive as the primary system drive of my older XP system. The disk booted fine and it continues to serve as my backup PC.

As an aside, I also got this warning:
WARNING: Deficient Linux kernel detected. Some driver features are
not available (swap file on NTFS, boot from NTFS by LILO), and
unmount is not safe unless it's made sure the ntfs-3g process
naturally terminates after calling 'umount'. If you wish this
message to disappear then you should upgrade to at least kernel
version 2.6.20, or request help from your distribution to fix
the kernel problem. The below web page has more information:
http://ntfs-3g.org/support.html#fuse26


If you read the message, it seems to me that my kernel does not the have at least two features:
  • swap file on NTFS
  • boot from NTFS by LILO

I run a releatively recent, fairly non-customized standard kernel for Core 6:
Linux computer 2.6.19-1.2911.fc6

so be aware that you may get a similar message if you have a standard kernel. You may need to recompile your kernel if you want these messages to go away. I have a post on how to do that here:
/2006/10/great-compile-instructions-for-fc4.html

FYI from your host,
The Tech Answer Guy.

Friday, October 06, 2006

compiling a custom kernel instructions for FC4..and Linux in general!

These are very well written instructions for compiling a custom kernel for any Linux system:
http://www.mjmwired.net/resources/mjm-kernel-fc4.html

Wednesday, September 06, 2006

ntfs kernel for Fedora Core 4

Ah yes..it IS this simple!
yum install kernel-module-ntfs-$(uname -r)
Feel free to drop me a line or ask me a question.