Skip to main content

Questions tagged [parted]

The tag has no usage guidance.

0 votes
0 answers
56 views

RHEL + can't resize the partition sda2 on RHEL 7.2 machines while it's passed on higher RHEL version

We have old Linux machines with RHEL7.2 and others with RHEL7.6 We want to resize the partition sda2 and then grow the filesystem. ( as /var or root filesystem ) The thing is that we succeeded to do ...
King David's user avatar
0 votes
1 answer
75 views

How to move free space from end of vm disk to resize(grow) primary partition on qemu hypervisor?

I was able to add space to my vm, but am at a loss for how to shuffle it from the end of the disk to resize the primary partition. Appreciate your input if you are knowledgeable about how to do this.....
Mark's user avatar
  • 1
1 vote
1 answer
550 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 ...
VaNa's user avatar
  • 151
0 votes
1 answer
404 views

linux + how to extend sdd1 partition based on that sdd disk have enough space

We have rhel server 7.2 version ( VM machine ) with sdd disk sdd disk have parted partition sdd1 , and our goal is to increase the sdd1 partition to 10g from current 1K size From lsblk sdd ...
sheffadmin's user avatar
0 votes
1 answer
468 views

How to Partition a Single HDD With Hardware RAID 0

I have one SSD and one 10TB HDD. All the OS stuffs (e.g. /, /root, /var, /usr, etc) are on the SSD. And for a very dumb reason, I have to attach the 10TB to a RAID card (LSI MegaRAID SAS 9260-8i). ...
HCSF's user avatar
  • 165
0 votes
1 answer
1k views

How to specify a GPT name containing spaces with parted?

I'd like to create a single big partition on a GPT hard drive taking the whole space using parted version 3.2 (so the old version since Debian didn't updated it already) According to the man page of ...
Nicryc's user avatar
  • 707
0 votes
2 answers
1k views

“No valid partition table was found on this device.” + “Error: Can't have a partition outside the disk!” + fdisk reads “7.3T” Size; How do I fix this?

Distro: Netrunner Blackbird (Debian) I/O: Sata to USB cable KDE Parition Editor: "No valid partition table was found on this device." me@computer:~$ sudo parted -l Model: ATA LITEONIT LCT-128 (scsi)...
Steven L's user avatar
4 votes
2 answers
15k views

How do I shrink the partition of an img file made from dd?

I've copied the USB drive to an .img file using dd: dd if=/dev/sdc of=myimage.img I want to reduce the size of the partition in the image. I've tried several methods and always end up with a ...
MrMas's user avatar
  • 192
8 votes
1 answer
575 views

Why does GNU parted write data to the first 440 bytes of the MBR?

My understanding is that an MBR is 512 bytes. The first 440 bytes (give or take a few bytes, depending on the implementation) contain the boot loader/bootstrap code area. The remaining bytes contain ...
Will Haley's user avatar
1 vote
1 answer
2k views

Trouble figuring out optimal alignment of multiple partitions on a 931.5 GiB external Advanced Format HDD while in Linux

SUMMARY I have a Dell Inspiron 17-5767 laptop with a 1TB internal disk I've allowed the originally shipped Windows 10 to continue to have and dominate all to itself (it's my gaming OS). Additionally ...
gluonman's user avatar
1 vote
0 answers
2k views

Resize LUKS Partition

I have a 68 GB logical LUKS partition at the very end of a drive, and to the left of that I have 60 GB of free unallocated space. Both of these partitions together make up an extended partition. I ...
Braden's user avatar
  • 11
1 vote
2 answers
19k views

How to extend partition linux parted

Context I have a remote Linux CentOS VM on Azure which hosts a MYSQL database. I just finished upgrading the disk size from 30GB to 100GB. Problem is that extra space wasn't added to the partition. ...
KareemElashmawy's user avatar
0 votes
2 answers
2k views

Create a fresh table with GNU parted

I have a USB stick which I recently used to dd an iso to it so that I could use that stick as a booting drive. Now, I would like to store regular files there. When using parted I constantly get this ...
M. Buil's user avatar
  • 133
1 vote
1 answer
289 views

Removing a partition with boot flag

I have: sda1 (win) sda2 (lin) I want to remove the sda1 partition... should I set a boot flag to the sda2 before proceeding?
Francesco Yoshi Gobbo's user avatar
1 vote
1 answer
894 views

How to make GPT extend to the full 3TB a disk has?

I've got a third party install Linux on my remote server and something went wrong with it. It has a 3TB disk in there: # hdparm -I /dev/sda | grep size Logical Sector size: 512 ...
Remigiusz Modrzejewski's user avatar

15 30 50 per page