Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

partition

Should I use fdisk for partitioning or GPT aware tools?

August 7, 2022 by Magenaut

Question: Should I use fdisk when creating partitions?

Categories Q&A, Unix & Linux Tags gpt, mbr, partition Leave a comment

Scripteable GPT partitions using parted

August 7, 2022 by Magenaut

I am partitioning eMMC using following commands in the script,

Categories Q&A, Unix & Linux Tags bash, linux, parted, partition, scripting Leave a comment

How to extend logical & extended partition with fdisk

August 6, 2022 by Magenaut

I’m trying to extend partition /dev/sda5 which is logical partition under extended partition /dev/sda2.

Categories Q&A, Unix & Linux Tags fdisk, partition Leave a comment

Short read while trying to open partition

August 6, 2022 by Magenaut

On my personal home computer running Kubuntu Linux 13.04 I’m having trouble mounting a partition that is very dear to me. My backup policy is to perform a backup about monthly, so I do have a backup from August :). Is there any way to recover the personal files that are on this drive?

Categories Q&A, Unix & Linux Tags corruption, ext4, fsck, partition Leave a comment

Backup of LVM2 logical volume

August 6, 2022 by Magenaut

I’d like to make backup on external drive of LVM2 logical volume in dd manner.

Categories Q&A, Unix & Linux Tags backup, lvm, partition, scripting Leave a comment

Can I get SSD rw performance while keeing data security if I combine SSD & HDD in btrfs RAID1

August 6, 2022 by Magenaut

I have 2 storage devices; classical slow HDD (750GB, /dev/sda) and faster SSD (128GB, /dev/sdb). Currently I have installed Ubuntu & Mint on same btrfs partition on SSD (/dev/sdb5). My btrfs pool consists of /dev/sdb5.

Categories Q&A, Unix & Linux Tags btrfs, partition, raid, ssd, ssd-hdd-hybrid Leave a comment

How to get block device name from partition device name?

August 6, 2022 by Magenaut

I’m looking for a portable way to obtain parent block device name (e.g. /dev/sda) given the partition device name (e.g. /dev/sda1). I know I could just drop the last character, but that wouldn’t work in some cases:

Categories Q&A, Unix & Linux Tags block-device, partition, shell-script Leave a comment

How to use DD to clone a partition off a disk image?

August 6, 2022 by Magenaut

I have a disk image, it’s a “whole” disk image, e.g., contains multiple partitions, and I want to clone just one of them (not the first one..) onto a partition on an external drive with multiple partitions on it (I’m also not cloning it onto the first partition of the disk…)

Categories Q&A, Unix & Linux Tags dd, disk, partition Leave a comment
Newer posts
← Previous Page1 … Page3 Page4
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress