Results 1 to 10 of 10

Thread: Partitions problem - lost 250 mb

  1. #1
    Join Date
    Aug 2012
    Beans
    20

    Exclamation Partitions problem - lost 250 mb

    I was using KDE Partition Manager and while resizing was in process, my computer has turned off. Now, I have installed Ubuntu 12.10 with option of removing anything else and installing only Ubuntu. Even then, I have something like 250 MB allocated to unused partition that cannot be formated or merged with my primary one. Installation should do the trick but it didn't.

    Maybe I can use LVM to do this but I haven't ever used it. Is there a way to completely wipe clean my hard drive that I'm not aware of? Please, help me out. I'm a DJ and artist and I need all space available. Nowadays 500 GB isn't much.

  2. #2
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Partitions problem - lost 250 mb

    And 250Mb is much less. You will find this probably being used by the system for some reason. Perhaps to keep the next partition's beginning sector in the correct place, creating correct sized blocks and readable.

    It is not unusual to discover these 'random' bits. You could be there awhile trying to kill it but I'll be interested to see your resolution ...

    PS: If you're a working DJ perhaps put some money away from the next few gigs and grab an external drive or two ... eSATA or Firewire best for what you do (USB 3 also but know nothing about that). You're right: 500Gb isn't much. If you use your machine for recording, etc, you should be running the software from one drive and recording to another anyhow for better latency, among other things. Generally rule of thumb ...
    Last edited by Bucky Ball; October 22nd, 2012 at 02:20 AM.

  3. #3
    Join Date
    Apr 2010
    Beans
    223

    Re: Partitions problem - lost 250 mb

    sudo sfdisk -dx

  4. #4
    Join Date
    Aug 2012
    Beans
    20

    Re: Partitions problem - lost 250 mb

    Quote Originally Posted by sudo sfdisk -dx
    Warning: extended partition does not start at a cylinder boundary.
    DOS and Linux will interpret the contents differently.
    # partition table of /dev/sda
    unit: sectors

    /dev/sda1 : start= 0, size= 0, Id= 0
    /dev/sda2 : start= 2048, size=976769024, Id= 5
    /dev/sda3 : start= 0, size= 0, Id= 0
    /dev/sda4 : start= 0, size= 0, Id= 0

    /dev/sda5 : start= 501760, size=976269312, Id=8e
    - : start= 2048, size= 0, Id= 0
    - : start= 2048, size= 0, Id= 0
    - : start= 2048, size= 0, Id= 0


    sfdisk: ERROR: sector 0 does not have an msdos signature
    /dev/mapper/ubuntu-root: unrecognized partition table type
    No partitions found

    sfdisk: ERROR: sector 0 does not have an msdos signature
    /dev/mapper/ubuntu-swap_1: unrecognized partition table type
    No partitions found
    # partition table of /dev/sdb
    unit: sectors

    /dev/sdb1 : start= 32, size= 31277024, Id= c, bootable
    /dev/sdb2 : start= 0, size= 0, Id= 0
    /dev/sdb3 : start= 0, size= 0, Id= 0
    /dev/sdb4 : start= 0, size= 0, Id= 0
    Normally, everything should be allocated to sda1. How to fix it?

  5. #5
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Partitions problem - lost 250 mb

    There is no better way to get rid of everything than writing new blank partition table. If you do want to start freash on /dev/sda for example, simply boot the cd in live mode and in terminal do:
    Code:
    sudo parted /dev/sda
    mklabel msdos
    exit
    That should do it. After that you can install.

    There seems to be LVM on /dev/sdb, are you using that?
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  6. #6
    Join Date
    Sep 2008
    Location
    Letterkenny, Co.Donegal
    Beans
    87
    Distro
    Kubuntu 12.10 Quantal Quetzal

    Re: Partitions problem - lost 250 mb

    If you want to manage space you could use bleachbit. It will remove alot of the unnecessary files from your computer thus giving you more space to use. I'm sure that would make up for the 250MB space you have lost.
    Read what other people have to say. No matter how experienced you are, you don't know everything.

  7. #7
    Join Date
    Aug 2012
    Beans
    20

    Re: Partitions problem - lost 250 mb

    Quote Originally Posted by darkod View Post
    There is no better way to get rid of everything than writing new blank partition table.
    Sounds like what I want to do. But after the 'mklabel msdos' command I get the following error:
    Error: Partition(s) 5 on /dev/sda have been written, but we have been unable to
    inform the kernel of the change, probably because it/they are in use. As a
    result, the old partition(s) will remain in use. You should reboot now before
    making further changes.
    Ignore/Cancel?
    How to resolve this?

    EDIT: Oh, and aside from sda5, my drive is empty.
    Last edited by loopinaloop; October 23rd, 2012 at 10:23 PM. Reason: New data

  8. #8
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Partitions problem - lost 250 mb

    Just say Ignore, exit the parted prompt and reboot. It seems one of the partition was mounted, maybe the swap because it gets mounted in live mode, so that message says the change will be delayed until you reboot.

    If I understand it correctly, after a reboot the disk will show as empty, new partition table.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  9. #9
    Join Date
    Aug 2012
    Beans
    20

    Re: Partitions problem - lost 250 mb

    Sure, it's wiped and clean but I've lost 34.24 GB! GB!!!

    Now, with GParted I see no other unallocated space, no sda5, nothing. Just 465.76 GB of unallocated space out of original 500.01 GB.

    What happened? What can I do?

  10. #10
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Partitions problem - lost 250 mb

    Calm down. Gparted shows you GiB, not GB.

    A disk of 500GB never has true 500GiB because disk manufacturers use the decimal system, not the binary.

    For disk manufacturers 1GB is 1 billion bytes.

    In binary system 1GiB is 1024x1024x1024 bytes.

    That is the difference.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

Tags for this Thread

Bookmarks

Posting Permissions

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