All Questions
Tagged with ubuntu partitioning
846
questions
0
votes
1
answer
95
views
Gparted doesn't allow adding free space to partition at end of table
I've dual booted my Ubuntu 22.04 system with a Windows 10. I alloted 100GB initially, but that turned out to be just slightly less than I thought I needed. Now I'm trying to increase the size of my ...
0
votes
0
answers
17
views
How to Merge 2 Unallocated Spaces that are on either side of Primary Partition? (New Linux/Ubuntu User) [duplicate]
Current Disk Setup
Please see image link: I have unallocated spaces to left and right of my primary partition (that has the Linux File System and EFI). Have installed GParted but need help on how can ...
-1
votes
0
answers
52
views
Installing Ubuntu over Windows - not detecting SSD
I had Windows 11 on my laptop until it decided to have BSOD every 5 minutes. I tried to check if the OS was a problem and then I booted into a live USB and everything went smoothly.
However, when I ...
1
vote
1
answer
52
views
Issues Configuring Swap and Moving /home to a New Encrypted Disk on Ubuntu 24.04
I have Ubuntu 24.04 installed with the default disk partitioning settings chosen by the installer, including LVM encryption. I have two SSDs:
First disk with the following partitions:
/boot/efi
/boot
...
1
vote
1
answer
112
views
Can't resize partition after cloning the disk to the bigger disk
I cloned my entire disk to the new disk with dd if=/dev/sdb of=/dev/nvme0n1 . It was a long process so I don't want to repeat it again. I booted from the new disk but there is a problem: the new disk ...
1
vote
0
answers
61
views
How do I get my disk space back after uninstalling Ubuntu-24.04 from WSL2?
I'm using Ubuntu 24.04 on WSL2 on Windows 10 and I noticed that even after uninstalling the distro, I didn't get back my disk space. There was 15 GB free before installation and it's been 9.5 GB free ...
-1
votes
1
answer
42
views
Error while installing Ubuntu in E drive (status : 0xc0000225) [closed]
status: 0xc0000225 in Windows serverI’m in big trouble right now. I need Help. Recently I was attempting a Ubuntu installation on a Windows Server. The Windows Server have 3 drives C , D , E. After ...
0
votes
1
answer
53
views
Which primary partition can be deleted if there are more than 1?
I have a dual-boot laptop (initially only Ubuntu and now it is Windows with 186Gb partition and Ubuntu with 50Gb). I would like to remove the Ubuntu partition to make space for windows but both the ...
0
votes
0
answers
22
views
How to automatically do a ntfsfix every time at reboot? [duplicate]
On a dual-boot laptop I have a partition /dev/nvme0n1p4 which I want to mount as ntfs partition for Ubuntu 22.04 and Windows-10. But really often this partition only mounts as read-only. The entry in ...
-1
votes
1
answer
46
views
Hard drive won't work after deleting whole partitions
I was trying to install Ubuntu server to my external SSD via a bootable USB flash drive. After deleting whole partitions in the disk I changed my decision to boot Ubuntu and cancelled the installation....
0
votes
3
answers
848
views
Safely delete Efi System Partition to allow extension of volume
I installed Ubuntu on a fraction of one of my SSD drives. However, I ended up removing Ubuntu and deleting the space on the partition it was allocating.
Now there's an EFI System Partition between my ...
0
votes
0
answers
97
views
Dual boot machine, not obvious how the boot sequence finds GRUB or how to remove it
I have a dual booting system (Windows and Ubuntu) where I am trying to remove Ubuntu and its partitions.
The internal drive (laptop) is divided as follows:
350MB System Reserved (mounted as P:)
150GB ...
0
votes
1
answer
74
views
From disk end, how to count MB (Megabytes) to the first non-zero location?
I am using Kubuntu 22.04.3 LTS x86_64.
While re-purposing a disk using:
neofetch --stdout |grep 'OS:'
Instead of long process of dd zero the whole disk just dd zero some first bytes of disk and then ...
0
votes
1
answer
67
views
Does rsync -D protect the root partition uuid in fstab?
I have a few partitions. One is for my main OS installation, and a second is set aside as the destination for a backup of the main OS. I have a secondary OS set aside for maintenance purposes, with ...
0
votes
1
answer
144
views
ext4 cannot delete files after resizing partitions using gparted offline
Recently I tried to install a package and got a message saying I didn't have enough space. I guess 25 Gb isn't enough. I downloaded a GParted iso, tossed onto a thumb drive, etc, etc. Everything went ...
2
votes
3
answers
1k
views
If I deleted a partition, will that delete the data on this partition?
I installed Ubuntu alongside Windows 11, but I forgot to turn off BitLocker.
Ubuntu was installed "successfully", but I wasn't able to dual boot, so I deleted the partitions assigned to ...
0
votes
3
answers
301
views
Can't extend volume in Windows after deleting Ubuntu dual boot, and Ubuntu still shows up in boot options?
I installed Ubuntu to my second SSD (500 GB not main) as dual boot. I have now deleted it as I don't need it but whenever I try to extend the volume to the unallocated space it says there isn't enough ...
0
votes
2
answers
326
views
How to test for ext4 Partition? Not ext4 Filesystem
using:
neofetch --stdout |grep 'OS:'
OS: Kubuntu 22.04.3 LTS x86_64
Start Update Question due to someone deleted information:
No interest in testing for ext4 Filesystem.
lsblk -n -o FSTYPE /dev/sdb1 ...
0
votes
0
answers
239
views
How do I reduce the space allocated for Persistent Storage on my Ubuntu Live USB?
I used Rufus to create a Ubuntu 22.04.3 LTS Live USB with persistence. However, I allocated all of the remaining drive space for the Persistent Storage, thinking that it could be accessed and used as ...
1
vote
1
answer
400
views
Rescue of a live system after deleting LVM signature when recreating partition of new size
I have done something stupid, I'll admit right away. Thankfully, it was done on a test system.
I have a DNS server running in a virtual machine on an ESXi 6.7 host.
The DNS server required some more ...
1
vote
1
answer
346
views
With raw disk, before Partition, before filesystem, how to map bad blocks?
using:
neofetch --stdout |grep 'OS:'
OS: Kubuntu 22.04.3 LTS x86_64
After zeroing disk with:
time sudo dd if=/dev/zero of=/dev/sd_ bs=1M status=progress #Zero_disk_delete_wipe
We have ...
0
votes
0
answers
22
views
How to output disk size in GB only with no rounding error? [duplicate]
Output disk size in GB only. Giga Bytes only.
Not MB. Not Mega Bytes.
Not TB. Not Tera Bytes.
Tested thus far:
sudo blockdev --getsize64 /dev/sda
1000204886016
sudo blockdev --getsize64 /dev/sda |...
0
votes
1
answer
133
views
How to output disk size in GB only with no rounding error?
Output disk size in GB only. Giga Bytes only.
Not MB. Not Mega Bytes.
Not TB. Not Tera Bytes.
Tested thus far:
sudo blockdev --getsize64 /dev/sda
1000204886016
sudo blockdev --getsize64 /dev/sda |...
0
votes
0
answers
64
views
Why 892 bytes altered not 446 bytes? 446x2=892 bytes [duplicate]
Experiments were done, before re-purposing a disk:
re-purposing = delete all data
re-purposing = delete all partitions
re-purposing = fill disk with all zeros
re-purposing = confirm all zeros, confirm ...
-1
votes
1
answer
464
views
I want to delete Linux Ubuntu from my computer
I have two storage devices on my computer:
C: SSD 500gb with Windows 10 on it.
D: HDD 1TB with Linux Ubuntu on it.
I want to delete Linux from the D: drive while keeping the rest of the data on that ...
4
votes
3
answers
24k
views
How to expand ubuntu server root storage?
I have a windows server inside of which there's an Ubuntu 22.10 server, more space was given to VM of Ubuntu. But inside of Ubuntu, when I connect through SSH, it shows that it's still the same size. ...
0
votes
1
answer
1k
views
How do I configure grub to boot an ISO image from an exfat partition?
Due to the increased file size of the Ubuntu LTS 22.04 Desktop image, Linux pen drive creators will soon feel the pain that comes with realizing that a single partition, FAT32 drive won't cut it for ...
-3
votes
1
answer
195
views
What is the reason for (general logic) of the PEBOOT BIOS boot table entry (or EUFI partion) on a DELL machine (BIOS setup screen)?
The BIOS setup page 'boot systems' for my Dell XPS 9320, Ubuntu variation, is driving me crazy. I disable entries for "ubuntu" and PEBOOT (uncheck the boxes) and exit setup. It looks like ...
0
votes
1
answer
2k
views
I want to increase the size of home partition in Ubuntu 23.04
I have installed ubuntu with windows in dual boot and I have about 100gb in free space which is not partitioned anywhere but I cant seem to find any solution that fits my problem. I have about 150 gbs ...
1
vote
1
answer
2k
views
How to fix Ubuntu 22.04 UEFI boot GPT issues after simple dd clone to larger disk
I have a healthy Ubuntu 22.04 LTS installation on a 1TB SSD
It's a simple disk-- not using LVM, just two partitions: the 512 MiB EFI System Partition and the rest is one big ext4 partition for the OS ...
0
votes
0
answers
51
views
Using the /home of a broken Linux installation as the /home of a fresh install on a different partition
I have been using Manjaro in dual boot with Windows for a while but I completely messed up my Manjaro installation, likely when trying to install printer drivers. Manjaro does not boot anymore as the ...
1
vote
1
answer
930
views
Ubuntu hard disk mounted with no partitions
I have an Ubuntu system with 2 hard disks. When I type the lsblk the output is the following:
sdb 8:16 1 1.8T 0 disk /storage
sdc 8:32 1 1.8T 0 disk
└─sdc1 8:33 1 1.8T 0 ...
0
votes
0
answers
397
views
Programs crashing on WIN11 after creating Ubuntu dual boot
I installed Ubuntu on my PC in a dual boot setup with Win 11 (which I have used solo in the past).
I am having issues with programs (steam, chrome, steam games and discord) crashing or not starting ...
1
vote
1
answer
10k
views
Explain _ Information: You may need to update /etc/fstab
with
neofetch --stdout |grep 'OS:'
OS: Kubuntu 22.04.3 LTS x86_64
To re-purpose a drive ...
this drive was made raw by:
deleting all files
deleting all partitions by
using badblocks command
...
0
votes
1
answer
595
views
Ubuntu / Unable to use partition / wont show up on lvdisplay, vgdisplay, nor pvdisplay
I am at a total loss. I have 100G set for my LVM, and have been trying to either expand it or just open up access to the rest of the partition on /dev/sda3. It shows up in lsblk but doing anything in ...
3
votes
1
answer
10k
views
Cannot mount sda3 "mount: /media/drive: unknown filesystem type 'LVM2_member'."
Yesterday I installed ubuntu server on an old laptop to use as home server for Jellyfin and other applications. Everything is going great, until I run the 'df -h' command to check available space on ...
1
vote
0
answers
43
views
Dual boot Ubuntu after format, it seems I have both Ubuntu versions now
Title can be confusing, I wanted to summarize my problem. I am open to suggestions, so sorry for that.
I had Windows 11 and Ubuntu 18.04 both installed as dual boot. I wanted to delete Ubuntu 18.04 ...
-1
votes
2
answers
179
views
How to confirm dd does Not erase the bad blocks list made by e2fsck? [closed]
How to confirm dd does Not erase the bad blocks list made by e2fsck ?
An old 1500 GB HDD (hard disk drive), without data,
took about 33 hours (1932 minutes) to run this command:
time sudo e2fsck -c -c ...
0
votes
1
answer
2k
views
Booting Windows from GNU Grub 2.06
UPDATE
I have managed to get into the startup menu with the F1, F2, F9, F10, F11 menu.
I am confused as when I hit F10 for the BIOS setup and then I go to boot options and select the USB and save and ...
1
vote
0
answers
383
views
How to install GRUB into VDI booted using Ventoy?
I have an Ubuntu Server 22.04 install running from a VDI image booted using Ventoy which I'm trying to apt-get upgrade.
When it comes to reinstalling GRUB, I get the following message:
The GRUB boot ...
0
votes
1
answer
1k
views
Remove formatting and partitions on a storage device
Under some circumstances, normal partitioning tools refuse do the requested work;
i.e. removing partitions, and deleting the partition table is troublesome...
How to get past this state? Please ...
0
votes
1
answer
424
views
I cannot find disk partition on ubuntu installation page ( screenshot attached in description)
Please I am carrying out a dual boot of ubuntu on my windows 11 home. I have gotten to the part where I have to cjoose a partition for the installation. I do not see my partitions. Attached is a ...
0
votes
1
answer
348
views
Increasing available disk size in Ubuntu
I have a 250 GB SATA SSD. I was in a hurry while I was setting up the OS in this disk, so I selected Next in "Disk Partition" part without changing anything. I thought all of the disk will ...
1
vote
1
answer
568
views
How to automatically format an SD card or a USB flash drive with one FAT32 partition that uses the entire storage space?
I have some SD cards with some existing partitions that I want to format to one FAT32 partition and I want to do it as automatically as possible. Best just using one command.
When I connect them their ...
0
votes
1
answer
805
views
Not able to resize the filesystem within an img file
I have an img file with below partition table
$ sudo parted /tmp/disk.img
GNU Parted 3.4
Using /tmp/disk.img
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print ...
0
votes
1
answer
94
views
Ran fdisk on wrong disk which was part of an LVM
I wanted to add space to an LVM so added a Virtual disk to my Ubuntu 20.04 Virtual Machine.
The VM already had 3 disks
/dev/sda 32.2GB # OS Disk
/dev/sdb 537GB # Data Disk, part of the LVM: ...
0
votes
0
answers
167
views
SD card has to be inserted multiple times before partitions are detected
When I insert a SD card on the slot for the SD card, the OS detects that a disk has been inserted, however the partitions are not listed so I cannot mount the card to access the partitions. I have to ...
0
votes
1
answer
2k
views
How to change the Partition Label on the vfat filesystem located on device /dev/sda1?
Note: this is about changing the Partition Label and not the
filesystem label
lsblk -e7 -o type,name,path,size,pttype,fstype,label,partlabel # see both, filesystem label and Partition Label
...
1
vote
0
answers
150
views
How to restrict root access to other users/partitions
Setup:
Laptop dual boot Ubuntu 22.04 and Windows 10 or 11 (both are fine for me).
I have the issue where I need to install some anti-virus software as root on Ubuntu. However this software is really ...
0
votes
0
answers
1k
views
Installing Windows over Ubuntu 22.04 - No Partitions shown
I have a Predator (PO3-640) PC.
I had windows 11 installed on it.
Using a bootable USB, I installed Ubuntu 22.04 over that Windows 11 install.
Now, I want to overwrite Ubuntu with Windows 11 again (I ...