Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [partition]

Disk partitioning is the act of dividing a hard disk drive into multiple logical storage units referred to as partitions, to treat one physical disk drive as if it were multiple disks.

0
votes
0answers
8 views

Grub rescue ‘no such partition ‘

I have an ASUS netbook Eee1008 which dual booted XP and Linux Mint. I inadvertently deleted the wrong partition when trying to remove the XP OS. I now receive only the message indicating I have no ...
0
votes
1answer
24 views

Can I temporarily mount a partitioned hard drive while using LVM?

I currently have a hard drive with a boot partition and an extended partition; the extended partition contains /, swap, and /home partitions, as shown in the screenshot below: I recently acquired a ...
0
votes
0answers
12 views

Unable to extend a partition in gparted

In my sdb drive I have 76 Gb of unallocated space. I would like to extend the partition sdb3. However gparted hangs if a try to extend this partition. Anyone knows why?
0
votes
0answers
10 views

grub-reboot and grub-set-default dont work properly

i have a fresh installed Ubuntu (Server) 18.04. I added a custom menu entry /etc/grub.d/40_custom: menuentry "Backup" { set root=(hd0,3) linux /vmlinuz root=/dev/sda3 ro quiet splash initrd /initrd....
1
vote
1answer
26 views

Mounting a hard drive (beginner)

I'm trying to mount my two harddrives (sdb and sdc) on Ubuntu 18.04 $ sudo fdisk -l Disk /dev/sda: 111.8 GiB, 120040980480 bytes, 234455040 sectors Units: sectors of 1 * 512 = 512 bytes ...
1
vote
0answers
15 views

Broken LVM Physical volume after resizing partition

I bought a new larger SSD to replace my old one. The old one has 3 partitions, 2 for booting and a third (last) one with LVM2 on LUKS. I did the following to migrate: dd the contents of the old drive ...
0
votes
2answers
37 views

Windows on SSD, Linux on HDD. No dual-boot. Separate bootloader devices. Will there be problems?

I have a 1 Terabyte HDD which is currently empty storage space for Windows which is on SSD. I want to split the HDD to two 500GB partitions and use first half as Windows storage space and the other ...
1
vote
0answers
23 views

why does these partition gaps occur? [duplicate]

I am doing an experimental project on NTFS and I just discovered every time I create a new partition there seems to be a (nearly 1MB) partition gap created just before the new partition. I searched ...
-1
votes
1answer
26 views

Delete partition - Partition number

I want to delete the partition /dev/sdb5 from my hard disk and then distribute the resulting space to other partitions. Now what would be the consequences in doing so? Would the partition numbers ...
2
votes
2answers
33 views

Problem resizing Fedora partitions using GParted

Hello everyone, I wan to to resize the size of my current Linux partition. In the picture my fedora system is the sdb5 (it is on my SSD), the 105GB unallocated space was once the space of a windows ...
-2
votes
2answers
47 views

Kali Linux installation on USB drive

I want to install Kali Linux on a 64 GB USB drive and want to take it just anywhere and plug it in any PC and have my setup up and running. IOW I just want a HDD like complete Kali Linux portable ...
-2
votes
0answers
33 views

problem with partitions

i want to install kali linux in doul boot on my dell pc. the problem is that i already had 4 partition pre installed, and i need to create a new one for kali, i dont know if i can delete one of the ...
-1
votes
1answer
8 views

Is it possible to find boundaries of a Solaris2 partition after MBR corruption?

I had disk with 4 primary partition on it with MBR (/dev/sda): - the first had a NTFS filesystem, with data (/dev/sda1); - the second was a Solaris2 partition, with openindiana (/dev/sda2 on GNU/Linux ...
0
votes
0answers
22 views

Kali Linux Boot Partition is out of Space [duplicate]

Today I installed the 2019 Kali Linux on my HP laptop, 120GB Hard drive, 16GB Ram. I created 3 partitions; 20 GB EFI partition, 80 GB primary partition & 20 GB Swap approximately 10mins after the ...
0
votes
1answer
24 views

SSD migration partitioning planning [closed]

Objective I have used Linux tools to modernize older systems with SSD drives: format & partition new SSD (gParted) migrate OS + apps (clonezilla, ) I am seeking to upgrade a Macbook Air ...
-1
votes
1answer
22 views

How to use parted or sfdisk to non-interactively partition a disk so that the partitions are properly aligned?

I'm trying to figure out how to partition a disk in a programmatic way so that my disk will have three "msdos" primary partitions: one for /boot, one for swap and the last for logical volumes. I can'...
1
vote
1answer
31 views

wipefs is not working as expected

I am doing wipefs -af /dev/sda1 and then creating pv but its throwing error I am creating with command pvcreate -qq --metadatasize=128M --dataalignment=256K '/dev/sda1' and following is error [...
0
votes
2answers
45 views

Can fstab dynamically mount a partition by reading from a file or filename?

I have a partition structure as follows: /dev/sdc1 => Partition 1 ( My OS. [ Linux flavour ] ) /dev/sdc2 => Partition 2 ( This contents some data. ) /dev/sdc3 => Partition 3 ( This also ...
0
votes
0answers
16 views

Partition Start and End Calculation

I was using the parted command and i was trying to create a new partition using the mkpart option. While i was doing this it asked for the partition start and end. Now i believe i know what the ...
4
votes
1answer
140 views

Partition error (Fdisk/Parted)

I was creating a partition using the parted command and i used the mkpart option to create a new primary partition. But i got an unusual error message while doing this. This is my output: (parted) ...
0
votes
0answers
21 views

LVM partitioning on multiple disks using preseed script

I want to write preseed script that makes a logical volume from a volume group consisting of multiple disks, and mounts it to rootFS. I know it's easy to (lvm)partition and mount in case of using ...
0
votes
1answer
31 views

How to fix or retrieve data from an NTFS partition that was (re-)formatted with gnome-disk?

This morning, as usual, I mounted a 622 GB Windows (NTFS) partition on Linux for use. When I went on to unmount it through the graphical disks tool on GNOME, I accidentally formatted it, and now it’s ...
0
votes
1answer
76 views

What is the maximum number of partitions in a hard drive [duplicate]

I want to know the maximum number of partitions in a hard drive. But I'm not sure whether that is affected by factors such as hard drive types or partition scheme or not. So, I'll just write down ...
0
votes
1answer
72 views

reduce or delete existing root partition and install new distro

I would like to delete my existing Mint root partition which is on /dev/sda2 as its is very large space for root and I am out of space on the /home partition which is on /dev/sda4 I read online that ...
0
votes
1answer
29 views

Will relabeling a partition destroy data

Is it possible to relabel a partition that was accidentally relabeled with a different file system type? We think we accidentally relabeled sdb1 as XFS when it should have been labeled lvm(8e), after ...
0
votes
0answers
18 views

Error after extending a disk partition on CentOS 7

I went through this article https://www.ryadel.com/en/resize-extend-disk-partition-unallocated-disk-space-linux-centos-rhel-ubuntu-debian/#comment-1516 to extend space of a partition /dev/sda2, but ...
2
votes
2answers
47 views

parted command (start and end meaning)

I am using the Linux parted command; I was using the 'mkpart' option which allows new partitions to be made, but I was confused when it asked me for the start and end. What does 'start' and 'end' ...
0
votes
3answers
58 views

Why is lsblk showing the old FSTYPE and LABEL of a device that was formatted?

I formatted an external hard drive (sdc) to ntfs using parted, creating one primary partition (sdc1). Before formatting the device SystemRescueCd was installed on the external hard drive using the ...
0
votes
2answers
39 views

linux partition/disk numbers (sda1,sda2,sda5)

at the moment i understand that linux has a partition numbering system which is: partitions 1-4 are primary partitions 5 and above and logical but what about extended partitions? my curret ...
0
votes
1answer
32 views

How do I clone a 2 TB HDD onto a 120 GB HDD (shrink partition using gparted)

I have the following: Western Digital 2 TB HDD (65GB used space) Seagate 250 GB HDD (with nothing on it) The 2 TB HDD has Mac OS X 10.6.8 that I need to clone onto the smaller drive in order to use ...
1
vote
1answer
76 views

Change PTTYPE and UUID of an fdisk created partition

I've got two systems. On one, I decided to try and increase the virtual disk /dev/sda. So I delete the partition using fdisk and recreate it with a larger end size but identical start location. ( ...
0
votes
2answers
31 views

Partitioning disk

I would like to have 5 partitions: Boot Swap 3 separate (one is 'main' system partition) LUKS encrypted partitions I have boot partition as primary bootable and swap as primary linux swap. At this ...
1
vote
3answers
50 views

Can I store my program files on free space or extend my ubuntu drive size?

I recently installed Ubuntu 19.04 and allocated 50 GB of the SSD to Ubuntu using LVM; the remaining 190 GB is not allocated to a partition. Now I use programs consuming a lot of RAM, such as Android ...
0
votes
0answers
21 views

How to find max queue length for device?

Recently I ran into some I/O overload problrms on some of our machines and I have been searching to find thresholds for some metrics like: avgqu-sz await svctm Then I saw this post on Stack ...
2
votes
1answer
33 views

On Debian 9, is /root part of the /home partition?

I am encrypting my /home partition and I would also like any secrets /root (not /) contains to be encrypted. Is the /root folder considered part of the /home partition by default, or do I need to ...
0
votes
1answer
50 views

What units are the values in /proc/partitions and /sys/dev/block/<block>/size?

I have a sample emmc block info from an android device From /proc/partitions major minor #blocks name 179 1 5120 mmcblk0p1 Using my little intelligence I am assuming /proc/partitions ...
1
vote
1answer
33 views

How to enlarge this partition?

Inside vmware ESXI I have a CentOS virtual machine, and I resized the virtual disk from around 30 GB to 120 GB using vmware "edit" vm menu. Then I booted using a gparted bootable ISO and resized the ...
1
vote
0answers
47 views

How to wipe a partition quickly with value zero? [duplicate]

I want to wipe a partition quickly.I search the answer in website. such as: dd if=/dev/zero of=/dev/sda1 bs=16M count=96 shred -v -z -n 1 /dev/sda1 But: All the commandline,will overwrite with ...
0
votes
1answer
79 views

Failed finding GRUB drives of recently installed distros on another drive, edit device.map?

I am running Linux Mint 19.1 on a Samsung 860 EVO 500 GB (dev/sdb) along with Windows 10 on it and recently added a Crucial MX500 1TB (dev/sda) to try out and use more distros, both of them are ...
0
votes
2answers
49 views

partitions (in general)

I have been doing research on partitions lately and im quite confused on a few things: what is a partition table and what is it used for what is a partitioning scheme (GPT and MBR) and what are they ...
0
votes
2answers
58 views

can you partition a logical partition

in linux i have been working on partitioning and wondering is it possible to partitition a logical partition or further extend a extended partition?
0
votes
0answers
12 views

How to mention the staring size in sfdisk when using extended partition?

I'm using the below sfdisk script for eMMC partition on the target Linux platform and is working fine. #!/bin/sh # wait for the SD/MMC device node ready while [ ! -e $1 ] do sleep 1 echo “wait for $...
0
votes
1answer
41 views

Windows 10 and linux mint on one ssd disk, how to restore windows partition without losing linux?

I accidentally entered sudo mkfs.ntfs /dev/sda1 in terminal, and now i am unable to boot with Windows. I have Windows and Linux installed on ssd. On startup i have screen where i can select which to ...
0
votes
2answers
55 views

How to extend root partition by shrinking home

Recently I've found out that soon I will run out of space on my / (root) partition. I've done some research on extending root partition, however, it wasn't too informative (mostly everyone say it's ...
0
votes
0answers
23 views

Installed new Linux on HDD having a second Linux on SSD - possible sharing of root/swap partitions?

I got a bit confused after installing Linux Mint again, this time on my HDD instead of the SSD. I have not deleted the old (on the SSD) yet because I am worrying that "root" and "swap" might be shared ...
0
votes
1answer
26 views

Hiding Specific partition from a non-sudo user

Is there anyway to prevent a non-sudo user from seeing specific partition? lets say "/data" partition? I know that i can prevent the user from accessing the directory, but i preffer to hide it from ...
0
votes
1answer
30 views

install arch into already parttioned disk

I've been using linux for couple of years, but still can't manage partitioning at all. I have / and /home partitions on my drive and want to use these partitions for my fresh Arch installation. I'm ...
1
vote
1answer
25 views

Cannot Extend partition with GParted

I am trying to extend my ext4 partition using the GParted application. I've tried a number of times to get this to work, but it seems impossible. I've seen many threads about the issue being the ...
0
votes
2answers
90 views

4TB drive formatted with ext4 can't mount due to wrong fs type

I had someone plug in a brand new 4TB drive via usb in an external enclosure in a data centre. I remotely used disk to create a partition with the default parameters to use up the entire drive. I then ...
1
vote
1answer
35 views

Add (already created) partition for /home after OS installation

I made a separate partition for /home, but during installation process I forgot to mount it and hence no entry was made in fstab. I had everything in partition under the root ( well not the swap and ...