Questions tagged [partitioning]

Disk partitioning is the act of dividing a hard disk drive into multiple logical storage units referred to as 'partitions'

5,399 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
2 answers
4k views

Do I need to partition C: or can I used D:?

I want to install Ubuntu in Dual Boot with my Windows 10 and I know that I need make some partitions to install ubuntu. At the moment in my windows 10 I have both a C: and a D: drive: C: - has ...
Haozor's user avatar
  • 31
3 votes
2 answers
749 views

Can't restore grub after reinstalling windows

I was trying to restore the grub after I reinstalled windows, so I mounted the partition where ubuntu was installed but I got: $ sudo mount /dev/sda3 /mnt mount: you must specify the filesystem type ...
EternalGenin's user avatar
3 votes
0 answers
2k views

Using LVM in the already running Ubuntu system

I am using Ubuntu 14.04 dual booting Windows 10. I had one hard drive and now I've added another. I've allocated around 840GB for Ubuntu. In the past I've been able to mount this drive to /media/...
Ashu's user avatar
  • 3,966
3 votes
0 answers
2k views

ALERT! /dev/mapper/xxxxx does not exist. Dropping to a shell

I am using Ubuntu 14.04 on vmware. I can't login to Ubuntu. i'm in a situation similar to the one described in this post ALERT! /dev/disk/by-uuid/xxxxxxxxx does not exist. Dropping to a shell I ...
Raiden's user avatar
  • 31
3 votes
1 answer
911 views

whats going on with fdisk?

I was trying to find the device mount point of my smart phone, when I ran sudo fdisk -l and saw something more curious. ... Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors Units: sectors of ...
j0h's user avatar
  • 14.8k
3 votes
1 answer
344 views

Bash Script for Dumping the Android Partition is not consistent

I really need your suggestion about my current problem. I am trying to dump the whole partitions on the Android with netcat. I have created 4 bash scripts for automation process. So, I only need to ...
aph4nc's user avatar
  • 31
3 votes
0 answers
406 views

How to boot encrypted windows partition

I have installed ubuntu 14.04 on a dedicated partition in my work machine. The Windows partition is encrypted with Symantec full disk encryption, and is not recognized by Ubuntu as Windows (and does ...
Ts3567's user avatar
  • 31
3 votes
1 answer
1k views

ubuntu 14.04.1 mounts /dev/sda1 and asks to unmount while partitioning

We have been making custom made initrd.gz generated through debian-installer for 10.04 and 12.04 ubuntu. We have been partitioning the disk and have made it automated completely and ask user to ...
Subodh K's user avatar
3 votes
0 answers
114 views

How make LVM Snapshots to back in time, in case of bad or non working instalation

I have LVM in my ubuntu installation and i want to know how I can make a snapshot of the whole system, if possible, for example if I install a experimental software and i don't like it, go back in ...
DiogoSaraiva's user avatar
3 votes
2 answers
1k views

Ubuntu stuck on installer

I've just got a new Acer laptop with Windows 8.1, 1TB storage and 4GB RAM. I've downloaded the latest version of Ubuntu and used a USB as the boot option. Before this, I partitioned my HDD into a ...
Squiffy's user avatar
  • 61
3 votes
1 answer
884 views

Installing Ubuntu asked to format whole hard disk

I recently tried to install Ubuntu on my Lenovo Laptop, but it kept showing only 1 HDD partition (whole HDD as 1 partition) and kept asking to format it completely to install Ubuntu. I already have 3 ...
Pushendu Chauhan's user avatar
3 votes
1 answer
257 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 ...
stokastic's user avatar
  • 221
3 votes
1 answer
5k views

Mounting WD external hard drive mybook

UPDATE: When I put in dmesg after plugging the external hd in, the output is the following (last lines): [15233.307914] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [...
Daniel Sheffer's user avatar
3 votes
0 answers
742 views

Reusing disk partition during ubuntu installation

is there a way to tell partman to re-use current disk layout/lvm layout when using preseeding? either that or bypass partman completely? i'm using a custom preseed file with my own partman recipe. but ...
ranglust's user avatar
3 votes
0 answers
1k views

How can I use a Verbatim Secure'n'Go USB key?

I have purchased a 4Gb USB key from Verbatim. How can I use it under Ubuntu? I do not need the "secure data" feature, and have still not saved anything on it, so formatting at low level would be OK. ...
Bernoot Le Trappeur's user avatar
3 votes
1 answer
24k views

Disk '/dev/sdb' doesn't contain a valid partition table

I have installed Ubuntu on the USB stick and afterwards tried to clean up the disc to install another version of Ubuntu. I was not able to do it (even when tried to delete files by using sudo -rm), ...
kachaby's user avatar
  • 31
3 votes
0 answers
343 views

How to remove encryption from volume during installation

I'm currently in the process of installing Ubuntu Server 12.04 onto a fresh build. I have two 3TB hard drives that I'd like to run in software RAID 1, and was following this tutorial. During ...
3cheesewheel's user avatar
3 votes
0 answers
1k views

Attempt to read or write outside of disk hd0 problem

I installed ubuntu 13.04 on a 16GB usb memory (full installation, not live usb) and boot it with vmware player 6 + plop under windows 7 64-bit host. To avoid windows format complain, I created a ...
Lei's user avatar
  • 31
3 votes
1 answer
562 views

How to partition and install Ubuntu?

I'm using my Ubuntu LIVE 12.04 LTS CD because I have no other OS that is functional. My Vista Home Premium 64-bit crashed repeatedly, and I have no intention of paying for anymore Windows OS. Here's ...
Lyric Lover's user avatar
3 votes
0 answers
1k views

help me understand lvm initial setup loop device

I have a (very) rough understanding of what lvm is, I'm finding it a little hard to grasp loop devices however. Anyway here's my issue: Someone ran an Ubuntu server install for me and probably went ...
D.Mill's user avatar
  • 308
3 votes
0 answers
396 views

lvm disappeared after disc replacement on raid10

here my problem: I am running ubuntu 12.04 on a raid10 (4 disks), on top of which I installed an lvm with two volume groups (one for /, one for /home). The layout of the disks are as follows: Disk /...
user142295's user avatar
3 votes
1 answer
515 views

Ubuntu on ThinkPad. Erase recovery partition and burn a recovery cd instead

I want to turn my dual-boot ThinkPad T400 winXP + ubuntu 12.10 into single Ubuntu machine, i.e. delete Windows and recovery partitions, and use all the disk space for Ubuntu. Before doing so, I ...
feedyourhead's user avatar
3 votes
1 answer
1k views

How to make Grub display after installing Ubuntu on a laptop with Windows OS?

I just installed Ubuntu 12.04.1 on a laptop, but whenever I turn on my computer, it still boots to Windows and GRUB doesn't seem to be working at all. My partition scheme is as follows: /dev/sda1 - ...
Lucas's user avatar
  • 31
2 votes
0 answers
168 views

Correct way to delete /boot/firmware .bak files in Ubuntu 22.04?

I'm very new to Ubuntu, I installed the Raspberry Pi Ubuntu Server 22.04.3 LTS (64-bit) image, with their imager tool: # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:...
Floren's user avatar
  • 141
2 votes
0 answers
137 views

Installation error with lubuntu on vmware Workstation 15 from iso file

So I am trying to setup Lubuntu on my vmware workstation 15 using an iso boot image using the 22.04.3 LTS download from https://lubuntu.me/downloads/ Creating the virtual machine works fine and I get ...
skage's user avatar
  • 21
2 votes
1 answer
99 views

Can I avoid unlocking partition before login user?

Inspired by: You could also mount it (encrypted partition) under /home, but then you will have all user's home directories in one encrypted drive - that means all of them need to know the partition's ...
Ferroao's user avatar
  • 850
2 votes
0 answers
131 views

grub error on installing ubuntu on dual boot with windows

I have tried to install Ubuntu latest version on my computer hp pavilion dv6 using rufus i have copied Ubuntu iso image on my flash drive and restart my pc , on bootloader option i chose my flash to ...
Eiman Maghfouri's user avatar
2 votes
0 answers
85 views

No disk tool lists my old 4 TB spinning HDD. I can't get in contact with it

I've tried to connect it via an esata cable and via USB. It's not listed with fdisk -l. How can i mount it? dmesg | tail -n 100 Doesn't list anything about my large disk. I have just installed ...
Lars Gustafsson's user avatar
2 votes
0 answers
37 views

How to increase storage space in LVM in production

I have my own servers. I want to increase storage space in of LVM where I have database and my website running. I run lsblk and it gives vda 252:0 0 150G 0 disk ├─vda1 ...
Elvin Jafarov's user avatar
2 votes
0 answers
249 views

dual boot Ubuntu and windows 10 black screen

this is an image from the additional drivers i originally had windows 10 installed on my Lenovo IdeaPad Gaming 3 15IMH05 laptop which has the following specs 16.0 GiB Ram Intel® Core™ i7-10750H CPU @ ...
ahmedabdalh66's user avatar
2 votes
1 answer
178 views

Disk corrupted?

I want to install Ubuntu 22.04.2 LTS (for desktop) on my old Dell Inspiton 13-5378, but after first installation grub was loaded with "grub_native_sectors not found" and "...
Thomas Edward's user avatar
2 votes
1 answer
588 views

Should I use MB or MiB to calculate space for the system?

I'm looking to do a fresh install of Linux on my computer with a dual boot to windows. My problem is as follows I had installed Linux before on my PC with dual boot and always followed the same ...
Nikolas Rian's user avatar
2 votes
0 answers
2k views

Dual boot Ubuntu on two hard drives

I currently have a laptop running Windows with two drives, the Windows 11 drive and a clean drive. I would like to dual boot my laptop with these two drives, one for Windows and the other one for ...
Robdog37's user avatar
2 votes
0 answers
802 views

Fix Grub2 boot with encrypted root LUKS partition

I currently have 3 different boot partitions: Windows 11 on nvme0n1 Fedora 35 on nvme1n1 Ubuntu 22.04 on sdc with an encrypted root partition on sdc4 When I initially configure the system the ...
HFR1994's user avatar
  • 121
2 votes
1 answer
196 views

Can't install Ubuntu onto internal hdd from usb

Solved see answers below I am trying to install version 22.04.1 LTS of Ubuntu desktop from a bootable usb onto my laptop's internal hdd. I completely want to replace Windows. My laptop has a 750GB hdd ...
Sen8Sei wowdev's user avatar
2 votes
0 answers
2k views

Repair broken ext4 partition with wrong superblock checksum

A few weeks ago I gave my laptop to the service to replace the keyboard. There were two operating systems on the computer: windows 10 and linux (ubuntu 20.04). The folder /home of my Ubuntu system was ...
Kirill Krasnikov's user avatar
2 votes
0 answers
35 views

mke2fs command creating a ext2 FS on a partition when -t type option is set to ext4

I ran the following command on a newly created partition mke2fs -v -t ext4 -i 32768 -b 4096 -O 'extents,^has_journal,dir_index,flex_bg' -I 128 -G 64 /dev/sdf1 Post this when i check the details ...
shravan's user avatar
  • 21
2 votes
0 answers
588 views

WSL2 export is huge - 118 GB!

I wanted to do a back up of my Ubuntu-20.04 WSL image or whatever is called and the tar file that resulted is 118 GB. The login screen shows a Usage of 22% of 250 GB., so that would be 55GB. But still ...
Kreative Zombie's user avatar
2 votes
0 answers
1k views

Why does Ubuntu 22.04 LTS install continue to fail with 'grub-install /dev/sda failed' error message?

Goal: I am trying to install Ubuntu onto a Dell XPS 8900. Problem: I can't get through an Ubuntu install without the install interrupting with Unable to install Grub in /dev/sda, Executing 'grub-...
MrDrago9's user avatar
2 votes
0 answers
397 views

"No EFI System Partition was found" despite it seeming to exist

I am attempting to reinstall Ubuntu 22.04 after a broken upgrade, on a dual-boot system with Windows 10. Both OSes boot, however while attempting to install Ubuntu I'm given the message that "No ...
Andrew's user avatar
  • 21
2 votes
0 answers
733 views

Does the ubuntu upgrade 20.04LTS to 22.04.01LTS handle LUKS + LVM?

I saw that 22.04.01LTS is out and I am excited since I really want the new kernel! https://ubuntu.com/blog/upgrade-your-desktop-ubuntu-22-04-lts However, from my understanding there have been problems ...
Kermit's user avatar
  • 131
2 votes
1 answer
179 views

Ubuntu 18.04 not detected upon cloning to 8 TB SSD

Hello everybody out there using Ubuntu, Since I was running out of disk space, I cloned my Ubuntu 18.04 installation from a 4TB SSD (Samsung) to a 8TB SSD (also Samsung) using dd. Afterwards, I ...
NicolasBourbaki's user avatar
2 votes
0 answers
143 views

Use the same path for windows and ubuntu google drive?

So I just set up Ubuntu 22.04 LTS on my XPS 9500 next to Windows. Everything working fine. Next, I tried to access the Google Drive files on my Windows partition, which also works fine. Of course, ...
user101893's user avatar
2 votes
0 answers
957 views

Cannot create partition table on sd card

I cannot create a partition table ( nor msdos, nor GPT ) on my new 64 GB PNY micro sd-card. I tried: - using GParted ( in Kubuntu 20.04 and in Mint 20.3 ) - fdisk in the terminal ( Kubuntu ) - ...
Joepie Es's user avatar
  • 1,460
2 votes
0 answers
4k views

Ubuntu 22.04 LTS setup doesn't see hard drive (USB dual boot with Windows 11)

I have a Lenovo Yoga Slim 7 Pro 14 ACH5 with AMD Ryzen 7 and 1 TB SSD. It came with a pre-installed Windows 11 and I wanted to dual-boot Ubuntu, so I etched Ubuntu 22.04 LTS using Rufus (see config ...
Despina's user avatar
  • 21
2 votes
0 answers
3k views

Unable to access location in Ubuntu 22.04 LTS desktop

I am using Ubuntu 22.04 LTS desktop on my ASUS K55VJ laptop. I Have two drives in the laptop: the OS is installed on a 250 GB SSD and the secondary drive is a 750 GB WD Scorpion HDD where I keep my ...
Mickey Sam's user avatar
2 votes
2 answers
3k views

grub2: error: can't allocate initrd - chainload an NTFS partition from FAT32 without errors on initial ramdisk (initrd) file

The OS with Ubuntu 20.04.3 LTS Desktop 64-bit is located in the gpt2 partition with the filesystem NTFS. This is the structure of the gpt1 partition with the filesystem FAT32: . ├── boot │   └── grub │...
Mario Palumbo's user avatar
2 votes
1 answer
5k views

Space from the disk not used, how can I extend it?

Ubuntu Server and here is what I have: When running lsblk I get this fd0 2:0 1 4K 0 disk sda 8:0 0 1000G 0 disk ├─sda1 8:1 0 487M ...
user2692663's user avatar
2 votes
2 answers
2k views

How do I expand my Linux partition in a Windows/Linux Dualboot?

I am currently dualbooting Windows 11 and Ubuntu on a 512GB NVME SSD on my laptop. Recently, I've pretty much stopped using Windows, so I want to shrink my Windows partition and expand my BTRFS Linux ...
Steven Huang's user avatar
2 votes
1 answer
871 views

laptop takes 1+ minute to boot even before the HP logo splash screen

The laptop takes 1+ minute to boot even before the HP splash screen loads, after the HP screen it takes only a few seconds however. The whole process took around 10 secs on windows. I have been a ...
lava's user avatar
  • 39