Partitions are sections of a storage unit.

learn more… | top users | synonyms

49
votes
1answer
36k views

What are “/run/lock” and “/run/shm” used for?

I just want to know where and how /run/lock and /run/shm can help our PC . $ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 56G 13G 41G 24% / udev ...
38
votes
5answers
297k views

Detect and mount devices

I upgraded Ubuntu today and everything works smooth except that Ubuntu doesn't detect any other storage devices. My / and /home partitions work fine, but my other partitions are just not detected. I ...
38
votes
3answers
83k views

How do I recover my accidentally lost Windows partitions after installing Ubuntu?

I have a Toshiba satellite A-200 laptop with a Vista OS on it with 4 NTFS partitions (C:) Vista (D:) Entertainment (E:) Work (F:) Sources and I wanted to start using Ubuntu instead. So I tried ...
27
votes
5answers
39k views

How do I find out what filesystem my partitions are using?

Is there a way to find out what file system my partitions are using?
16
votes
9answers
6k views

How to wipe a hard disk completely so that no data recovery tools can retrieve anything? [duplicate]

How can I do a disk low level formatting in Ubuntu on an external hard disk so that any data recovery tools like test-disk or photorec cannot retrieve any data once formatted to ext4 or any file-...
14
votes
8answers
11k views

How to create an encrypted partition?

I am trying to create an encrypted partition, and while I format it I get the option to choose the partition type (fat/ext2/ext3/ext4/xfs/reiserfs/minix/ntfs). Is there any benefit of choosing one ...
12
votes
2answers
12k views

How to encrypt external devices?

I've been a Windows power user/administrator and professional tech for years, I just made the decision to go Linux, and wow, what a difference. Is there any decently easy way to encrypt external ...
9
votes
3answers
36k views

How to rename partitions?

I'm new at Ubuntu; I installed Ubuntu 12.10 and the partitions appear like 30 GB volume and like 78EF-2C5E in task bar. I tried to rename it but rename and remove buttons are deactivated so I tried by ...
8
votes
3answers
3k views

How to encrypt folders (not in Home)? [duplicate]

Is there a way to encrypt a folder, which is not in Home (/home/user/) but even in a different partition, so only my user can access/read contained files? Alternatively, I would like to understand if ...
7
votes
4answers
3k views

How to encrypt external devices using a cross-platform solution?

How can I encrypt an external device (i.e. USB keys, external hard-drives, memory sticks, etc.) so that it would subsequently be readable/writable on any computer that I plug it in? For instance, it ...
7
votes
2answers
9k views

Why does Ubuntu 13.10 not detect my Win7 partition?

I'm trying to install Ubuntu 13.10 alongside Windows 7 on my DELL INSPIRON 14z 5423 laptop and I'm new to all of this. I'm using the Ubuntu 13.10 64-bit ISO burned onto a CD. The first time I tried ...
6
votes
2answers
653 views

How to prepare a disk on an EFI based PC for Ubuntu?

My computer has UEFI based BIOS and I want to start over from scratch. The PC came with Windows installed - I later installed Ubuntu alongside. I want to completely re-build my whole disk and ...
6
votes
2answers
4k views

How to mount all partitions at system startup

Hello I searched for this query(mounting all partitions on system startup) and found answer near to it. I added this command to startup applications "/usr/bin/udisks --mount /dev/disk/by-uuid/...
6
votes
2answers
16k views

Deleted Partition Recovery

I was installing ubuntu 12.04 on my system. There were 4 partitions on my system and I selected one of the four partition for the installation and chose the option of resizing the partition. Initially ...
6
votes
3answers
37k views

How to merge an unallocated partition with an extended partition?

How can I merge an unallocated partition with an extended partition ? I'm having trouble moving this unallocated space to the Linux portion. Here is my partition space:
5
votes
2answers
2k views

How to truly secure a hard-drive?

When I boot from an USB stick into my laptop I am able to mount and connect through chroot to the my hard drive and browse my files without a problem, while this has been something very very useful in ...
5
votes
3answers
7k views

How to manage permissions on a shared volume for OSX and ubuntu

On my mac I'm using an unjournaled HFS partition to share files between OSX 10.8 and Ubuntu 12.04. It was a nice thought at first, because Time Machine will automatically backup the volume in OSX, ...
5
votes
2answers
20k views

How do I auto mount my partition?

I've a partition on /dev/sda2 of 279 GB Ext4 filesystem, but I'm not able to auto mount it on login. I've added the partition entry /dev/sda /home ext4 defaults 0 0 in /etc/fstabt still it ...
5
votes
3answers
2k views

GRUB doesn't see Windows 7 after installing Ubuntu 12.04

So, this is my first time installing Ubuntu on my hard drive, and I'm running into some problems. Until a couple of hours ago, I had 4 partitions in my hard drive: XP Vista 7 Data partition I ...
5
votes
1answer
36 views

What is Gparted doing when scanning for partitions?

Gparted is extremely more slow when looking for partitions than any command line counterpart. Can anybody explain to me what is Gparted doing that the other tools do not do, in this time? Here are ...
5
votes
2answers
4k views

Why does Ubuntu 12.10 not detect my Win7 partition?

I'm trying to install Ubuntu 12.10 alongside Windows 7 on my ASUS laptop and I'm new to all of this. I'm using the Ubuntu 12.10 64-bit ISO burned onto a CD. The first time I tried to install it, ...
5
votes
2answers
1k views

How to recover a lost partition on Ubuntu?

I had two Linux OS installed on my machine: Backtrack 5 Gnome and Backtrack5 KDE. I updated the Gnome version and when I rebooted my Grub2 boot manager displayed a grub rescue> command line. I ...
4
votes
8answers
2k views

GUI program to create partition backup image no larger than its files?

I like 'Disks' (gnome-disk-utility) and its ability to create backups of system partitions. But at some point I read on the internet about a program that would create such images that are not as ...
4
votes
2answers
19k views

List all partition labels

Is there a command to list all partition labels? I can list the partitions with sudo fdisk -l but it doesn't show the labels of unmounted partitions.
4
votes
2answers
4k views

How to copy /sda3 to /sda1? UUID's can't be similar

/dev/sda is a 400 gig drive. It's partitions WERE: /sda1 - Windows boot partition (100 meg); /sda2 Windows "C:\" (68 gig); /sda3 is Linux boot partition; /sda5 is /home partition; /sda6 is linux-swap. ...
4
votes
1answer
27k views

Trying to update but not enough space on boot (answer here) [duplicate]

The error message I get suggests "sudo apt-get clean" I try running it but nothing happens. Just get back to the prompt. Is there any other terminal commands I should try to clean temporary files ...
4
votes
1answer
223 views

How to resize a partition on a server without a display?

I've recently run into an issue where I need to resize a partition on a server, but the issue is, it has no GUI so I cannot use gparted. What should I do in this case? So I get it that you should use ...
3
votes
1answer
192 views

Possible reasons for skipped numbers in names of drive partitions

Upon running sudo lsblk I discovered that the partitions on one of my drives are numbered as 1, 2, 5, 6. What could have happened to 3 and 4? The drive started out as data drive with Ubuntu later ...
3
votes
2answers
6k views

How to recover data from NTFS partition that was made into a Swap partition?

I have extremely important stuff on my windows partition which during the ubuntu 10.10 installation,when it said that I should create something called swap space, I selected it to be a swap space (...
3
votes
1answer
15k views

How to make a clean re-install over a same release version?

My Ubuntu 13.04 after upgrade was unstable so I decided to make a clean install. When I went to install from bootable DVD I chose the Something else... option so I was able to manually set up my ...
3
votes
3answers
2k views

Replace Fedora Partition With Ubuntu

So I tried installing Fedora along side Windows 7 and after a week of using Fedora, I can't stand it and I'm switching back to Ubuntu. I'm unsure of how to install Ubuntu in place of Fedora. Below is ...
3
votes
3answers
20k views

How can I recover my data after replacing Windows with Ubuntu? [duplicate]

I have migrated from Windows 7 to Ubuntu just yesterday. Windows 7 was in my C: drive. I did not realise that if I wipe Windows 7 and install Ubuntu, Ubuntu would be installed in the C: drive only. So ...
3
votes
2answers
10k views

Why is it not showing any partitions?

I'm having a problem installing Ubuntu, and Kali as well. I downloaded the iso from the official site & tried installing using USB. I also tried desktop installation, but the problem is same. It ...
3
votes
3answers
311 views

Amount of data written on a partition

Is there any way to find out how much data have been written on the partition since it was created? Talking about ext4 fs.
3
votes
2answers
4k views

All files erased after installing Ubuntu [duplicate]

Yeah, I know I should have backed up my files before proceeding, I completely forgot. Well, the thing is that I had a dual-boot system with Windows 7 and Ubuntu 10.10. Yesterday, I installed Ubuntu 11....
3
votes
1answer
8k views

Using a Physical Hard Drive Pariition as a VirtualBox VM and as a Bootable Partition

Is it possible to install Ubuntu OS with VirtualBox using physical Hard Drive Partition and then make it bootable? What I want is the Ubuntu OS that I've installed in VirtualBox can be accessed and ...
3
votes
3answers
7k views

Gave up waiting for root device, ubuntu--vg-root doesnt exist

today I installed Ubuntu 64bit on a Netbook. When the Netbook boots this error report blowed up. I think there is a problem with the partitions. Image: lsblk NAME MAJ:MIN RM SIZE RO TYPE ...
3
votes
3answers
297 views

How to find the size of all partitions

How can I find size the of all partitions in Ubuntu with a command that saves to name.txt?
3
votes
2answers
2k views

Cannot delete .Trash-503 directory, returns a $RECYCLE.BIN.trashinfo: Input/output error

I cannot delete .Trash-503 folder via GUI or terminal, it returns a $RECYCLE.BIN.trashinfo: Input/output error Not even sudo rm -r or even a simple ls works in that trash directory. Check terminal ...
3
votes
1answer
784 views

After installing ubuntu 14.04 my windows 8.1 seems to be missing?

I installed ubuntu 14.04 when it was still in beta, and I clicked the option run along side windows. It seems that it didnt actually do that or possibly broke the boot for it something. I am still ...
3
votes
1answer
12k views

Ubuntu 14.04 installer not detecting Windows 7 I already have four primary partitions

I recently downloaded Ubuntu 14.04 Trust Tahr and created a bootable USB stick with the .iso image on it. When I choose the USB stick as the boot device it takes me to the Ubuntu installer GUI. ...
3
votes
1answer
2k views

Migrate server with Clonezilla to larger disk

I have a virtual Ubuntu server with a 40 GB hdd. I used Clonezilla and created an disk image of that server. The reason I want to clone it is because of disk space (I need more). The other server is ...
3
votes
0answers
520 views

update-grub fails /usr/sbin/grub-probe: error: failed to get canonical path of '/cow'

The HD of my computer (/dev/sda) has 3 partitions (/dev/sda1, /dev/sda2, /dev/sda3), each containing a copy of Windows Vista Ultimate (restored from a Clonezilla partition image). Using an Ubuntu ...
3
votes
2answers
40 views

What to do with the config files in home partition?

If i have a separate home partition and reinstalled ubuntu will it be safe to delete all config files?
3
votes
2answers
8k views

How to make partitions using gparted? [closed]

Resize move options are disabled, so how are you make partitions using gparted?
3
votes
0answers
970 views

How can I recover my data after choosing “Erase disk and install Ubuntu”? [duplicate]

I installed Ubuntu 12.04 on my laptop and chose the option "Erase disk and install Ubuntu" from liveUSB without any backup. When I realized that this would format my whole HDD, I immediately unplugged ...
2
votes
3answers
376 views

What does it mean for two partitions to be adjacent? [closed]

I keep reading that to merge two partitions, they must be adjacent. But I haven't found any definition of the word "adjacent" in this context. How do I tell whether two partitions are adjacent?
2
votes
4answers
6k views

Why encrypt the swap partition

I have seen on this site that many Linux users encrypt the swap partition. What are the benefits of encrypting swap?
2
votes
1answer
17k views

how to access windows partitions from linux terminal?

how to access windows partitions like C or D from Linux terminal using commands because I want to work on some .cpp files there using "GCC" compiler as I don't want to change their directory to e.g. ...
2
votes
2answers
91 views

4GB lost in Ubuntu partition after installing Ubuntu

I recently installed Ubuntu in my computer, which I was crazily looking forward to as this was my first big step in installing an open source OS by myself. So I created a 20Gb partition for Ubuntu and ...