Tag Info

New answers tagged

0

My bad...I was trying to copy a whole directory, not a file. I found out this is accomplished by using cp -a directoryname/. newpath/newexistingdirectoryname/ (and that using "/." is the same as using DOS's "." (wildcard). Sorry about that. And thanks for your help. I'm new to StackExchange. Do I just remove this whole post, or mark it as answered or ...


0

~ is an abbreviation for the current user's (here: root's) home directory. For normal users, this is /home/MYUSERNAME/ and for root it's just /root/. I would suggest you to try your cp command with the absolute path to the file (/root/MYFILETOCOPY) instead of the account-depending abbreviation (not: ~/MYFILETOCOPY). Does that work?


0

In my version, 14.04.2, I have a slightly different menu in the Disks option to hide partitions. 1 Open Disks 2 Left click the drive with partitions you want to hide (it turns orange) 3 Left click the partition you want to hide (it turns orange) 4 Click the double-cog in the bar below the partitions 5 Click "Edit Mount Options" 6 Turn Automatic Mount ...


3

Please read What are "/run/lock" and "/run/shm" used for? and see why what you are asking is not possible and not going to help you create space on / and that you are incorrectly interpreting this data: /run/*/ is a tmpfs; not actual space. Then none in the file system column indicates this is not an actual hard disk. You need to analyse ...


1

You can rsync the files to another, but it won't boot (as you've observed). However, it's not difficult to set the new drive to boot after you've copied the files. The exact method depends on which boot loader you want (grub, gummi, etc.), how you've configured your partitions (do you have a separate /boot partition?), if you're using partition tables or ...


0

Is it possible to do during the installation? No. That is something you need to do after installation. Possible method: you could add the commands for that to a "preseed" file as "post" installation actions. Is there any reason why it could be bad? Bad? No. But I would not expect it myself. If all you are concerned about is databases in /var/ ...


1

No. The problem you have is that if an admin would not be able to remove a file it would introduce a security risk: someone with malicious intent and access to the system would then be able to install a file on your system even the admin of that system could not remove. A disgruntled admin could have some real fun with that... Besides attr (that can be ...


0

Try following this procedure if you have a win7 dvd or disc repair http://www.sevenforums.com/tutorials/20864-mbr-restore-windows-7-master-boot-record.html


1

Boot from live usb Take backup of important data Delete the partitions properly Format with desired OS


1

Resize sda6, then move it to the right ( this will take a very long time, and if you lose power in the middle your data is lost, so make sure you have an updated backup ), then move sda5 to the right, then move the start of sda2 to the right, and finally you will have free space following sda1 that you can expand it into. To manipulate these partitions ...


0

For me also, suddenly all the folders in the desktop disappeared. Also I cant able to open the folders. When I inserted the pendrive, I got the message as "Unable to open the folder. No application is registered as handling this file". What to do???


0

First, you should check what's using up all that space with the "Disk Usage Analyzer" tool that ships with Ubuntu. From a terminal, run: gksudo baobab / That should give you an idea of what uses so much space. Then: Check how much space /root uses. Usually it should be less than 1MB. If you have anything larger in there, move it to your /home. Check ...


0

This worked for me when the other's failed on Android through the shell: find / -type d -exec sh -c "fc=\$(find '{}' -type f | wc -l); echo -e \"\$fc\t{}\"" \; | sort -nr | head -n25


1

Looks like I was wrong about it being an issue from somewhere else, it actually wasn't a corruption issue! Fixed via this answer: After some fiddling about, I was able to reclaim a large amount of space with tune2fs: wim@wim-ubuntu:~/Desktop$ df -h | grep sdc /dev/sdc1 1.8T 1.7T 352M 100% /media/data wim@wim-ubuntu:~/Desktop$ sudo tune2fs ...


1

If you want to get the Ubuntu file system from the Ubuntu ISO image you might want to look inside (archive) file casper/filesystem.squashfs from the Ubuntu ISO image. Un-archiving this file on the target file system is actually part of the Ubuntu installation procedure (performed by the Ubuntu installer, which does other things as well so in the end one can ...


1

Based on the file system list provided, I don't see any disk mounted at /home. This indicates to me that your home directories are currently mounted at / If this is the case the solution is rather easy if you have a free port to mount another drive. 1) prepare a drive of the desired size formatted with the desired filesystem. 2) mount the prepared drive ...


1

the "vagrant" user will not have permissions to do anything in /root because it will have 0700 perms. Therefore anything in /root or in any subdirectory under /root etc will not be accessible by any use other than root. Prefix it with sudo and it should work. This is the correct setup and I strongly recommend that you leave /root's perms as 0700. Don't ...


1

Some spontaneous ideas how to track the origin of those files: Look at the names of the temporary files. Many programs choose names that allow you to infer their origin. Look for processes with open references to them with fuser(1) or lsof(8). Look for suspicious log entries around the last time of modification of the large temporary files either in the ...


0

Your sda is 98% full and sdb is 100% full... The answer to your question "How can I add new data when logged into my Linux partition?" is therefore: Buy bigger hard disks... Note to the low-quality queue reviewers: yup, that’s it...


0

If you want to remove all those mini files, I might suggest running these two commands: cd / rm -r 6jF8vak8\ H (if "/6jF8vak8 H" is the directory hosting all those files like you mention in the comment.) If this command fails, it might be because you lack permission to write to that directory, in which case you would need to use sudo - which is ...


1

if it is something with encrypted install then follow this link, Can I disable full-disk encryption?, it is already answered.


1

Apple's Boot Camp uses a hybrid MBR to help a BIOS-booted Windows coexist with an EFI-booted OS X. As noted on the linked-to page, hybrid MBRs are dangerous and trouble-prone. I suspect you may be running into a problem related to this. Your fdisk output seems to show the MBR side of things -- certainly the single line of output you've shown is consistent ...


1

I am using pantheon file manager which also open file on single click. So if I have to select a file I have to Use Ctrl+Click on file Select the the file by drawing selection box by dragging the mouse.


1

Using the keyboard (in Nautilus): Open the window Type the first character of the file or folder you want to select. A rectangle will appear and the corresponding file will be selected. If there are more files / folders with the same first character, type the next character to refine the definition As a nice "bonus" some information on the folder is ...


1

It surprises me that hovering doesn't work, but you can drag to select a small area covering only that file, the way you'd drag to select multiple files.


0

I wasn't reading the output from mount fully: thufir@doge:~$ thufir@doge:~$ mount /dev/sda1 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,nodev,noexec,nosuid) sysfs on /sys type sysfs (rw,nodev,noexec,nosuid) none on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755,size=1024) none on /sys/fs/fuse/connections type fusectl (rw) none on ...


0

No. We're in 2015 at the time of this reply. I am using OSX Yosemite, Ubuntu 14.10, and the Windows 10 technical preview for enterprises on a Mactel machine (Macmini 7,1). I tried both UDF and exFat. I use Ubuntu for development and do need Unix-style permissions. All former guides don't apply anymore: UDF drivers have evolved and all operating systems ...


1

and if you try to delete it it doesn't seem to work If a normal rm -rf {dir} does not work do a disk check first. Easiest to do that would be (this will reboot your system and do a disk check during the boot): sudo touch /forcefsck sudo reboot And try a rm -rf {dir} again. If that still does not work try it from a live dvd. Don't kill the command ...



Top 50 recent answers are included