Tag Info

New answers tagged

1

It is not something I would do online but I think it is possible. I guess you are using ext4. umount /home $ umount /home shrink the /home filesystem $ fsck -f /dev/mapper/VolGroup-lv_home $ resize2fs /dev/mapper/VolGroup-lv_home 80G shrink the /home logical volume $ lvreduce -L -40G /dev/mapper/VolGroup-lv_home resize the /home partition to the size of ...


1

You cannot resize or change at all any partition on a storage device that is currently mounted. That means that your system needs to be shutdown if you intend to modify the root partition (since you cannot unmount it) You will need to boot in an external OS (e.g. using a live-CD) to perform these tasks. I would recommend you to backup any sensible data ...


0

After google, i found the below answer and implemented successfully. Cant create more than one extended partition. Instead resize the existing extend partition to use the unallocated space. To resize it, use the ubuntu live USB and start the ubuntu os with the option "try with out installing". if the existing partition contain a swap partition then, stop it ...


0

I have used "TestDisk" program to retrieve the lost partition, and it worked like magic


1

To enable the swap device you can swapon /dev/mapper/ubuntu--vg-swap_1 If there is an error with that swap space, because it was destroyed somehow, you can reformat the swap device with mkswap /dev/mapper/ubuntu--vg-swap_1 Check the related manual pages swapon(1) and mkswap(1) for more information.


0

A “physical volume” is LVM terminology for the underlying storage on which it puts data. Some typical examples of physical volumes include a whole disk a disk partition a RAID array an encrypted volume A volume group is an intermediate abstraction layer between physical volumes (corresponding to the underlying storage) and logical volumes (each ...


4

The physical volume (PV) is simply the partition with LVM metadata added. You can't create the volume group (VG) without referring to the metadata, thus you have to first create the PV(s) that will be members of the VG. A physical extent (PE) is just that - the actual section of the disk that you're writing to, very similar to an old-style disk CHS ...


1

I happened to find the answer on serverfault in which we can modify image/sda-pt.parted in image folder produced by cloning before the iso file is made to overcome this problem. The sda-pt.parted file contains the following: Model: ATA ST31000524AS (scsi) Disk /dev/sda: 976562500s ... where the value in the second line can be converted to the size of the ...


0

I install Android to USB with the .iso file and a USB boot maker program (rufus). There are 2 ways: use 2 USB and use 1 USB only. 2 USB: reboot computer > boot with USB > open Install to harddisk > push in the second USB > re detect > ... 1 USB: you will need Acronis to split the USB after make a USB boot My USB is 2GB. After make it bootable, I split to ...


3

As the volume/partition that you wish to modify is mounted, you should not modify it. In fact, GParted will not let you modify mounted partitions: Why are some menu items disabled? The partition is mounted and modifying a mounted partition is DANGEROUS. Just unmount the partition… To use GParted on the boot volume, you'll need to stop/finish ...


0

Resizing a partition in place does not change a partition's bootable flag. The fact that you see grub also suggests that is not the problem, as grub does not rely on the bootable flag. What it sounds like is you resized the partition using fdisk without resizing the filesystem in the partition first. This will leave you with a broken filesystem. You will ...


3

The three block devices are logical volumes in an LVM volume group, fedora. swap is used for swap (spill-over for RAM), home is used to store all your personal data, and root is used for everything else (programs, system configuration, system logs...). There are good reasons for these three devices to be separate: swap works better as a separate block ...


0

The easiest way to do this using a UI that will guide you through the process is GParted, otherwise you could delete/modify partitions with fdisk in the command line.


3

You have four primary partitions and want to add a fifth... and you can't just redeclare them extended/logical because those need an extra sector for each partition. Also GPT has a backup at the end of the disk so if you ever lost a partition table to MSDOS and had to resort to TestDisk, with GPT you might be able to do without. grub on BIOS system with ...


0

There is no advantage for this type of a system. The only advantage of GPT that is applicable to a small HDD is the ability to crate many primary partitions. But this is still not really important. There are more disadvantages, like that extra bios partition that you mentioned. So it makes sense to use MBR in such a case.


0

I resolved, the problem as described here, I followed all the steps to resolve.


0

You are using LVM2 (Logical Volume Manager). It manages the space of your sda5 partition. It splits your partition (=physical volume) into several (root and swap_1) logical volumes. The physical volume has a size of 31.8G (try command pvs). Your logical volume which resides inside the physical volume has a size of 14.8G (try command lvs). So there is free ...


0

A month ago, I had the same problem with a mirror volume. I solved updating to lvm2-2.02.116-3.fc21.x86_64 lvm2. Then I could run: vgreduce --removemissing --verbose myVG_NAME Excuse my English


2

Answer: none of the above. But the question is ill-posed because: /dev is usually not a partition. In most modern Linux distributions, it's a virtual in-memory filesystem (tmpfs) managed by udev so that it dynamically reflects the devices that are actually present in the system. But you can have a Linux system with a static /dev directory and that ...


0

For CentOS 6.6 on VMWare, I did the following to increase from 30 GB to 40 GB (note I was not using LVM, just regular native linux partitions (Id 83)): NOTE: Take a backup of your VM first in case you lose data. You should not lose data if everything goes well. VMWare gave me a GUI when I edited my VM before starting it to resize the amount available to ...


1

There is another way to do this in general, use kpartx (not kde related) sudo kpartx -a binary.img and now you should have all partition devices defined under /dev/mapper as loop0p1, loop0p2, ... and then sudo mkfs.ext4 /dev/mapper/loop0p1 Optionnaly, when you are done, you can run also sudo kpartx -d binary.img to get rid of the loop0p? deivce


0

The grep program reads a line at a time into memory. A line is defined as everything after one newline character and up to the next one. With binary data, there could be a very large space without any newlines. You could try using grep -z. This tells grep to treat null bytes as the input record separator instead of newlines. Extremely large chunks of binary ...


3

You can access the disk image and its individual partitions via the loopback feature. You have already discovered that some disk utilities will operate (reasonably) happily on disk images. However, mkfs is not one of them (but strangely mount is). Here is output from fdisk -lu binary.img: Disk binary.img: 400 MiB, 419430400 bytes, 819200 sectors Units: ...


1

I don't know why it looks for binary.img1 (… and later for binary.img2 buried in the commentary.) That is because the tools are expecting the filenames to follow a specific pattern. That pattern is the one used by device files for actual discs and disc volumes on your system, namely: A device file encompassing the whole disc is named sda (or ...


2

Your partition table claims that the size of the disk is only 0.7 tb despite the fact that it is really 2.7 and has a partition using that much space. Use gdisk to create a new, empty partition table, then recreate those two partitions with the exact same start and end sectors and type codes, and that should fix it.


3

You are running your disk usage via LVM, the Logical Volume Manager. Almost the entire disk is given over to LVM. Your "partitions" for / and /home are allocated out of the LVM space. You can see the usage with the pvdisplay, vgdisplay and lvdisplay commands (run these as root). If you want a new logical "partition" for your CentOS system you create one ...


0

After long search this guide helped me out. http://www.serenux.com/2013/11/howto-resize-an-lvm-partition-on-a-gpt-drive-after-expanding-the-underlying-array/


3

You need to create a filesystem on the new partition still. You created the partition, but it doesn't have a filesystem on it (as shown by its lack of entry in df -T). Do mkfs -t ext4 /dev/sda4 then try to mount it after


0

It could be because of the fast reboot feature enabled by default in recent Windows, including Windows 8. From ntfs-3g man page: Moreover, the fast restart feature available on recent Windows systems has to be disabled. This can be achieved by issuing as an Administrator the Windows command which disables both hibernation and fast restarting ...


0

Grub is a piece of software that is installed in the MBR. Delete sda5 and run grub-update or change grub config manually to boot from sda1, Maybe this howto can help you. http://www.techsupportforum.com/357-how-to-configure-grub-bootloader-in-mint-linuxubuntu/ If grub is installed on sda u can change the grub config to boot from sda1. If not try to ...


2

MTPFS is a filesystem, not a partition. Your computer makes requests like “give me the file at this location”, not “give me the content of this block”. How the files are stored on the other side is not visible through MTP; it could be a gnome typing replies very very fast. If you want to make a backup of what you can see over MTP, just back up the files. ...


0

I discovered that the grub2 boot commands for my Arch partition look for the UUID in order to figure out which partition to mount. So, the fix is, use gparted to change the partition UUID of the copied partition, and the original Arch partition works as before.



Top 50 recent answers are included