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

learn more… | top users | synonyms

0
votes
0answers
41 views

Make world writeable files and directories colored normal in terminal

I have three partitions on my computer, one for windows, one for Linux (Ubuntu 16.04), and one shared between the two OS, formatted in ntfs. I mount the shared partition on startup and created a soft ...
0
votes
1answer
317 views

Installing Ubuntu Server 16.04 on Vmware

I am installing Ubuntu 16.04 virtual machine on an Intel server using vmware. For some reason, it is creating the root file system as ext4 but I NEED it to be ext3. Is this possible? I have been ...
0
votes
0answers
36 views

UBUNTU 14.04 not reading Blu-ray data disks correctly

I have a few Bluray disks (50GB) with archived data files on them. To Ubuntu 14.04, all files in the top directory appear with their names and "binary file" type, but nothing more. I cannot access ...
0
votes
0answers
10 views

Making a Live CD in Xubuntu

As soon i realised how important is to have a backup of your files,i bought a external drive in order to backup them.Now i want to switch to another Operatins System but still keep my Xubuntu Copy on ...
0
votes
0answers
23 views

Encrypted USB stick, unrecognized file system?

Good morning, I'm in need of assistance in creating an encrypted usb drive. I used the format LUKS+EXT4 option, now when I plug in the drive I'm asked for the passphrase but then I get a warning ...
0
votes
1answer
59 views

Where does update-initramfs look for kernel versions?

I needed to regenerate initrd. Doing this: update-initramfs -u -k all threw up errors for a kernel I compiled and then deleted some time ago (because update-initramfs could not find the /lib/...
0
votes
1answer
33 views

Input/output error when accessing a directory

I have ubuntu 14.04 installed on a 256Gb SSD (Sandisk). The drive is partitioned to 120 GB (with OS) and the rest as a secondary Data partition. The Data partition has started having I/O problems this ...
3
votes
0answers
36 views

Fastest File System Type

We currently/still write to tape for off-site backups (avg size is 80 GB per day) and the robot is misbehaving as of late. I'm setting up an NFS share on Ubuntu Server 14 (16 when it releases) to ...
2
votes
2answers
41 views

Finding my swap partition

It looks like I have 40 GB of swap: wuser@wavesftwDell:~$ cat /proc/swaps Filename Type Size Used Priority /dev/dm-1 ...
0
votes
1answer
59 views

Why do i get wrong filesystem error on mounting external drive whilst correct ntfs-utils is installed?

since today I get the following message when inserting usbstick/sd card: Aankoppelen bestandssysteem is mislukt Error mounting /dev/sdb1 at /media/wouter/Kali Live: Command-line `mount -t "...
1
vote
1answer
69 views

My normal user file system only works in read-only mode and i don't have the password for the root user

I have Ubuntu Server V14.10.the administration of this system disappears with a former employee. I do not have the root password and apparently the file system for the user that I use is protected and ...
42
votes
4answers
7k views

Accidentally created directory named “~” (tilde)

I managed to make a directory literally named ~. (Apparently, Python's os.mkdir('~/something') does this.) How do I remove it without nuking my home? Also, if it helps, I have my real /home on a ...
0
votes
0answers
53 views

Create a rootfs in the SD card

I try to make a rootfs in the SD card with Debian Chroot, but after mounting the loop I don't know how to continue. I want to mention that I don't know how to use debootstrap (and I'd prefer not to ...
-2
votes
1answer
40 views

Where can I find a folder containing icons of all my applications, that I can double-click? [duplicate]

Where can I find the folder where I can see icons of my applications and click on them as I am accustomed to from other operating systems? (N.B. Please see my comments re duplications.)
72
votes
8answers
11k views

Does Ubuntu damage USB drives?

Whenever I unmount a USB drive with Nautilus and plug it to a Windows machine, I receive a warning that the drive needs to be repaired. (the same message like in this screenshot) For 10+ years ...
0
votes
1answer
29 views

Error creating bootable USB using “cat file.iso > /dev/sdb”

At first, I had this USB flash drive with a Ubuntu 14.04 LTS bootable in it. But now, I want to remove/wipe it and create a new bootable of another OS. First, I tried directly: sudo cat file.iso > ...
0
votes
0answers
33 views

Can't start without systemctl after moving /home

Due to storage limit I recently moved /home, /tmp and /usr directories of an Ubuntu Unity 15.10 installation from independent ext4 partitions to ZFS datasets. This question relates the process I ...
0
votes
1answer
30 views

Pasted file has more MB than the copied?

Ok so I have ubuntu 15.10 installed on a USB and boot with it as my main OS on this computer. The computer has 2 hard disks one connected to a SATA interface and one through USB too... none of them ...
0
votes
1answer
28 views

Finding a large file being created by the system

I ran some code that caused root file system to run out of space; the code then crashes and the file is deleted. I need to find out which file is being created there. How can I quickly (while the ...
0
votes
0answers
81 views

Move /home and /usr to ZFS datasets

I installed Ubuntu to an SSD. Setting up specific partitions for /usr, /home and /tmp. This is my /etc/fstab: #Entry for /dev/sda4 : UUID=590649b2-d8ce-489d-975a-0d5415bffbaa / ext4 ...
0
votes
1answer
26 views

I created the file \.sh , am I in trouble?

I had a really bad idea: Curious about what could happen, I wanted to try to use various non-alphanumerical characters as file names. Think may have been a bad idea. I created the a file in the ...
0
votes
0answers
25 views

Making Ubuntu Touch wriable

I am running Ubuntu Touch on my Nexus 4. By default the Filesystem is readonlya and I would like to make it writable . In this Link [1] it is promised to use this command,via a USB connection by using ...
0
votes
1answer
54 views

Can /home/user/music and other media folders be moved to a separate drive? [duplicate]

I have two hard drives. One is a 256GB SSD and the other is a 1TB HDD. I installed Ubuntu to the SSD and that is where my /home directory resides. I would like to use the HDD for media storage. How ...
0
votes
1answer
21 views

Resized Primary Partition, Filesystem Size Not Updating

I moved and resized by /boot primary partition using gparted. sudo parted /dev/sda print Number Start End Size Type File system Flags 1 1049kB 256MB 255MB primary ext2 ...
0
votes
0answers
84 views

initramfs unable to find a live medium containing a live file system

When I turn on my laptop I am getting the following message: BusyBox v1.21.1 (Ubuntu 1:1.21.0-1ubuntu1) built-in shell (ash) Enter 'help' for a list of built-in commands. (initramfs) Unable to find ...
1
vote
1answer
146 views

How do I give myself access to /var/www to create and edit files and folders in it without 'sudo'?

I have a folder in my web server /var/www. I need to add files to the folder, but the system will not let me unless I use sudo. Is it possible to give myself access to modify the folder and its ...
1
vote
1answer
50 views

Allowing an OS to use unclaimed free disk space on other partitions for temporary purposes?

Let's say you have something like the following situation: three partitions, one small with OS, and several bigger ones, let's assume all are ext4: / - 10 GB size, 9 GB used, 1 GB free /...
3
votes
1answer
67 views

Is it possible to change the filesystem type of the Compact Disc (CD) in linux using terminal commands?

I have a new Compact Disc (CD) which is sony(rewritable) and its Filesystem type is UDF. Now it is possible to change it to CDFS filesystem using terminal commands or any other software? The reason ...
6
votes
2answers
2k views

Why there are 2 directories having same content?

cd /proc/$$/root/bin cd /bin After running ls command on both the directory, I found that content of both directories are same (which is nothing but list of commands). Is there any specific reason ...
2
votes
0answers
34 views

What is the partition type ('t' command) in fdisk good for?

I can't understand the difference between the filesystem specified using fdisk's command line interface with t. And the one used to format it later using say mkefs. Why do we need to specify it twice?...
1
vote
1answer
39 views

When copying files via USB from Ubuntu to Windows 7, there is a different number of files

What's up guys, I'm trying to backup some Ubuntu files to my Windows machine. I have all the files in one folder and when I click "Properties" in Ubuntu it says 696 items, 742.6 MB. When I copied that ...
0
votes
0answers
8 views

Writemode journalling mode

From what I understand in data mode both inode and file data are stored in journal and in ordered mode only inode data is kept in jounral and removed after file data is successfully written. What I ...
8
votes
2answers
2k views

I have a file named “-t”. How to remove it? [duplicate]

Output of "ls -l": -rw-r--r-- 1 root root 0 Mar 4 08:22 -t When i try to do "rm '-t'": rm: invalid option -- 't' Try 'rm ./-t' to remove the file '-t'. Try 'rm --help' for more information.
8
votes
1answer
390 views

How does ctime change?

I'm trying to precisely understand when the ctime timestamp of a file is changed. In many places (e.g., in the accepted answer here) it is suggested that any change in the file attributes will also ...
0
votes
1answer
172 views

Why does lsof complain about tracefs?

Every execution of lsof issues a warning about the TraceFS: $ lsof any-file lsof: WARNING: can't stat() tracefs file system /sys/kernel/debug/tracing Output information may be incomplete. $ ...
0
votes
1answer
56 views

In which system file does 'export' command make changes?

I installed java-8 using a PPA. After that I gave a command: export JAVA_HOME=/usr/lib/jvm/java-8-oracle I had heard somewhere that this command does temporary changes. But after many logouts and ...
0
votes
2answers
13 views

troubleshooting updatedb

I am taking a course that makes me go on terminal and run updatedb. but this is what I get: nonrootuser$ updatedb updatedb: can not open a temporary file for `/var/lib/mlocate/mlocate.db' so far I ...
1
vote
1answer
377 views

ext4 broken file system on ubuntu 14.04.4

I have a desktop computer with Ubuntu Desktop 14.04.4 LTS 64-bit with an attached HDD USB 3.0 4TB Intenso 1 partition ext4 data drive only (no OS or Apps). After a sudden power failure I am unable to ...
0
votes
0answers
29 views

How to get to the right directory?

In sitting with Ubuntu mate 15.10 xx@ThinkPad-X250:~$ cd Desktop bash: cd: Desktop: No such file or directory xx@ThinkPad-X250:~$ cd downloads bash: cd: downloads: No such file or directory How ...
4
votes
2answers
107 views

Accidentally installed ubuntu on the whole disk instead of a specific partition

I had Linux installed on my laptop with 3 partitions: [System: 100Gb Ext4 Mount Point / ] [Data: 400Gb Ext4 Mount Point /media/Data] [Swap: 8Gb Swap] I needed to reinstall my system and wanted to ...
1
vote
0answers
28 views

After crash I get an unknown filesystem error

Today my PC crashed (I was kinda expecting it cos Firefox and full screen videos kinda crash my PC) and when I rebooted I got an error saying unknown filesystem. I booted to a live USB and the ssd ...
1
vote
0answers
38 views

USB read-only via graphic UI and writable via CLI

Why I'm unable to write on USB via Files (Nautilus, graphic UI) and I'm able to write on it using CLI? Using Files I'm getting the error: Error while copying to "DEVICENAME". This destination is read-...
0
votes
0answers
11 views

What should be compared with ullimit -n

I know that max number of opened files per user is set in $ ulimit -n What is the right way to get a number to compare it with? My guess would be $ lsof | grep "REG" | wc -l but this number ...
1
vote
0answers
62 views

Need help extracting data from a floppy disk formatted by an old drum machine

Alright, for context I make music using an old drum machine which uses 3.5" floppy disks (Emu SP-1200) and I am trying to take a look at what the OS binary and sound file formats are like. But I'm ...
2
votes
2answers
2k views

'cat': can't open file: Permission denied

I am trying to copy the whole / directory to some other location. When doing cp recursively, it fails on some files like:- / # ls -lrt /sys/module/nf_conntrack_ipv4/uevent --w------- 1 root ...
0
votes
0answers
54 views

Unable to mount root filesystem after cloning volume with dd

I am trying to clone a Ubuntu install on an 8GB SD card. I created an image of the volume using dd, then copied this image onto another SD card using dd again. The SD card contains 2 partitions: a ...
0
votes
1answer
174 views

How do I expand my filesystem? I have Ubuntu MATE on a Raspberry Pi 2

I have Ubuntu MATE on my 32gb micro SD card using a Raspberry Pi 2. I really need to know how to expand my file system. I looked it up, but all I got was an error (value out of range). I will list ...
0
votes
0answers
22 views

init.d location

I was looking through "man hier" but did not find the location of the folder init.d. The issue is that, it suddenly appeared in my home directory and has a little lock as if I am not able to access it....
2
votes
1answer
24 views

I have software (blender 2.76b) running as an “executable” from my home/documents folder. Should I move it to opt? ( (k)ubuntu 14.04)

I'm running (k)ubuntu 14.04 and everything I've read tells me to install 3rd party software in opt. everything is working fine but I want to know if I'm going to encounter problems later with add-ons ...
0
votes
1answer
22 views

How to run an application on a disk partition ubuntu

I have loaded /dev/pmem0 filesystem on /mnt/ramdisk. output of df command: Filesystem 1K-blocks Used Available Use% Mounted on /dev/pmem0 307200 4120 303080 2% /mnt/...