Questions tagged [disk-management]
286 questions
359
votes
13 answers
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?
Ivan
- 58,745
95
votes
3 answers
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 anything.
TechnicallyLive
- 951
76
votes
9 answers
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 which is too small for my purposes. I would like…
David Edwards
- 5,178
33
votes
1 answer
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 result as
Filesystem Size Used…
user356435
28
votes
4 answers
Format USB drive to NTFS so it is usable under Windows
When I format a drive to NTFS under Windows and plug it into the Ubuntu machine, it is perfectly usable. But when I format it under Ubuntu using Disks (delete all partitions and create one single partition with NTFS), it does not show up when…
Pawel Debski
- 2,814
23
votes
3 answers
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 the partitions. I have tried using Part Magic but…
Joseph Barker
- 331
22
votes
6 answers
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 ones, too.
My laptop is a Samsung Chronos serie s 7.…
Rmano
- 32,167
22
votes
4 answers
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 could mount under /media.
So far, I have created…
Hydrosine
- 323
17
votes
1 answer
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 can i move from second files to main folder, so that…
pavel
- 348
15
votes
2 answers
"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 anyone know how I can suppress the linebreaks so that…
djangofan
- 3,874
15
votes
2 answers
How to remove /dev/loops
On my Ubuntu desktop, the command fdisk -l shows /dev/loopX up to /dev/loop23. I'm using gnome-fallback on Ubuntu 18.04 LTS.
I'm wondering what possible effects these could have on performance and stabilty of the OS, and if they are just…
Karlom
- 804
14
votes
2 answers
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. The. Hell.
I really don't need to encrypt my files…
newuser
- 311
14
votes
2 answers
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 had a Distribution update on my Laptop yesterday…
12
votes
8 answers
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 large as the whole partition, but only as large as…
user47206
11
votes
3 answers
Permanently solve “GRUB was previously installed to a disk that is no longer present”
I have an Ubuntu 16.04 virtual machine (local, no cloud) which was created as a clone of another computer. Each time GRUB packages are upgraded using apt upgrade, I get the following message:1
The GRUB boot loader was previously installed to a disk…
Melebius
- 11,750