The tag has no usage guidance.

learn more… | top users | synonyms

120
votes
12answers
455k views

How to format a USB flash drive?

In Windows there is a straightforward "Format" option in a flash drive's right-click pop-up menu. Where's that in Ubuntu?
25
votes
2answers
37k views

How can I increase disk size on a Vagrant VM?

I have a VM managed by Vagrant using VirtualBox on a Ubuntu host server. My Vagrant box uses the Puppetlabs Debian 6.0.7 basebox, which uses LVM for its root partition. By default the disk is 8GB ...
12
votes
2answers
18k views

could not mount /dev/mapper/cryptswap1

I have just had a major issue with my Ubuntu 11.04 Natty which I think is going to end up in a reinstall :-( This is problem one of two so I've put them as two questions. For some unknown reason I ...
9
votes
4answers
13k views

How do I give Ubuntu more space (when installed inside Windows 7 (via wubi))?

I had installed Ubuntu inside Windows XP but then I formatted XP and installed Windows 7. EDIT1: I used Wubi for the same. I want to know which one of the two will solve my problem? creating a ...
8
votes
6answers
13k views

How can I tell linux kernel to completely ignore a disk as if it was not even connected?

Notice Please scroll down for the answer (it has few points but it is the correct one). The problem is solved by a patch that will be in kernel 3.12.7 and up; I hope it will back-ported to earlier ...
8
votes
2answers
4k views

“df -h” command puts line breaks in output. How do I fix?

My "df -h" command on my Linux box has some devices with longer names and so the "df -h" output has line breaks (or tabs??) in it, which makes it difficult to parse the output in a script. Does ...
8
votes
4answers
43k views

How do I resize the partition of a Ubuntu-server?

Is there an easy way to decrease the disk volume on a Ubuntu server? I run a virtual environment and need to decrease my disk volume since I'm running out of space in my non virtual environment.
7
votes
2answers
6k views

Is Disk Utility reliable?

I'm using ubuntu 11.04. Disk utility is reporting I have a bad sector on my hard drive. Is this reliable? I'm skeptical that it's reporting accurately because When I googled "ubuntu disk utility ...
7
votes
3answers
23k views

How can I increase my disk space when Ubuntu is installed alongside with Windows?

Some time ago i reinstalled windows, formating and deleting every partition. I then made 3 partitions: One only for Windows OS (about 25GB) One for Ubuntu OS (about 25GB, if i remember ...
6
votes
3answers
4k views

How to speed up rsync/tar of large Maildir?

I have a very large Maildir I am copying to a new machine (over 100BASE-T) with rsync. The progress is slow. VERY SLOW. Like 1 MB/s slow. I think this is because it is a lot of small files that ...
6
votes
2answers
221 views

I can continue playing a video after I Shift-Delete it. Is the disk-space freed when I close player?

I've noticed that I can actually Shift-Delete (ie. doesn't go to Trash) a video which is currently playing, and it still keeps on playing, even though there is no named reference to it in nautilus or ...
6
votes
1answer
4k views

Gnome equivalent of KDirStat

What is the Gnome version of KDirStat? I read some 2006 post about program named Baobab , but it looks like it's not included in 10.04 any more, and the home page is not available any more.
6
votes
1answer
8k views

What is “/dev/mapper/ubuntu--vg--root”?

I installed Ubuntu 14.04 recently. During the installation I did not create a separate partition for my home folder. I also accidentally encrypted my home folder. When i did sudo df I got the ...
6
votes
3answers
11k views

System checks for disk drive error every time it boots

When my disk space for the ubuntu installation partition was getting low, from a live cd, I used gparted to increase its volume capacity, by deleting another partition and merging it to the ubuntu ...
6
votes
2answers
1k views

How to make the disk utility ask for password before making modifications?

Currently, I can right click any drive that is attached to the system and click format. No password is asked at all while the data is wiped. I can also format any drive from the disk utility. This ...
5
votes
4answers
2k views

Recover 1TB disk erased with startup disk creator

Hello. I was trying to make a bootable flash drive from the startup disk creator, and when I went to erase the flash drive I accidentally erased the wrong drive, a 1TB removable drive. The operation ...
5
votes
1answer
520 views

shrink the size of tmpfs folders

After checking my disk space in Xubuntu, I noticed I have files holding unnecessary disk space and not coming close to using it. Is there a way to limit the space it is holding? I have marked the ...
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
1answer
1k views

Running out of disc space- how to check where its being used?

I am starting to run out of disk space. How can I check where all the largest files are located on my Ubuntu installation so that I can delete them?
4
votes
3answers
5k views

How to match ata4.00 to the apropriate /dev/sdX or actual physical disk?

Getting stuff like this in the logs: Oct 2 22:11:21 jupiter kernel: [439646.093111] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 Oct 2 22:11:21 jupiter kernel: [439646.093144] ...
4
votes
1answer
20k views

Move files from one folder to another with same name

I'm new to linux, especially for ubuntu server and it's terminal.... I have such file structure: -im | |-t1 |-1.jpg |-t2 |-2.jpg |-second |-t1 |-3.jpg |-t2 |-4.jpg How ...
4
votes
1answer
82 views

partitions showing different sizes on gparted and MS Disk Management

I'm trying to install Ubuntu 14.04 LTS on an HPG60 Laptop. I'm having a difficulty to install this coz I cant see the unallocated space I prepared in Windows. As you can see on the attached ...
4
votes
1answer
238 views

How do I convert a RAID 4 array to RAID 0?

I had a three-disk RAID 0 array and ran the following to add a fourth disk: mdadm --manage /dev/md127 --add /dev/xvdi Each disk is a 1TB EC2 volume. The array took about 40 hours to reshape. About ...
4
votes
2answers
9k views

Is it possible to extend a ubuntu 12.04 disk in vmware?

I am trying to extend the disk on a Ubuntu server running as a vmware esxi guest. I have extended the disk in the settings of the guest in esx. How do I go about extending the disk to allow more free ...
3
votes
2answers
5k views

/proc/kcore very big

I am running Ubuntu 11.04 and I ran a very RAM intensive program. When I try to log in after reboot, I receive an error message: The configuration defaults for Gnome Power Management have not ...
3
votes
3answers
2k views

AHCI Hotswap in Lucid Server

Does Lucid support hotswapping of AHCI devices? Is there anything more to it than simply unmounting all filesystems on the drive to be disconnected and plugging in the new disk? 00:1f.2 SATA ...
3
votes
1answer
4k views

Why is the size of my .Private folder so large?

Last night I had about 190GB of free space on my 500GB HDD. Today I have about 80GB free. I ran df and discovered that my /home/jon/.Private folder is currently using 80% of my hard drive. What. ...
3
votes
1answer
25 views

Need Help Freeing Disk Space

I need help freeing up diskspace, From Disk Usage Analyzer it says that my Log Files have taken up more than half of the Disk Space. Is there a way to get clear up the Log Files? I've tried to delete ...
3
votes
1answer
35 views

On which disk device Ubuntu has been installed?

I've chosen 'Something else' for the installation type so as to designate the disk partition (device) that I want to install Ubuntu. After installation is completed, I'm not sure that I've selected ...
3
votes
1answer
847 views

How to recover disk space that is not visibly available?

I have an Ubuntu 11.04 64 bit development image running on VirtualBox. I have been doing some house keeping on the disk space because it was getting low. The drive is a 26GB drive. I have about 4.7 GB ...
3
votes
2answers
734 views

Dual Boot Windows 10 and Linux Ubuntu on Separate Hard Drives

How would I go about dual booting Windows 10 and Ubuntu, the windows drive is on an ssd as my c drive and my s drive is a hdd that I want to use for Linux. I have no idea what I need to download it or ...
2
votes
3answers
23k views

How can I create one logical volume over two disks using LVM?

Hi. I've got a working Ubuntu 12.04 server, which is going to serve as media server. I've added two disks of size 3TB to put my data on, and I wish to combine these as one 6TB logical volume which I ...
2
votes
3answers
135 views

What is the Ubuntu equivalent to Windows' Disk Managment?

Does Ubuntu come with an equivalent to the Disk Management tool in Windows? How do I access it?
2
votes
1answer
7k views

How to find the device name of an HDD that won't mount?

I have a failing HDD that I want to recover data from, using ddrescue. However, I don't know how to find the device name. When I booted Ubuntu with the disk plugged in, Ubuntu seemed to get stuck ...
2
votes
1answer
3k views

Root partition size remains same after partition resize with gparted

I had resized my root partition from 30gb to 70gb using gparted. But Ubuntu still shows that I have the same old disk size while gparted shows that I acually have 70gb and that the other 40gb is ...
2
votes
1answer
2k views

Setting up Ram disk & NFS

I’m new to Linux so please forgive my lack of knowledge. What I’m trying to do is the following: Create a 32GB ram disk and mount it as an NFS export and give everyone full access to it. This is what ...
2
votes
2answers
76 views

How do updates work?

I'm using Ubuntu 12.04 and at least once a week I get important and recommended updates. These weekly updates are normally between 50-100 Mb, and sometimes they're over 200 Mb. I haven't installed ...
2
votes
1answer
407 views

Adding by-path to /dev/disk

I have a script relying on /dev/disk/by-path, but that subdirectory does not exist. When I ls /dev/disk, I get: by-id by-label by-uuid How do I get by-path? (Output of grep -ri ...
2
votes
1answer
888 views

Why does my upgrade says it needs more space than what a clean installation needs?

I have Ubuntu installed on my laptop with the following disk organization: 20 GB for / 5 GB for /home The large root I have was intended in principle for installing large pieces of scientific ...
2
votes
1answer
269 views

I need help with disk partition

I have installed Ubuntu 11.10 on a machine running Windows 7 Starter. While installing, I chose the 30 GB installation option which seemed like the largest installation offered. I am unable to use the ...
2
votes
2answers
2k views

How to merge free space with filesystem partition?

That's the snapshot of my disk. I want to merge free space to primary partition without data loss.
2
votes
2answers
29 views

Installed Ubuntu due to Windows 7 failure, need to save windows data drive

I am a first time Ubuntu user. I have installed Ubuntu due to my Windows 7 did not want to boot up (tried safe mode, command line, boot disk, boot from usb....etc. ) On my Windows 7 setup, I have ...
2
votes
1answer
2k views

Expanding disk inside Hyper-V using LVM

In my lab environment I have an Ubuntu server 12.04 which I am trying to add space to. LVM was set up at boot up and after adding 100GB through the edit disk wizard I am unable to add that space to ...
2
votes
2answers
52 views

Migrate system to larger drive

I had a small hard drive (13 GB) which was too small. I added another (160 GB) but the apps don't seem to use it. File Manager appears to but no other apps, specifically, the Update Manager won't use ...
1
vote
2answers
5k views

how can I increase my RAM size with a swap partition? [duplicate]

Presently my RAM is 2GB. I heard that in linux we can get extra memory to RAM from the harddisk by using swap partition. What is the procedure for that? here in the pics i'm giving my system info. ...
1
vote
2answers
4k views

Preparing a disk from Windows for installing Ubuntu (partitioning)

I have windows 8 installed. I want to install Ubuntu, therefore, I want to partition a disk using standard windows 8 utility for that. However, what file system do I have to format it to: extFAT or ...
1
vote
2answers
426 views

Precautions to take before replacing Hard drive in desktop

i am using Ubuntu .my hard disk is aged so i have to change it.i want to keep my data as it is and if possible.can any one please guideline some points .steps to take for successful hard disk ...
1
vote
3answers
411 views

What is the difference between these commands for removing all partitions and which is preferable?

The idea is to wipe all partitions with a terminal command. I found these: dd if=/dev/zero of=/dev/sda bs=1M count=8 && sync and dd if=/dev/zero of=/dev/sda bs=512 count=1 conv=notrunc ...
1
vote
1answer
182 views

create single EXT4 partition?

I am currently using ubuntu and windows 7. I don't want to use windows anymore , hence i deleted windows partition. after deleting my windows partition it created 2 unallocated partition (Please see ...
1
vote
2answers
531 views

How to edit swap partitions?

I've done several installations of different Ubuntu versions on my machine one over the other from a CD or live usb, and now I have a mess of swap partitions (something like 10 of them), so I need to ...