Skip to main content

Questions tagged [fdisk]

fdisk command-line utility that provides disk partitioning

Filter by
Sorted by
Tagged with
-1 votes
0 answers
36 views

mount a ntfs windows xp partition [closed]

I have a very old PC with dual boot windows xp / debian 8. The hdisk has three partitions, as the output from fdisk -l shows: name. start. End. sectors. type /dev/sda1. 63. ...
Frederic Peugny's user avatar
0 votes
0 answers
28 views

Resizing partition via fdisk with non-adjacent logical partitions

[Running Ubuntu 20.04.06 LTS on VMware Workstation] I am attempting to resize my "/" partition. I have already expanded the disk capacity of the VM. When I start changing things in fdisk the ...
Brie's user avatar
  • 203
0 votes
0 answers
30 views

Editing the size of partitions of the disk where the OS is mounted

I'm using a Linux OS that is a built using Ubuntu. I want to decrease the size of partition 4 and increase the size of my home partition i.e partition 2, however my OS is installed in this disk, so is ...
Rohit Jambhulkar's user avatar
0 votes
2 answers
441 views

Usb drive has showed a lot of partition in lsblk, but none partition really exist

I'm was trying to delete all partition in a usb drive(a sd card with 64Gb storge), and by lsblk it showed that there is 12 partition and pretty much correct total disk size(59.5/64) NAME MAJ:...
james's user avatar
  • 1
0 votes
0 answers
201 views

Expand Ubuntu Filesystem on Hyper-V not going through

can you please help in letting me know the steps needed to increase the size of ubuntu hard drive. It is VM, I increased the disk in hyper-V by 11G. Inside the VM, when I run PARTED Print I see root@...
user3759591's user avatar
-1 votes
1 answer
481 views

I am trying to increase the size of a partion/disk that is full, but I am having trouble

on my Ubuntu virtual machine, I have a disk/partition called / with a ton of free space. I also have a partition called /mnt/images that is full. You can see that here: root@marzen:/# df Filesystem ...
SkyeBoniwell's user avatar
0 votes
0 answers
315 views

Ubuntu not showing USB in file manager

Ubuntu 22.04.3 LTS jammy Desktop recognises the USB as per fdisk an audio notification confirms the inserted (and removed) USB however file manager is missing the USB? ubuntu@ubuntu:~$ sudo fdisk -l ...
user1416486's user avatar
0 votes
0 answers
44 views

Created Partition in SD card is not detecting after rebooting

In Ubuntu 18, I inserted an SD card, and create a new partition using fdisk, then when executed the command lsblk, I got this NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 ...
Vishak Raj'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
1 vote
0 answers
683 views

how to copy a partition to a new drive and make it bigger

I have a 500GB internal M.2 SSD , and bought a 2TB M.2 SSD with a case so I can load it exernally before replacing the internal drive. The current setup is split into windows and linux partitions. If ...
Dov's user avatar
  • 811
1 vote
2 answers
160 views

I need 2 create a partition on my USB flash drive with block/cluster size of 256 KB, but cant find the dialog box 2 specify this block size in Disks

I'm using Gnome's Disks program 2 format my USB flash drive. I want only 1, 0700 Microsoft basic data partition, covering the whole disk. The disk will be used to transfer 2-8GB video files between ...
michal roesler's user avatar
0 votes
0 answers
1k views

Is that okay to have the Disk type "Microsoft basic data" in Ubuntu

I was having Windows 11 and now I'm using Linux Ubuntu only. I have two disks (SSD - HDD). My first SSD /dev/sdb disk has 2 partitions 1 with Name " EFI System Partition" ( FAT (32-bit ...
SIRJUE's user avatar
  • 1
0 votes
0 answers
53 views

Formatting Partitions in ubuntu

Hi I create 2 primary partitions with fdisk and I know that I have to format them in next step, how can I format them together instead of running mkfs -t ext4 twice?
Narges Heidarinejad's user avatar
0 votes
0 answers
35 views

Not able to grow the partition of 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 ...
BTR Naidu's user avatar
  • 179
0 votes
0 answers
25 views

Moving single partition system to smaller SSD

I've got a thin client running Ubuntu server without GUI, with single hdd. Need to move everything to smaller SSD. Can I do it using PV to USB enclosure containing the new ssd on the system itself? Or ...
Kokesh's user avatar
  • 101
0 votes
1 answer
556 views

Extended partition size didn't work

I have the following info using df: francis@playground  /var/log  sudo df -h Filesystem Size Used Avail Use% Mounted on udev 2.9G 0 2.9G ...
francisaugusto's user avatar
0 votes
0 answers
78 views

How do I allocate free disk space to my Ubuntu 22.04 partition? [duplicate]

I have read and tried the mentioned methods of allocating free space to my Ubuntu partition and have been unable to succeed. I have tried both gparted and the Disk Utility application provided with ...
phil's user avatar
  • 1
0 votes
0 answers
28 views

How do I create disk partions using ubuntu that has already been launched? [duplicate]

Ive been trying to partion my disk using ubuntu but anytime I try to resize it it says error in unmounting...target is busy!How do I go about it since am a new user in ubuntu?
Clinton Purim's user avatar
0 votes
0 answers
167 views

need help interpreting fdisk and gnome-disk-utility output

I am on a fresh Ubuntu Server 22.04 install and during install, I think I might have chosen a filesystem which I do not understand: cat /etc/*release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 ...
kiltek's user avatar
  • 121
0 votes
1 answer
304 views

Why can fdisk create a 10GiB partition on a 10GiB device but not a 9.9GiB partition

I am currently learning about creating and managing devices on my Ubuntu Server 22.04 VM running on a KVM host. I added a virtual qcow2 storage disk to the VM. I used fdisk and for very specific ...
Harsh's user avatar
  • 1
0 votes
0 answers
67 views

Mapping of Disks and underneath "Primary/Logical" Partition(s) by Unix Terminal Prompt Commands and GRUB Prompt Commands (With GRUB Naming Convention)

In Unix ("Ubuntu/lUbuntu") is there any command or any easy way to find mapping for Disk + Logical and/or Primary Partition Information between the "ls" output at "GNU GRUB ...
Nilabja Saha's user avatar
0 votes
2 answers
352 views

How i can use D: Drive in Dual Boot From Ubuntu(Single Hard Disk)?

I want to use my 1TB Hard disk in ubuntu. I have dual-booted Windows And Ubuntu. I can't see D in Ubuntu, in disks it says unmounted. I'm booting from SSD(C:)
Oven Kravecki's user avatar
0 votes
1 answer
466 views

fdisk doesn't create partitions with the requested size

I am trying to write a script to automate the task of partitions creation for ubuntu alongside windows, and for creating partitions I am using fdisk, but the problem is that the Windows OS has already ...
YaserMow's user avatar
  • 194
0 votes
0 answers
165 views

Can't boot Ubuntu or Windows (dual boot) after BIOS update

I have dual boot Ubuntu and Windows 10 on HP Pavilion. When I tried update BIOS (update downloaded from official HP website). After that I couldn't boot neither Ubuntu or Windows so I tried to use ...
tux's user avatar
  • 11
0 votes
0 answers
41 views

After adding root volume CPU utilization is continously full

My fdisk /dev/root occupies full space without any reason.
Arjun Thakur's user avatar
2 votes
0 answers
1k 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,480
0 votes
1 answer
932 views

What is the proper way to extend a VG using a virtual disk

I have Ubuntu 18.04 Server installed on a VMware platform and I have two established VGs: rootvg is 500GB and hosts the O/S on /dev/sda. The datavg was 2TB and contains our PostgreSQL database ...
S. Nixon's user avatar
  • 421
-1 votes
1 answer
386 views

How can i know the hard disk name?

How can I find the name of the hard disk I'm already in as I tried sudo fdisk -l but the result contains a lot of names, i just need the hard disk I'm using now , please EDIT I got sda 8:0 0 ...
sammo's user avatar
  • 9
0 votes
0 answers
1k views

Extend partition size on ubuntu 20.04 on VMware

I have ubuntu 20.04 with 10gb HDD on VMware. I have exported it and move another VMWare. I need to have more capacity on HDD so on VMWare, I extend the HDD to 20. I used this link to add new space to ...
VOLVO's user avatar
  • 101
0 votes
1 answer
2k views

sfdisk: create a partition from the right

I want to create partition 2 with a specified size, while partition 1 occupies the rest of the disk: echo -en 'g\nw' | fdisk "$2" #create gpt table echo -en ',1331200\n,,U' | sudo sfdisk &...
Mario Palumbo's user avatar
0 votes
0 answers
183 views

I partitioned a disk and now bios doesn't know which disk to boot from

I added another disk to my setup. I partitioned the entire disk to be ext4 with fdisk and mkfs.ext4. Now when I start the computer, it simply shows a blinking cursor. When I remove the disk, the ...
UnqtiousDude's user avatar
0 votes
1 answer
120 views

Partition size issue

I have a server with 4TB HDD, however, there is a strange issue where it seems like main partition is only 200 GB, which shouldn't be the case. if I check with lsblk -a I get: NAME ...
Perovic 's user avatar
0 votes
0 answers
106 views

Losing filesystem after creating a partition with fdisk

I created a partition with fdisk and after writing the change to the disk and reboot, I got stuck at Grub and lost my filesystem on the disk. What happened and do I have the chance to backup my data ?
Yelaco's user avatar
  • 1
0 votes
0 answers
10k views

Cannot Mount Old Ubuntu Drive connected via USB: mount unknown filesystem type 'LVM2_member'

I am trying to mount a previous Ubuntu 20.04 boot drive (250GB M.2 NVMe SSD in a USB-C adapter) to a Ubuntu 20.04 machine at /mnt/foo. However, when I try to mount the drive by doing $ sudo mount /dev/...
Athena Wisdom's user avatar
0 votes
0 answers
437 views

Problems to read a Synology raid1 disk in Ubuntu

I'm trying to recover the data from a disk of a Synology NAS. It was stored in a 2 disk RAID1. One of the disk broke and I didn't replace it. After some months, Synology station broke too, and now I ...
Virtucon42's user avatar
2 votes
0 answers
73 views

Mounted Disk Issue

Please go easy as I am somewhat a novice in Linux. I am running Ubuntu 20.04.2 and using it as a file server. I built it about a year ago and it has been working fine. This morning I rebooted the ...
Dave Coup's user avatar
1 vote
0 answers
281 views

Ubuntu only sees the first partition on an external (USB) disk drive

I connected an external (1TB) hard disk drive to my computer. It is automatically mounted on /media/$USER/Seagate Backup Plus Drive. However this drive has two partitions: an NTFS partition, and an ...
user296662's user avatar
0 votes
0 answers
340 views

Why is my filesystem size larger than the partition size. (df vs fdisk)

So... I get that fdisk lists partition sizes, and df lists filesystem sizes, and that filesystem may use a portion of the partition and disagree on the size, but why would df list filesystem sizes ...
user48956's user avatar
  • 651
0 votes
0 answers
199 views

Ubuntu constantly going to Emergency mode!

Ubuntu 18.04 LST, went to the emergency mode the first time. Nothing works to exit the emergency mode (I tested many from the discussions here) except the following solution. I fixed it using this ...
Artemis-a's user avatar
0 votes
0 answers
190 views

fdisk showing inconstant data, it shows /dev/sda twice

I boot a laptop off of an Ubuntu USB drive. I want to to use dd to image the laptop so I can have a copy before I format it. When I do fdisk -l I get root@ubuntu:/mnt/nfs/volume2/drive2/fpp/test# ...
Dovid Bender's user avatar
1 vote
1 answer
160 views

Boot problems when adding new hard drive to working 18.04 system

I have a ubuntu 18.04 system with 3 spinning hard drives, (sda, sdb, and sdc), that has been working fine. Tonight, I just added a 4th drive, (3TB WD blue), currently unformatted and unpartitioned, ...
loneRanger's user avatar
0 votes
0 answers
97 views

Partitioning a drive in Ubuntu for use in a USB dock on a windows system

I am having some issues with a 5TB internal drive I am trying to use on my windows Laptop (attached Via USB in a HDD Docking station). at first It was having issues detecting the whole drive So I have ...
Chris_livermore's user avatar
0 votes
1 answer
227 views

Upgrade SSD 1TB to 2TB: pv, vg, lv, and fdisk OK. df says no change

I'm upgrading a 20.04 server SSD from 1TB to 2TB. The transfer went fine but I seem to be stuck at the last step trying to get the new space to appear. pvdisplay, vgdisplay, lvdisplay, and fdisk all ...
tiz.io's user avatar
  • 131
-1 votes
1 answer
76 views

Syntax help in fstab needed

I just added a external ssd-drive (USB) to my VM (Ubuntu 20.04). Im trying to set it up as a XFS repository, and got the creation of A XFS partition (sdb1) in /sdb working. But i cant figure out how ...
Jigbod's user avatar
  • 1
2 votes
2 answers
5k views

How to make an external hard drive bootable with unetbootin?

The SATA hdd is connected with a USB adapter cable. How is unetbootin used to write an ISO image: to an external hard drive for installing Ubuntu? It's not clear that unetbootin is listing the ...
Nicholas Saunders's user avatar
1 vote
1 answer
955 views

Drives partitioned via server USB caddy not recognized by workstation eSATA (GPT PMBR size mismatch)

We use a USB 3.0 drive caddy (Sabrent EC-DFFN) connected to our Ubuntu 20.04 server for backups. And we are using several make/model 6TB spin drives in daily rotation (one drive per day). Each drive ...
Van's user avatar
  • 771
0 votes
0 answers
36 views

Old hard drive seen as allocated space

Old hard drive seen as allocated space I have an old trusty 20.04 system and it's time to grow into a bigger machine. The new machine is all set up with fresh 20.04 and bigger drives. Everything looks ...
Norm's user avatar
  • 11
0 votes
0 answers
206 views

Inconsistency on volume start sector found by Boot Repair

I have had a boot problem that I have just solved (just my stupid mistake) but by the way I tried Boot Repair which did not help (nor harm) but generated an interesting report: boot-repair-4ppa129 ...
Pierre ALBARÈDE's user avatar
0 votes
0 answers
2k views

Why can't I increment partition size with cfdisk?

This is an screenshot of cfdisk, showing that I have 20G of free space. When I try to resize /dev/sda2 to just 12G I get an error saying that I have not enough space. (10197402624 bytes == 10G). ...
Adrian's user avatar
  • 288
1 vote
0 answers
2k views

USB drives don't show in Files

Sometimes I can't see USB drives in Files although they appear when doing sudo fdisk -l. In Files a little flash manifests itself in the window when unplugging the USB drive. But plugging/unplugging ...
Andersyes's user avatar

1
2 3 4 5
7