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

learn more… | top users | synonyms

6
votes
1answer
101 views

Resized VirtualBox VM disk, but when partitioning can't use all new available space

yesterday I've resized a VM Virtual disk from about 15 GB to about 26 GB. If I run fdisk I can check that disk is resized: Disk /dev/sda: 26.2 GB, 26214400000 bytes 255 testine, 63 settori/tracce, ...
5
votes
1answer
98 views

How to create a directory users can't delete (but can delete files in it)?

Is it possible to create a directory that ordinary users cannot delete, but they could create and delete files and subdirectories inside this directory? i.e. for /share/permanent/ users could ...
5
votes
1answer
1k views

Ubuntu installer thinks my drive is empty, does not see windows paritions

I am trying to install Ubuntu10.10 64bit. I just installed Windows 7 64bit moments ago. My drive is currently partitioned like so: 100MB Boot partition (automatically made by windows 7 installer) ...
3
votes
1answer
60 views

How can two files on a CD-ROM have the same inode number yet have a link count of 1?

As I was doing some sorting of my collection of CDs, I found out that processing the output of a find with sort -u was giving me a smaller list than plain sort, so I investigated. Using diff on the ...
3
votes
1answer
205 views

Inconsistent parent directory of all symlinks

A large portion of my system depends on symbolic links, so this is a very serious problem. I do something like the following cd mkdir test mkdir other cd test ln -s ../other/ # So ~/test contains a ...
3
votes
1answer
195 views

Is file permission secured when it transferred from Ubuntu to Windows?

I am having 9GB text file which is encrypted . This file contains some confidential data . Which is on my system(Ubuntu) and my external HDD (ntfs) . This file get daily updated and then encrypted . ...
2
votes
1answer
78 views

Unable to write to disk but disk isn't full

I can't write to any file, even as root, or do any other operation that requires writing. Neither can any process that needs to write, so they're all failing. df says I've got plenty of room: ...
2
votes
1answer
87 views

To transfer the present ubuntu image to other system

I want my Ubuntu with all installed applications and local files to be transferred to other system, which I ll be dual booting. My present system is also dual booted. I wanted to know if that ...
2
votes
1answer
38 views

I rm -rf'd /var/!

I recently rm -rf'd all of /var/ on my box and I've made a VM with the same OS/bit, I plan to upload all of the contents from the fresh VM and replace my messed up /var/ on my box with it. What's a ...
2
votes
1answer
157 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 ...
2
votes
1answer
126 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 ...
2
votes
1answer
1k views

Double click not working as expected in file manager

I have Ubuntu 14.04 installed on my laptop. I have a Dell XPS l502x which works very good. I just noticed this (possible bug?) with Ubuntu 14.04 while in the file manager in the home folder. When I ...
2
votes
1answer
423 views

Files saved with Ubuntu is not visible in Windows 8

I have dual booted my laptop with ubuntu 12.10 and windows 8. When I download some file via ubuntu (e.g a pdf) and save it on a windows partition(NTFS), I do not see it through windows 8. Even when I ...
2
votes
1answer
490 views

Grub corrupted and etc directory missing

I have a dual installation with Ubuntu 10.04 and Windows 7. I was in windows, I had to restart my machine and my grub was not loading. I used boot-repair to load my grub. However, my linux ...
2
votes
1answer
502 views

Moving Kubuntu from hdd to ssd

I bought a new SSD to install it in my HTPC. Before, I had an HDD with Kubuntu. I would need to copy the files from the / partition from HDD to SSD. To do this, I booted from the Kubuntu livecd, ...
2
votes
1answer
944 views

How do I interpret the output of the filefrag command?

I have a dump file in my system that has confidential data in it. I tried using the filefrag command to open it. The output is: root@sateesh935-SVE15115ENB:/home/sateesh935/Desktop/g3# filefrag -v ...
2
votes
1answer
684 views

Ubuntu Server 12.04 start fails after update

I did an system update on Ubuntu Server 12.04, which requested a reboot. Since that, the system never reaches the login. It hangs on: mount: mounting /dev on /root/dev failed: No such file or ...
1
vote
1answer
28 views

How to format a FAT32 USB as EXT4

I have a USB device /dev/sda1 and I want to format it as ext4. I have tried sudo mkfs.ext4 /dev/sda1 It gives warning, goes ahead and completes formatting without error. But when I check it using ...
1
vote
1answer
104 views

Disk allocation

I installed ubuntu 15.04 and used entire space(640 GiB) for ext4 partition but now it is showing that used space = 30.91 GiB, free space = 24.96 GiB and 536.40 GiB unallocated space. I tried to extend ...
1
vote
1answer
115 views

Re-install and keep home partition with btrfs - lost files

So, I was running Arch Linux with separate / and /home. Both were btrfs partitions, but the whole drive was not managed by btrfs. I decide to install Ubuntu 14.04. I carefully select to format / and ...
1
vote
1answer
2k views

Sanddisk drive write protected

My sanddisk usb write protected i tried ashokkrishna@ashokkrishna-Lenovo-B560:~$ sudo mount -o rw /dev/sdc1 /mnt mount: block device /dev/sdc1 is write-protected, mounting read-only # sudo mkfs -t ...
1
vote
1answer
25 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, ...
1
vote
1answer
3k 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
1answer
60 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 ...
1
vote
1answer
20 views

file missing, help with recovery

I have Ubuntu 12.04 LTS with Windows 7 as dual boot. While on Ubuntu, I was using files and folders from the windows partition. I made a folder in the windows partiton, copied in it a ".docx" document ...
1
vote
1answer
253 views

Accidentaly formatted boot partition

I accidentally formatted the partition that contained the GRUB loader, so I cannot boot into Ubuntu 14.04 LTS. Background to the saga: I have an iMac with OSX and Ubuntu 14.04 LTS installed side by ...
1
vote
1answer
60 views

Where can I find a unified explanation of lower-level filesystem structure in Ubuntu?

This is not a duplicate question about file-system hierarchy that can be answered by pointing me toward man hier, ubuntu-policy, or something. I've looked at those questions. My problem is that I ...
1
vote
1answer
58 views

Does encrypting home folder during the installation also encrypt other user's home folder after the fact?

If I were to select the option to encrypt my home folder when installing Ubuntu, then does Ubuntu automatically encrypt other user's home folder that I create after I installed Ubuntu?
1
vote
1answer
681 views

Deduplication using SDFS file system

I am trying deduplication with sdfs.(ubuntu 13.10 on Vm). (http://opendedup.org/quickstart) followed the same steps as this mounted the file system on /media/pool0/ When copied a directory ...
1
vote
1answer
154 views

Why some web pages/files saved to NTFS can be accessed in Ubuntu but not in Windows OS ?

I'm having problem opening files which I saved in Ubuntu with Firefox web browsers "Save Page As" in a NTFS partition. The files can be viewed/accessed (using web browsers or text editors or word ...
1
vote
1answer
657 views

GParted bricked my USB Drive

I tried to use GParted to rename my USB Drive. Everything appeared to run smoothly, but when I removed the drive and reinserted it, it wouldn't mount. I can see the USB initialisation in dmesg, and ...
1
vote
1answer
219 views

How to use Ubuntu with read-only file system?

The question is: what directories of file system I should consider to be mounted as ro (as maximum as possible), and what as rw to use Ubuntu as normal? I want to flash as maximum directories as I can ...
1
vote
1answer
1k views

lvreduce too much. Can I recover this?

I was trying to take a hard drive out of a large LVM group consisting of 5 drives. It had a 5.5TB filesystem (ext4). The LV was 7.5TB. I wanted to reduce the LV by 1.82TiB so that I then could shrink ...
1
vote
1answer
60 views

Can't see system drive Sda1

I can't see my "C" drive any more (excuse the DOS notation) It doesn't show up in my home folder.The drive is partitioned into a 30GB Root and the rest reserved for data None of it shows up in my home ...
1
vote
1answer
33 views

saving screenshots from before OS is installed

I'm doing an assignment which requires me to take screenshots of everything I do, including taking screenshots of using using the partition manager in the "test" version of Ubuntu 12.10. How can I ...
1
vote
1answer
279 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 ...
1
vote
1answer
1k views

Question about Ubuntu 12.10 extracting a .tgz file in the wrong directory

I installed the Ubuntu 12.04 then I reinstalled Ubuntu 12.10 (the version along with Window 7) When I was using Ubuntu 12.04, I typed ls to show what file are listed in directory(included ...
1
vote
1answer
88 views

How can I change the standard files in nautilus?

I don't like the standard files in Nautilus (the ordering by data types - Images, Music, Videos, Documents etc.), how can I change this or can I change this ordering without getting problems with ...
1
vote
1answer
877 views

Live-Ubuntu 12.04 ran fine, now stopped booting!

I've seen similar problems to this several times in the forum, but mine is a bit different, so the other posts I saw were no help to me. When I boot Ubuntu 12.04 64-bit from live-SD-card (3GB ...
1
vote
1answer
699 views

Problem accessing second hard disk with Squeezebox server

I have recently re-purposed my old desktop PC as a 'server' running Ubuntu LTS 12.04. I want to use the machine as my primary squeezebox server in place of my HTPC MacMini (to reduce the strain on the ...
1
vote
1answer
618 views

Clean mounting HFS+ partition after power failure

I have a rather large external harddrive formatted in Apple's HFS+ format, and reformatting it is not an option for me. Now that I have a linux server at home, I have turned journalling off on the ...
1
vote
1answer
902 views

How do I Access Files from one Ubuntu Partition on Another

A terminal error occured on my computer and I found myself unable to log in to Ubuntu. To remedy this, I decided to simply install it again on a partition and then access my saved files on the old ...
1
vote
1answer
46 views

What files get edited when the system time changes?

If the system time is changed on Linux, what files get edited? I know the timezone is kept in etc/timezone but is there anything if the timezone is not changed, but the time is?
0
votes
1answer
13 views

Recover unreadable directory on ext4 partition

One of my directories in a ext4 filesystem on my SSD became unredable and I need to recover the files. Here is what I did to crash the filesystem: I accidentally created 1.5 million small files in ...
0
votes
1answer
65 views

After update chrome won't open desktop is read only

I'm running Ubuntu 15.10 and just did a software update via the software update manager. Now chrome will not open neither will Firefox and if I try to copy anything to my desktop I get an error ...
0
votes
1answer
27 views

WD Passport external device not recognized

I am getting following error when I connect my external HDD. Error mounting: mount exited with exit code 13: The disk contains an unclean file system (0, 0). The file system wasn't safely closed on ...
0
votes
1answer
20 views

copy files from/to usb drive containg a running live distro

let's suppose I have one (or multiple) live distro within a usb key, When I run this live distro, I want to access to the usb key's file system (e.g. get files and copy to the usb drive or copy ...
0
votes
1answer
51 views

Boot to Btrfs snapshot in Ubuntu

OpenSuse recently implemented an GRUB entry that allows you to boot directly into a previous Btrfs snapshot of your root. Is there any way of bringing it to my Ubuntu installation? Such feature would ...
0
votes
1answer
97 views

mkfs.vfat unable create file partition

I am trying to create a file system partition using mkfs.vfat uitility. Below are the command i'm using: mkfs.vfat -F 32 -n program /dev/sdb1 mkfs.vfat -F 32 -n init /dev/sdb2 I'm getting below ...
0
votes
0answers
2k views

Errors during start-up: “Scanning for Btrfs filesystems”

I have installed Ubuntu 12.10 desktop on three systems and one virtual machine. On every system I have opted for a single Btrfs partition. During start-up I get the following two error messages. It ...