Results 1 to 2 of 2

Thread: New Drive Issues

  1. #1
    Join Date
    Dec 2011

    New Drive Issues

    I'm running the latest ubuntu server on a x32 tower. Recently I just purchased a 2tb drive (Segate ATA ST2000DM001-1CH1) for it, but I'm having trouble making it work.

    Webmin recognizes the fact that the drive exists, but does not recognize the total size. It says there are 0 partitions on it, and when I try to add one it gives me an error of:

    Failed to save partition : parted -s /dev/sdb unit cyl mkpart primary 0 243201 failed : Error: /dev/sdb: unrecognised disk label

    Any ideas as to what would cause this? Googling it wasn't very helpful.

  2. #2
    Join Date
    Nov 2009
    Mataro, Spain
    Ubuntu 14.04 Trusty Tahr

    Re: New Drive Issues

    I'm not sure if webmin can handle a new drive without any partition table existing. And I would suggest to forget webmin about partitioning, just do it in terminal (or over ssh if that's how you are accessing the server).

    Try this:
    Log into the server and in terminal create new partition table with parted. The choice is yours whether you will create msdos or gpt table.
    sudo parted /dev/sdb
    mklabel msdos (or mklabel gpt)
    That will create new blank table. After that, you can create partitions using parted, or webmin if you insist on using it.

    PS. Note that if you create a gpt table and you plan this disk to have the grub bootloader installed now or later, you will need to create a small bios_grub partition so that grub2 has enough space to install.
    Last edited by darkod; November 30th, 2012 at 10:58 AM.
    Ubuntu 14.04 LTS 64bit & Windows 10 Pro 64bit


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts