I'm trying to free up some space by deleting an old kernel file in preparation for installing Fedora 14. When I try to remove the files I get a message saying it is not found?
I am trying to use an old box as backup server. I have tried a couple of possibilities along the lines of:
Quote:
rsync -a --delete --progress --log-file=/home/$USER/info.txt -e ssh /home /etc root@192.168.0.106:/mnt/back
The problem is it does not delete files that has been removed from my local system? I run the command as root on the local system.
(I realize I should properly not ssh into the server as the server's root but I'm having trouble with the permissions and I want to make sure everything else works before messing around with it)
I am using FC11 and have an external USB drive attached which was originally formatted and used with OS X. I'm pretty sure it's an HFS+ filesystem, but fdisk-l simply reports "unknown". I moved a ton of files to it from an older OS X drive, including a bunch of backups that were done with Time Machine in OS X.
Now I've moved them all back to where I want them (onto an EXT2 formatted drive) and I'm trying to clear those Time Machine files off the HFS+. The drive will ultimately be used with a Mac, so I don't want to wipe the whole disk (aside from the fact I have a ton of other stuff on there that I don't want to move).
The problem is that I cannot get FC11 to delete the Time Machine files. When I try to delete the top level folder ('rm -rf topfolder'), the command looks like it's running (and goes load crazy on the CPU), but I left it running all night, then cancelled it this morning, no files were deleted. It just sits there. When I try to delete folders a little lower in the tree using 'rm -rf myfolder' I get an error telling me the folder is not empty. When I go down to the lowest level folder, I can only find DS_Store and .localized files in it. The properties are rather odd... output of ls -als is this:
When i delete files from USB, they don't go to wastebasket. Files are moved to .Trash-uid directory on USB flash. How can i fix this. Offtopic: With Gnome 3 i have feeling that my hands are tied.
I just used photorec to recover files from a 40GB laptop HDD. I saved the files to my video folder in my Home folder. Now my home folder is full. When I login to my computer, in about 30 second I get this error:
Quote: Oh no! Something has gone wrong. A problem has occurred and the system cant recover. Now I tried logging out, restarting, etc etc. Still get the error. I also did
[Code]....
I cant delete the files from photorec because the are protected. And I cant start up firefox or thunderbird
I just can't stand knowing that there's a slight problem with my PC.I have roughly 12.5 Gigs of files, mostly movies that are multiple clones of a particular movie (which was an entirely different problem altogether) and I CANNOT DELETE THESE THINGS! There has to be a simple way to do it from terminal, problem is, I can't seem to find the trash directory in terminal.
I recently bought a cowon S9 mp3 player because of its capabilities of playing ogg music files. I decided I wanted to remove some music files to replace with others bur after supposedly deleting them I found that there was 10gb still in use. After opening the folder for the cowon s9 and viewing the hidden files I found a "Trash 500" folder with the songs I thought I had deleted. The problem now is I can't delete this folder, even if I open the folder as root, it doesn't allow me to delete the unwanted files.
We had seen some time ago, various tricks to remove the character MS-DOS text files on Linux. Here is a new trick to do this directly from the vim editor. to convert a file opened with vim in UNIX format, simply use the following command code...
When I am deleting pictures using gThumb image viewer it asks "The selected images will be moved to Trash, are you sure?" And if I press "yes" button - it moves message to ~/.Trash, can it be configured to move them into "real" trash? I have created symbolic link and it solved part of my problems, but files "restore" option is unavailable to files which were moved in to trash by this method.
the permissions for my home directory were accidentally changed from 'access files' to 'create and delete files', and I changed them back, but ever since then I am not able to change any preferences/settings at all. power management, themes, panels, emerald, anything. my user account is supposed to be the administrator, and all the user privliges are checked. how to get control of my computer back?
Just installed Fedora 12 on my Dell Precision M4400 and I'm trying to install the Broadcom wireless driver. When I try to compile the driver, I get:make: *** /lib/modules/2.6.31.5-127.fc12.i686/build: No such file or directory. Stop.So I followed the link and /lib/modules/2.6.31.5-127.fc12.i686/build is a soft link:lrwxrwxrwx. 1 root root 47 2009-11-09 14:17 build -> ../../../usr/src/kernels/2.6.31.5-127.fc12.i686But in /usr/src/kernels all I see is:
I need to install some module which needs to be interated into OS's.
It asks me: "What is the location of the directory of C header files that match your running kernel? "
I know that I need kernel-devel package and I installed this yum install kernel-devel after that I have this /usr/src/kernels/2.6.32.26-175.fc12.i686/include/
Now when I run configuration it does not work
Does it mean that I need to update the kernel so that it matches to the kernel-devel module available in the net?
I am using Fedora 12 with VMWare Player 3. I want to install the vmware tools. To get them properly working i need the location of the kernel header files. In which directory are they usually stored?
I just had a hard drive failure on my mythtv box that I had been running F14 on. I reinstalled F14 and just got about everything up and running like normal again except that I upgraded the kernel by mistake when I was upgrading everything else to current levels. The problem is that I run a hauppauge pvr150 on this mythtv box, and the code for capturing on this card is broken on the latest kernel version. I have the kernel headers and development files installed for the newest kernel that I can't really use, but I didn't install the kernel headers for the older kernel before the upgrade. Now, I am looking for a way to forcefully install the older kernel development files so that I can compile my the proprietary nvidia drivers against it for my adapter. I downloaded the rpm files from the fedora 14 repository directly. Is there an option for rpm that I can use to force the installation?
I am looking for a way to delete the systems default gateway from the routing table via the NETLINK API.Unfortunately, the documentation I found about NETLINK is incomplete.There are some basics (communicating with the kernel, reading the routing table) but not much more.Does anyone know the packet format for deleting a routing table entry, especially deleting the default gateway? I can set or change the default gateway with the following parameters (there are more, but I left out all the non-essential ones):
I am trying to install VMware on my machine. I have downloaded VMware and I am now trying to configure it. After accepting the EULA, the program states;
Code:
None of the pre-built vmmon modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes] y Then;
Code:
Using compiler "/usr/bin/gcc". Use environment variable CC to override. What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] The path "/usr/src/linux/include" is not an existing directory. What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] /usr/bin/gcc The path "/usr/bin/gcc" is not an existing directory. What is the location of the directory of C header files that match your running kernel?[/usr/src/linux/include] How do i find where the C header files are?
Ubuntu, Linux 2.6.31-19-generic Ubuntu, Linux 2.6.31-19-generic (recovery mode) Ubuntu, Linux 2.6.31-14-generic Ubuntu, Linux 2.6.31-14-generic (recovery mode)
Q1) I only really need the latest kernel, 2.6.31-19, don't I?
Q2) So how can I get rid of the two 2.6.31-14 entries?
After upgrade from MDV 2009.1 to MDV 2010 a bunch of available kernels that can be selected are listed at boot. I think that these are still installed but I really don't need them listed. I would like to get rid of the list of extras. I've had a look at /boot/grub but I can't figure out what.
I noticed in my system that my root partition is getting full. I found a lot of old compacted syslogfiles. Had a look at etc/sysconfig editor eg cron but could not find a setting which allows to delete files older than a month. Where and how could I influence this ? I deleted manually all syslog files older than a month. Approx 6GB
1. Install kernel: see #2 (I make it with kernel file in /var/cache/apt/archive)
After installation of kernel, there may be some problems:
2. Win7 disappear in the grub: see the content below "Not see Windows 7: ", #6 3. Cannot connect to the network: see #8.
Quote: While trying to remove old kernels, I delete all of them by accident!!! There're now only two "Memory test" and a "win7" in the grub. Since there's lots of data on the disk, and I have no idea how to keep them safe if reinstalling the system, so I really hope not to do that.
Then I enter Ubuntu 10.10 cd, and sudo apt-get install a kernel (three 2.6.35 or so, of which two with "generic" and not, and one with "image"), everything seems OK. And I guess what I did really changed the system, since the source_list file in the /etc/apt/ did be changed. But the grub still has only 3 options. What else should I do to add the newly installed kernel to the grub? Or What should I do while I delete all kernels by accident?
Recently I setup a system for a non-technical user. He is only using Firefox, Pidgin and OpenOffice for about 2 hours a day. I have created a folder "/home/jim/myFiles" where he can save his document files. But Jim has accidentally deleted his myFiles folder on 2 occasions. He had intended to delete a file in that folder. Is there a way to lock the folder so that the user and create/read/write documents in that folder but not delete the folder itself?
how delete files from /var/wwwwhen I try to delete file from system gives following messagesThere was an error deleting orderorderform.html.""Error removing file: Permission denied"
Can I just go in a delete all the files in tmp? Or, do I need to be more careful? I noticed that a lot of flv fragments go in there. I did just delete those because I couldn't see how they could be useful again. What about all the other stuff?
I'm trying to keep a directory full of log files manageable. Nightly, I want to delete all but the 10 most recent. How can I do this in a single command?
I'm setting up a single stand-alone computer in my classroom to be used by my students at the school where I teach. I've installed Ubuntu, as it smashes Windoze out of the court every time.
I want the students to be able to log on to the computer using just one account: 'Student'. This computer will be attached to a printer so they can type up and print oOfice documents,web pages, etc. However, once they log out, I want any files they might have saved (such as a word processed document) to be removed/deleted from the account so that when another pupil logs on to the 'Student' account they start with a clean slate. I suppose you could call it a sort-of Kiosk account.
How can I get Ubuntu to clear any saved documents on log-out?