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

learn more… | top users | synonyms

8
votes
1answer
8k views

fsck error on boot

I dual boot between Ubuntu and Windows 7. I was browsing on FireFox in Ubuntu and all of a sudden I get some error message, so I reboot. However when I try to boot into Ubuntu I get this message: ...
0
votes
1answer
58 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 "...
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 ...
1
vote
1answer
368 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 ...
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 ...
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 ...
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 ...
1
vote
1answer
1k views

Delete files on HDD while using LiveCD

I've got a little problem. After installing the latest upadates Ubuntu 13.10 (IIRC) and rebooting, I can access the GUI log-in interface, but after entering my password the monitor remains black with ...
-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.)
13
votes
5answers
20k views

Solving permission problems when using external EXT4 hard disk with multiple linux installs

Hello I have a external hard drive and since I only use Ubuntu and Fedora I decide to format my hard drive to ext4 everything is fine. The problem is when i mount the drive i need to change the ...
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
4answers
5k views

Permission Denied when trying to download a torrent?

I want to know the solution to this and resume my downloading. I am running Ubuntu 10.10.
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 ...
1
vote
2answers
322 views

/sys/bus/usb/drivers/r8712u/new_id is unchangable

I got my newly purchased wireless stick to work, but I had to change the /sys/bus/usb/drivers/r8712u/new_id file during the process. I somehow managed to add the string "050d 11f1" to it, but it seems ...
0
votes
0answers
78 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
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
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
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 ...
13
votes
3answers
18k views

Change the default Downloads directory

I originally had a Downloads folder, but decided to create a separate partition for it. So I renamed Downloads to Downloads2. I know, I should have just cut and pasted the content, but this seemed ...
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
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 /...
1
vote
1answer
143 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 ...
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.
7
votes
2answers
22k views

Which is better for a home media server: zfs or btrfs or LVM/md? [closed]

I'm looking at building a new home server and would like a flexible filesystem. Both btrfs and zfs are interesting. I want to be able to do soft raid and have flexible solution allowing me to expand ...
8
votes
1answer
389 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 ...
2
votes
2answers
3k views

Can't mount ISO file as loop device: Error: “failed to setup loop device”

sudo mkdir -p /media/cdrom cd ~ sudo mount -o loop ubuntu-* / mount: ubuntu-*: failed to setup loop device: No such file or directory
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 ...
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 ...
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 ...
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
37 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-...
99
votes
2answers
80k views

Mount unknown filesystem exfat

When trying to mount an exfat filesystem, I get the following error: Error mounting /dev/sda6 at /media/gkp/Backup: Command-line `mount -t "exfat" -o "uhelper=udisks2,nodev,nosuid" "/dev/sda6" "/...
1
vote
1answer
110 views

What's the “/sys” directory for?

A while ago I noticed this directory that I had not ever seen before, /sys. I researched a bit and read that "modern Linux systems" often have this directory, and that it manages devices. I thought ...
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 ...
15
votes
4answers
5k views

What file system do I have installed?

Is there any way to check it from command line?
1
vote
1answer
2k views

How come you can put a question mark in file names?

In Windows, you can't put a ? in a file or directory name, because they are reserved characters for PHP GET functions and wildcards. But in Ubuntu, I can. I can name a file lol?.txt and access it ...
2
votes
2answers
5k views

Problem with NIS configuration

I tried to configure NIS in a server and a client both running Ubuntu 14.04 following this guide and this official guide. After a reboot the client machine got locked with this message several times ...
37
votes
3answers
28k views

How to open Nautilus at current command line directory?

I was wondering if anybody knew a command that would allow me to open a Nautilus (if that's the right name for the Ubuntu 12.04 graphic/window explorer) window from the command line at the current ...
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 ...
1
vote
0answers
59 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 ...
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 ...