failed to partition

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • failed to partition

      I've tried again and again, but I get two different errors. One is

      Failed to partition the selected disk
      This probably happened because the selected disk or free space is too small to be automatically partitioned.


      and the second is

      No root file system is defined
      Please correct this from the partitioning menu


      This is no "partitioning menu". So, how would I go about fixing these errors?
    • Re: failed to partition

      He probably trys to install onto as USB stick which is not detected within the setup. Bam he gets that error...

      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • Re: failed to partition

      Where are you trying to do this?


      Installing OMV. This happens after the network hardware is detected. The partition stage before installing the system.

      He probably trys to install onto as USB stick which is not detected within the setup. Bam he gets that error...


      Nope, trying to install onto an 80GB Samsung. I think this is the drive that is not detected.
    • Re: failed to partition

      "ryecoaaron" wrote:

      Try wiping the disk using gparted live or systemrescuecd first.


      I booted a gparted live USB (can't get it to boot from CD) and deleted everything there so it was left with unallocated space. That didn't work, so I booted gparted again and this time formatted the drive as an ext 4 partition. That didn't work. Something curious that happened: with the gparted live session, it had a dialogue box that said "The backup GPT table is corrupt, but the primary appears OK, so that will be used."

      I'm reading about repairing GTP disks, but I don't really understand (yet) these texts. I'm also reading about "defining a mount point" in a tutorial for Ubuntu. I don't know if that will help me. Another suggestion was to boot an Ubuntu live disk and use the command "apt-get remove dmdraid". Which reminds me; I've successfully installed OMV once before and put the disks in a RAID 1 array. Then I copied some stuff and the power went out. So I decided to reinstall and remove the RAID, but I ran into the current problem.

      help?
    • Re: failed to partition

      Boot gparted and execute these commands - change sdX to your drive:

      dd if=/dev/zero of=/dev/sdX bs=512 count=1000
      parted /dev/sdX mklabel msdos
      omv 4.0.19 arrakis | 64 bit | 4.14 backports kernel | omvextrasorg 4.1.2
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please don't PM for support... Too many PMs!
    • Re: failed to partition

      "ryecoaaron" wrote:

      Boot gparted and execute these commands - change sdX to your drive:

      dd if=/dev/zero of=/dev/sdX bs=512 count=1000
      parted /dev/sdX mklabel msdos


      This is the correct answer!

      I booted a Lubuntu live disk (can be any Linux distro), then opened the terminal (Ctrl+Alt+t) and typed:

      Source Code

      1. dd if=/dev/zero of=/dev/sda bs=512 count=1000
      2. parted /dev/sda mklabel msdos


      I noticed in the second of these two commands that msdos was used... I think my problem was that I was labeling (using gparted) the disk gpt.
      However, I'm curious about what the first dd command did.
    • Re: failed to partition

      It writes zeros over the partition table and boot loader. The count really only needs to be 1 but I use 1000 or more just to clean up the beginning of the drive.
      omv 4.0.19 arrakis | 64 bit | 4.14 backports kernel | omvextrasorg 4.1.2
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please don't PM for support... Too many PMs!