About 116,000 results
Open links in new tab
  1. how to completely reformat a usb using fdisk? - Ask Ubuntu

    Dec 11, 2011 · fdisk manages partitions, but does not format or write data to the disk. To format the disk, use mkfs # FAT mkfs.vfat /dev/sdxy # /dev/sdxy is your usb # Or for ext4 mkfs.ext4 /dev/sdxy However, formatting does not overwrite your data, it …

  2. how do i fix error fdisk:cannot open /dev/sdb: Input/output error

    May 24, 2023 · My disk with all the files died last week and it seemed unrecoverable, but I managed to recover it! Other fsck related solutions didn't work.

  3. flash drive is not visible for mount and fdisk - Ask Ubuntu

    Feb 6, 2021 · I have read many posts on ubuntu-related pages but neither had provided me with a solution. Mostly they depicted cases when a card was been mounted or at least shown in gparted, lsblk, fdisk etc. I have two asus laptops but working one is of ten years already and its dvd drive cannot write an installation media to me.

  4. gparted - How to remove a partition on a hard disk? - Ask Ubuntu

    Sep 14, 2016 · You can try to use fdisk from the command line. In your case, if you want to delete partition on /dev/sdb just type: fdisk /dev/sdb. Then once fdisk is opened you can type "d" to delete and then select the partition(s) you want to delete. After you removed the partition(s) don't forget to write the changes (type "w").

  5. fdisk doesn't create partitions with the requested size

    Sep 5, 2022 · Remind, fdisk only manipulates the partition table, formatting the partition (LVM, ext4, etc) must be done by other tools. If it's only a single machine, it wouldn't be worth the time to develop a script, just doing manual partitioning with gparted or the 'something else`-option during install would be much faster.

  6. partitioning - How to add free unpartitioned space to the main ...

    Dec 24, 2019 · Please refer to my cfdik output and my fdisk details: fdisk /dev/sda Welcome to fdisk (util-linux 2.31.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command.

  7. fdisk: cannot open /dev/sdb1: No such file or directory

    Dec 3, 2017 · I will great my own OS. When I load hello.bin to my USB using: sudo dd if=hello.bin of=/dev/sdb1 bs=512 count=1 and test the bootable USB using Qemu with this command: sudo qemu-system-i386 dev/sd...

  8. fdisk - The state of partitioning tools? - Ask Ubuntu

    Personally, I'd avoid the GNU fdisk package; it's an attempt to slap an fdisk-like user interface atop libparted, but the result is something that omits the functionality that makes fdisk worthwhile to begin with. Edit (March, 2017): The older fdisk and related tools (sfdisk and cfdisk) now support GPT, too. IIRC, Ubuntu 14.10 or 15.04 was the ...

  9. Wipe mode not working in fdisk command - Ask Ubuntu

    Nov 28, 2019 · If you really want to clear it then you have to use dd or similar. Otherwise you can use fdisk to make new partitition signatures, and then make new filesystems and write over your old data. And if you don't care about making a new partition table, you can just make a new filesystem on your current partition and not even bother with fdisk.

  10. fdisk sector size and alignment issues - Ask Ubuntu

    May 19, 2015 · As a side note and background, only fairly old tools misalign partitions on modern Advanced Format disks. My guess is you used such a tool (an old version of Linux's fdisk or a DOS FDISK, perhaps) to create /dev/sda1, then used a more modern tool (a more recent fdisk, parted, or GParted, perhaps) to create the rest of your partitions.

Refresh