Tagged Questions

Questions dealing with Ubuntu's layout of files, permissions, and files that reside in special locations on disk.

learn more… | top users | synonyms

1
vote
0answers
13 views

An error occurred while mounting /

for no reason I have not been able to boot Ubuntu 14.04 today. Splash screen at first displayed "An error occurred while mounting /". I tried to do filesystem check: ubuntu@ubuntu:~$ sudo fsck.ext4 ...
0
votes
0answers
7 views

How to write to read-only file system? [on hold]

I installed Linux Mint 17 after Ubuntu 14.04 And my SD card which was accessible is now read only. I tried to remount it: nazar@lelyak-desktop /media/nazar $ sudo mount -o remount,rw ...
0
votes
1answer
22 views

New File System drivers for ubuntu [on hold]

I have done some kernel development previously, simple ones really. I wanted to know what direction I should be looking in to create a custom files system of my own. Most things I have found with a ...
0
votes
0answers
18 views

Encrypting filesystems on 14.04

I recently installed Ubuntu 14.04.1 server on an HP ProLiant ML110 which had previously been running 12.04 and which has two additional hard disks containing data in an unencrypted form. I didn't ...
0
votes
2answers
33 views

Media Scanner Script

I am a beginner with Bash scripting. I have recently been working on a script to harden Ubuntu computers for a school project. Everything is going well, except that the students are not allowed to ...
0
votes
0answers
13 views

Mount disk with write permissions but leave it untouched

I have a raw image that I would like to mount to my system (Ubuntu 12). The problem is that I don't want to write anything to the disk itself, so the raw image will stay as it was before mounted. I ...
0
votes
1answer
11 views

What file lets me change the directories linked to through the places menu

I'm sure I've edited this before but I've searched around for answers and I can't seem to find what the file was. (ex to change the location of the pictures link under the places menu to somewhere ...
0
votes
1answer
18 views

Trusty Tahr 14.04 fsck.reiserfs not installed by default [closed]

So I upgraded to Trusty 14.04 today and wanted to put /var on a separate reiserfs partition. The installer doesn't have support for reiserfs anymore :-( But apparently the kernel still does so I ...
1
vote
2answers
20 views

Default to showing and using pathbar in Ubuntu file dialogs?

I have fresh installs of Ubuntu and am trying to get it to default to showing the path bar in file open dialogs. Currently, if I am prompted to save or open a file a file dialog is shown but defaults ...
1
vote
1answer
19 views

How to Create Virtual Block Devices

I want to create multiple virtual block devices like /dev/sda and then use them to create an md device for test purpose. I have mounted my root filesystem on /dev/sda1 and don't have extra space to ...
2
votes
1answer
87 views

Accidentally partitioned media drive as ext3 during install (was ext4), how can I recover?

I recently did a fresh install of ubuntu on a system with an old ubuntu install. I have a separate hard-drive which used to have a single ext4 partition, but during the install I accidentally selected ...
0
votes
0answers
20 views

Can't remove or list a file inside Dropbox directory

I tried to delete a directory named .dropbox.cache under Dropbox folder(dropbox was not running or not started yet) with sudo rm -r -f <directory_name> but it results rm: can't remove ...
0
votes
0answers
17 views

Can't install OR liveboot 14.04.1

At the moment, I'm constantly having "can't find a medium with a filesystem" thrown back at me. This is an improvement from the thousands of squashfs errors I used to get (using a differnet USB drive, ...
1
vote
1answer
16 views

Minimizing effects of large number of files

I need to manage a filesystem with a large number of files (hundreds of thousands). This filesystem is rsynced periodically. The vast majority of files don't change often, but since there's so many, ...
2
votes
2answers
62 views

Directory using more space than expected

I have a directory on Ubuntu that contains 262144 files. Each file is a 25x25 png image. On average these files are approximately 1.14kb and no file is larger than 2kb. Yet this directory is using ...
0
votes
0answers
11 views

Windows VBox ubuntu vdi Error: unknown filesystem … grub rescue

Win 2003 Server --> Virtual Box --> Ubuntu 14 After running chkdsk/f on Win 2003 one VM (.vdi) stopped working Error: unknown filesystem. Entering rescue mode... grub rescue> _ And there it hangs. ...
-1
votes
1answer
53 views

How do I fix a bad /etc/fstab if the hard disk read-only?

I had created a bootable hackintosh usb stick but I found that I had a problem that could be solved by renaming a file or editing another. But the usb stick was read only and, in a moment of ...
0
votes
1answer
48 views

How can I make update-manager require less free disk space on root partition

My system contains a relatively small root partion (around 16) and the rest on home. Now my upgrade from 14.04 to 14.10 fails because it needs 8 GB of free space on root but I only have 4 GB and I see ...
1
vote
1answer
30 views

Monitor folder contents changes

I can monitor the content changes of a file using tail -f command Is there a similar way of monitoring the changes of a directory structure the way tail -f monitors file? I have a long running ...
1
vote
0answers
18 views

I have lags when I'm deleting files from desktop with Xubuntu

I have Xubuntu 14.04 and I am experiencing some lags when I work with desktop icons, especially when I'm deleting them. Haven't notice that with Thunar filemanager and in System Monitor couldn't ...
0
votes
0answers
25 views

setup tmpfs on same partition as /etc

I'm using 12.04 LTS. How do I setup tmpfs (I'm assuming this is the tmp directory, please be patient with me I'm not very advanced with Linux) on the same partition as the /etc directory? Current df ...
0
votes
1answer
21 views

How can I view thumbnails of pictures?

How can I copy the attributes of the pictures folder so that I can view thumbnails of pictures on, for example, network drives?
0
votes
1answer
22 views

Best underlying file system type and configuration for HDFS

I would like to reformat a local drive partition and turn it into a partition for HDFS. Which file system would be most performant for running HDFS on top of it? Any optimizations I should take care ...
0
votes
0answers
8 views

chinese floder name is gash when i recived it which created in windows

my chinese floder name echo like this "2014-09-24(yxy)(R-STHRSS20140923-0052)(Çຣ)Ôö¼ÓË«²ãVLANÓëÉ豸¶Ë¿Ú¹ØÁª¹Øϵ" ,file name too. it was created in windows platform,how can i fixed it.
0
votes
0answers
107 views

mtp usage: how to mount and transfer files to and from a Samsung: Galaxy model Android phone

how do I use mtpfs to read/write to a USB connected Android phone, connected as a mass storage device: thufir@dur:~$ thufir@dur:~$ mkdir phone thufir@dur:~$ thufir@dur:~$ sudo mtpfs -o allow_other ...
1
vote
0answers
54 views

Why MTP mounted files belong to root?

Xubuntu Saucy and an Android device running Kitkat. I connect it to my computer and it is mounted as MTP but the files on it belong to root so I can't modify them. Why is this and how can I change it? ...
0
votes
0answers
25 views

The / and /usr merge not implemented in my Ubuntu?

Reading through systemd docs I came across TheCaseForTheUsrMerge. The discussion about this topic dates from around 2012 AFAIK, and the opinion then was that all major distribution would incorporate ...
0
votes
0answers
65 views

Enabling xattr on Ubuntu 14.04

I'm unable to set any attributes on files using xattr -w 'key' 'value' hello.txt I keep getting: [Errno 95] Operation Not Supported: 'hello.txt' My /etc/fstab is: ...
0
votes
0answers
26 views

No more space in File System

These last day i ran out of space on file system, this means, i can't install more updates, packages, and programs. Does someone knows how can i "expand" my space on the File System... 15.6GB are not ...
0
votes
0answers
17 views

Convert filesystem to LVM - blocks

I'm trying to convert and ext4 filesystem to LVM. I found a script called blocks that pretty much automates most of it but am having issues getting it working. https://github.com/g2p/blocks#readme ...
1
vote
1answer
38 views

Large discrepancy between df and du

My / partition which holds everything (including /home), was suddenly using 100% of disk space. I removed a few files and now df shows $ df -h /dev/sda1 Filesystem Size Used Avail Use% Mounted ...
0
votes
0answers
18 views

How to solve my Filesystem check or mount failed problem

I tried to install Ubuntu 14.04 it stall in the middle of the installation so I rebooted my computer and now I get a message that says filesystem check or mount failed.what does this mean and how do I ...
0
votes
0answers
15 views

File not modified, Problem in saving JS file UBUNTU

At 13/08/2014 2.30pm I saved my file named script1.js. And OS was Ubuntu 14.04 tasty tahr. Text editor was sublime Text and browser was google chrome. It was containing more than 500 lines of code. ...
0
votes
0answers
8 views

Is there a filesystem with caching and location-awareness?

Is there a way to setup a filesystem spread on 2 machines A and B in the following way? A and B are not on the same local network. Connecting to any machine shows the same files Writes to any ...
0
votes
2answers
42 views

14.04.1 report “zero” kilobytes of disk space

I have a 400g sata external drive as a backup for /home. I use the default backup app from Ubuntu named: "Backup". The bu drive connects to the 'puter via sata cable. When I powered the drive up today ...
0
votes
1answer
172 views

Partition and file system scheme for Win 7 and Ubuntu 14 dual boot with UEFI and GPT [closed]

After looking through a lot of different guides and information on this site and others, I have a basic idea of a partitioning scheme to use for a dual boot Ubuntu-Win7 machine but I'm not so clear ...
2
votes
1answer
129 views

Most stable filesystem to create a usb startup disk?

I don't care about compatability or speed; I just want stability, that it is quick to respond, won't wrestle with me when I need to unmount it, etc. Ext4, btrfs, xfs, or what?
1
vote
0answers
26 views

What is the equivalent of the following directories in relation to windows for ubuntu? [duplicate]

I'm still learning the linux file system and understanding where everything is installed. I'm coming from windows mindset and would like to wrap my head around the following directory equivalents: ...
3
votes
2answers
298 views

Accidentally deleted /opt, how do I create it again?

I am new to Ubuntu, today I was learning how to delete files and folders but accidentally I deleted the /opt directory that located in Computer. I don’t know if what I deleted is important or not. So ...
0
votes
1answer
26 views

remove files on NTFS with \n in the filename

I was moving files using Windows (had to at that time) from one NTFS partition to another but the computer switched off. Some files have been transferred, but some remain. I'm not able to delete them ...
1
vote
2answers
163 views

Loop through all folders and executing script

I have a bash script install.sh in my current directory and I have a directory apps which contains multiple directories. I want to loop through these sub directories in app folder and execute some ...
1
vote
1answer
38 views

What are the best default locations for specific file types?

For an application I created, I am trying to find the best folder locations. I installed the application, as suggested by documentation, in /usr/share/company_name/product_name, save a config.ini file ...
0
votes
0answers
90 views

“No root file system defined” error while installing ubuntu

I am not a computer techie. I installed Ubuntu side-by-side with Windows 8.1 on a Lenovo laptop but I keep getting stuck at an error 'No root file system is defined, please correct this from the ...
0
votes
0answers
102 views

Error: Unable to access jarfile spl.jar for stanford portable library

I'm trying to install the Stanford library for Harvard's CS50 but I'm running into a few problems... I've got the .h files in usr/local/include/spl and I've got the libcs.a in usr/local/lib but I'm ...
0
votes
1answer
219 views

How do you restore an encrypted hard drive? Password being available

Installed by Ubuntu 14.04 LTS Installer: I have installed Ubuntu 14.04 LTS Desktop onto my notebook PC, and I made a wrong decision to alter the file ownership and permissions from the root drive as ...
0
votes
1answer
85 views

Corrupted filesystem - unable to mount /home

Ubuntu 12.04 is not able to mount /home partition and I run: fsck /dev/sda5 which is in state Pass 1D: Reconciling multiply-claimed blocks (There are 41608 inodes containing multiply-claimed ...
1
vote
2answers
272 views

Linux dropfolder where users can't delete files

I am working on a file server project for school and I am using samba to share the folders. I have been playing around with the folder permissions but I can't seem to figure out how to make a drop ...
1
vote
1answer
176 views

/var/log taking up 8.9 GB! What should I do? [duplicate]

I am running Ubuntu 14.04 on my ASUS N550JV laptop. Just today I got a pop-up notification telling me that there were less than 100 MB in my root partition. I checked it and find /var/log is taking up ...
0
votes
0answers
8 views

/etc/../run and /run have different i-node. How can I safely resolve this issue?

My system shows different inode for /etc/../run and /run. $ ls -iald /etc/../run 393217 drwxr-xr-x 2 root root 4096 sep 6 19:18 /etc/../run $ ls -iald /run 9221 drwxr-xr-x 31 root root 1060 sep 25 ...
1
vote
1answer
42 views

How can I get rid of /etc/../run?

For some reason (most probably happened during an upgrade more than one year ago), my system has a directory called /etc/../run (strange, right?). It is empty but I cannot remove it: $ ls ...