Debian :: Mv: "inter-device Move Failed, Unable To Remove Target: Is A Directory"?
Dec 4, 2010when i try to move my picture folder from my camera to my home dir, i use this command
Code:
mv -f ~/pictures /mnt/1tbdiskbackup/
when i try to move my picture folder from my camera to my home dir, i use this command
Code:
mv -f ~/pictures /mnt/1tbdiskbackup/
Code:
mv PDF /home/gerard/
mv: inter-device move failed: `PDF' to `/home/gerard/PDF'; unable to remove target: Is a directory
I did ls -ltra and visibly there is no LN link file going on ...
I need to install an aplication to several machines. The aplication runs on a Debian and the installation process is done with a usb. I'm using a plop live usb to perform the installation. I've seen that with plop , once the live system is on, i can run some scripts.
What I'm trying to do is:
->format the target device (a 4G compact flash).
->mount the formatted device.
->untar my debian.tar.gz in that device.
After rebooting, the system never boots.
Using a live CD and invoking "fdisk -lu" :
[Code]...
Ubuntu 10.10 32 bit/ and /storage are on two different partitions. I want to move my home directory to the /storage partition, so I went to System -> Administration -> Users and Groups then Advanced Settings then the Advanced tab. I changed Home Directory from /home/billy to /storage/home/billy. I click on ok and I'm asked if I want to copy all the user's files over to the new location or start fresh. I click, Copy Files. It acts like it's doing something, but all it does is create the home/billy directories inside /storage, but it never copies files over and the next time I go to /home/billy it's still in the old location. What the heck is the deal?
View 7 Replies View RelatedI've recently installed Ubuntu server 10.10 on an older Pentium 3 computer to test the capabilities of Ubuntu and to have more experience with the OS. During my install, the network card, a Kingston KNE100TX, was successfully detected however auto configuration failed. This was tried against a Windows 2k3 DHCP server as well as a Cradlepoint router. As expected, since no DHCP server provided an address, the routing table is empty.
I retried configuring the Kingston card with a static IP address. This time as expected, ifconfig showed the IP address that was assigned and the route table had been populated. Attempting to ping my gateway, 192.168.17.1, resulted in Destination Host Unreachable. The same results were encountered when the configuration was changed to a different network.
[Code]...
The error message I keep getting during mounting is:-
device-mapper: remove ioctl failed: Device or resource busy
This is from ane external USB HDD I use as a backup device. I've tried formatting it as ext4 ane encrypting it from the command line
# mkfs.ext4 /dev/sdc1
# cryptestup luksFormat /dev/sdc1
which run without errors but an attempt to mount throws up the above error as well as saying - you must specify the file type (tried that) - and fails to mount. I've tried using YaST to format and encrypt it which throws up the same error when I run mount but actually does actually mount the filesystem Googling around has brought up info saying that it's probably a race condition brought on by invalid udev rules. I've got a (mostly) working system and the udev rules documentation leaves more confused than when I started.
I was installing sqeeze i386 on my laptop VOSTRO 1400 and got this the 'grub-pc' package failed to install into /target/. without the GRUB boot loader, the installed system will not boot.
View 3 Replies View RelatedI have directory with sub directories in it. Inside I have bunch of pictures. I would like to find all pictures, and move them to one tmp directory. While moving there might be files with same names. The command I use:
--- find . -name '*JPG' -exec mv -i {} /home/xxx/xxx/xxx/Pictures/2004/tmp ; ---
now the problem comes with overwrite if there are two files with same name. Is there any simple way to copy all files into one directory and not to loose any, appending certain, even random char, to the 2nd file would do.
I work in a compagny and i encounter a problem with the samba trash.When i delete a file from our network directory, the file don't move to the samba trash directory. But, the server create the same samba tree like the orginal file. It's more simple with a example.This is the file i delete to my samba tree S:departementgestion_informatiqueinformatiquecommut est.txt.This is the samba tree that the server create at the moment when i delete my file : @IPcorbeilledepartementgestion_informatiqueinformatiquecommun
The problem is here : We want the file test.txt into this trash tree and it isn't.This is the Samba trash configuration :
# Samba Trash
#--------------------------------------------
# http://samba.org/samba/docs/man/Samba3-HOWTO/VFS.html
[code]....
The samba trash work for an another site of our company.
I have an Ubuntu server x64 (10.04) that is running FOG for imaging Its installed on an Intel server board (1 RU rackmount) I configured the RAID in an Intekl based BIOS utility which Looks similar to This Ubuntu installed and runs perfectly. however im unable to monitor the status of the drives from the OS, so Im unaware of any drive failures that may occur I manged to install megacli but it returns blank data (along with exit code: 0x00) Iv also tryed megactl wich says
Code:
unable to open device /dev/megadev0: No such file or directory
one of my colleagues who had used the server previously was certain that the raid was on board the intel site also makes mention of intel using LSI products in their RAID controllers Relevant section of dmidecode:
Code:
Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
Manufacturer: Intel
[code]....
After upgrading from 10.04 to 10.10 I have had some problems booting my Ubuntu. It all started when restarting after the upgrade, and I got the error;
Code:
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting / sys/ on root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or dirctory
Target filesystem doesn't have /sbin/init.
No init found. Try passing init= boot arg
BusyBox v1.13.3 (Ubuntu 1:1.13.3.1ubuntu11) built-in shell (ash)(initramfs) After searching the Internet, I found a "solution". I just had to boot with a USB stick with the Ubuntu Rescue Remix (the normal Ubuntu USB won't boot either), and i wrote;
Code:
sudo fsck /dev/sdb5
Now I could start my Ubuntu again. So whats the problem? If I turn off my computer the normal way, there is no problem, but if I log off, put it into sleep mode, if something happens and I have to turn it off with the button it goes back to the first problem, and I have to reboot it with the USB stick and fix it all over again! If I don't have the USB stick with me, I probably wont be able to use my laptop!
I am running following commands and ist runs fine for me.cp -r /mnt/datasource/* /opt/IBM/WebSphere/DataSource/But if I put this command in script, it does not work.
vi cpydata
cp -r /mnt/datasource/* /opt/IBM/WebSphere/DataSource/
#save it
[code]....
I am using Ubuntu 10.04 LTS. Two days ago I updated using update manager. After that I can not boot Ubuntu. When I trying to boot system showing message " Ubuntu is running in low-graphics mode Your screen, graphics card and input device settings could not be detected correctly. You will need to configure these yourself" But I can not configure it.I can not boot to 'recovery mode' also
/var/log/boot.log
Code:
fsck from util-linux-ng 2.17.2
/dev/sda6: clean, 304282/1680960 files, 2964945/6723194 blocks
init: Failed to spawn ufw pre-start process: unable to execute: No such file or directory
[code]....
Now I am using Live CD.
I just updated from 9.04 to 9.10 (it's a long story, and I still can't go beyond 2.30).The update got rid of WICD, which is what I used and installed network-manager. Network-manager was not working at all, so I uninstalled it again and installed WICD. I could connect perfectly and had no problems.However, now the computer hangs during boot, saying that init can't start network-manager. I assume that something went wrong during the uninstalling process, since it wasn't updated.
This is the message: init: Failed to spawn network-manager main process: unable to execute: No such file or directory.
So how do I update it or manually change it so it stops requesting network-manager?
My machine is dual booted with Fedora 14 and RHEL 6. (I have only installed Red Hat because I am studying for RHCE). Just now I tried to install the Banshee player on my Red Hat OS. I ran various scripts inside the directory to see what really happens and after I ran the 'Makefile.in' file my terminal froze. It displayed '/bin/ not found'Then i restarted my computer and I got the following messages:
init: Failed to spawn readahead-collector main process: unable to execute: no such file or directory
init: Failed to spawn rcS main process: unable to execute: No such file or directory
init: Failed to spawn readahead main process: unable to execute: No such file or directory
[code].....
I tried run level 1 and run level 3 but I get the same error messages.
PS: My Fedora 14 installation is working fine.
1. Every Sunday2. Find all files older than 1 day3. Gzip these file4. Tar up the gzipped files into one tar file.5. Name the tarball with a date stamp indicating what day it was created, so we know that week's files are in the file
View 3 Replies View RelatedI've upgraded my squeeze box to linux kernel 2.6.32-5. But it shows mounting "here is the uuid of / " on /root failed: Device or resource busy while booting.Here is the menuentry of linux kernel 2.6.32-5.
[code]....
I came from the Debian world so I did not do much building software from source. I successfully built wine from source, now the wine binary is in the same directory where the Makefile and all of the other source stuff is. I can run wine from that directory fine, but I sort of want to move it somewhere else. I tried moving the wine binary somewhere else, but when I try to run it I get
[code]...
What all do I have to move into the new directory to get wine working in the new directory? By convention, where should I move wine, I want it available for all users, should I move it to /opt/wine, or /usr/local/wine, or somewhere else?
I am trying to install iscsi-target on centos 5.4 i386. When I go into the iscsi-target directory and type make I get the following error:
[root@cluster-storage iscsitarget-1.4.19]# make
cc: /lib/modules/2.6.18-164.el5/build/include/linux/version.h: Datei oder Verzeichnis nicht gefunden
cc: keine Eingabedateien
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
make -C usr
make[1]: Entering directory `/opt/iscsitarget-1.4.19/usr' .....
make: *** [kernel] Fehler 2
I was trying to install ubuntu 9.10 as a dual boot system with windows and I recieved this error message: The Grub package failed to install into /target/. Without the Grub boot loader, the installed system will not boot
This Error comes up after 94% of the install. I also cannot seem to get the side by side install option to work (sometimes this option appears sometimes it does not) I am not sure but I beleive seome of the install files have been placed on the hard drive because I only get the option now to install on the hard drive and totally wipe clean or the emptiest hard drive. So how would I get the possible Ubuntu install off the Hard drive. I have used this CD to Install before it has no scratches therefore should work. Also If I have Win Xp on a Raid 0 will the Ubuntu 9.10 install ?
I install Debian on a Power book g3 and i need the right click function. I try mouseemu but it give me an error: open: No such file or directory No uinput device found! Make sure the uinput module is loaded or CONFIG_INPUT_UINPUT is compiled in kernel. if there are other way for the right click function?
View 3 Replies View RelatedI've got a few large, unsorted folders where I dump mp3s. I manage it all through rhythmbox and I've decided to separate the wheat from the chaff by paring down stuff I don't want and throwing all the desirable stuff into a big (~1,800 file) playlist file saved to my desktop.My question to you is, is there a hack that'll let me cp all the file entries in this playlist from their various original directories and into one target directory? Playlist format is:
Quote:
[playlist]
X-GNOME-Title=Biglist
NumberOfEntries=1823[code].....
fakeroot debian/rules clean dh clean dh_testdir i met error after "debuild -S", did anybody meet the same issue?
[Code]...
What I am trying to do is edit the link target to force ip=xxxx.xxx.xxx string at end. I have a software program which access 4 different servers running the software but with different configs. In xp I can copy links and modify as above to correctly force the program to the various servers.
I have read the various how tos on hard vs sym links which I get. Playing around with hardlinks and sysmlinks (the examples I find) does not seem to be what I need. Feel like this is pretty basic stuff but I am a bit stumped.
I've read hundreds of threads on this problem but they seem to be intermittent and the resolution has been using a different kernel version.
I'm using the latest kernel but I still have this problem
Running Logical Volume Manager gui and attempting to extend the volume results in the same error.
I noticed this message "hub 1-0:1.0: unable to enumerate USB device on port 4" appear before the kernel says "no resume image found loading normal init" or something along these lines. Basically what I mean is, this message shows up whenever the kernel loads. So I checked if anything is logged in /var/log/messages (are messages like these logged???), did not find anything in the log.
I then used this command, which showed up the message I was looking for.
dmesg | grep -i enumerate [ 2.379748] hub 1-0:1.0: unable to enumerate USB device on port 4
My USB mouse and other USB hard drives are working fine, without any problem. I just wanted to know if this is some kind of bug. I did some search I found this link , [URL], where this kind of bug was discussed. Looks like they closed the bug.
here is my lspci output:
$ lspci
00:00.0 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)
00:01.0 ISA bridge: nVidia Corporation MCP67 ISA Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP67 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)
[Code].....
Debian Lenny, kernel 2.6.26-2-686 I'm trying to manually mount my digital camera. Picasa recognizes the device and imports pictures. However, I'd like to access my device manually as there are small video files I'd like to retrieve. It's for a fujifilm Z33 WP digicam.
Code:
$ lsusb
Bus 005 Device 010: ID 04cb:01f5 Fuji Photo Film Co., Ltd
Bus 005 Device 004: ID 046d:c012 Logitech, Inc. Mouseman Dual Optical
Bus 005 Device 002: ID 413c:0058 Dell Computer Corp. Port Replicator
[code]....
In Picasa...where it says "Select Device", it finds
Code:
USB PTP Class Camera@usb:
and
Code:
USB PTP Class Camera@usb:005,010
selecting either one of them can access the camera directly. How can I pinpoint my device and mount it using the regular mount /mnt/point/ /path/to/my/cam?
I want to run ISCSI target on CentOS. Both "scsi-target-utils" and "iscsi-target" can be used.
They seem to have the same function.
Is there any significant difference between them, on performance or stability?
I've been having a problem with Bluetooth on Debian 8 Jessie i just can't connect to any bluetooth device, i have only tested my smartphone and my bluetooth headphones, i am using blueman manager.After attempting to connect to my bluetooth headphones/smartphone it just disconnects and says "Connection Failed: No such file or directory",i don't know if i have to create a config file or something, the error message doesn't say anything but the error previously mentioned.
View 7 Replies View RelatedI have a problem defining persistent device naming on a Debian Lenny server.I have:RAID1 controller on the server machine with two SCSI disks.external storage with RAID5. I have / mount on the first partition on the server SCSI disk and /storage mount on the external storage.
I'm experiencing a problem: The system recognizes the system disk (RAID 1), as sda or sdb - randomly.I want: To control the recognition, and tell the system that sda (sda1) will always be the system disk.The motivation: GRUB is configured to work with sda, and when the system disk doesn't, boot process fails, and I end up in the initramfs shell-like interface.
Booting the kernel
.
.
.
mount:mounting /dev on /root/dev failed: No such file or directory
mount:mounting /sys on /root/sys failed: No such file or directory
[code]....