Results 1 to 6 of 6

Thread: are Erase Disk and a single Manual Partition the same thing?

  1. #1
    Join Date
    Dec 2015
    Location
    Japan
    Beans
    139
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    are Erase Disk and a single Manual Partition the same thing?

    When using the installer, is the Erase Disk option the same as choosing Manual Partitioning option and then making only a single ext4 partition that uses the entire disk space?

    If the answer is no...

    Then, if I did the latter, would the installer automatically manage boot files, or would making only a single ext4 in Manual Partition make something break?

    If the answer is yes...

    Then, why would the installer ever force you choose Manual Partitioning (it did to me when installing Lubuntu 20.04 on a 8GB stick computer by not showing the Erase Disk option)?

  2. #2
    Join Date
    Aug 2011
    Location
    52.5° N 6.4° E
    Beans
    6,820
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: are Erase Disk and a single Manual Partition the same thing?

    The erase disk option will wipe the entire disk and create one big ext4 partition. If you use UEFI mode (and if you're on a new computer and not dual booting with an already installed OS [and, given that you wipe the disk, you aren't], you should), it will also create an EFI partition. In the past it also created a swap partition, but this has been replaced with a swap file.

    If you've got multiple hard drives, the erase disk option doesn't make it clear which disk to erase. With multiple hard drives (including usb drives), it's best to use manual partitioning.

    If you use manual partitioning, the installer will do exactly as you tell it and will give an error if this is invalid.

  3. #3
    Join Date
    May 2013
    Location
    Galiza
    Beans
    4,009
    Distro
    Ubuntu

    Re: are Erase Disk and a single Manual Partition the same thing?

    And if using manual partitioning you need to create the EFI partition, not a single EXT4 partition occupying the whole disk. Installation will fail because of that.

  4. #4
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,739

    Re: are Erase Disk and a single Manual Partition the same thing?

    When using the installer, is the Erase Disk option the same as choosing Manual Partitioning option and then making only a single ext4 partition that uses the entire disk space?
    This used to be true, but not with the Ubiquity installer in Ubuntu 20.04.

    Erase Disk and install creates a MS-DOS partitioned disk (in BIOS mode). Based on the evidence shown below, If you install in BIOS mode, the resulting partitions from this choice have changed in 20.04 from 19.10. Compare Ubuntu 19.10 and recently installed Ubuntu 20.04 (both are VM installs here - but I don't see that making any difference in what the installer does):

    Ubuntu 19.10 - how it used to work:
    Code:
    Disklabel type: dos
    Disk identifier: 0xb3867453
    
    Device     Boot Start      End  Sectors Size Id Type
    /dev/vda1  *     2048 50329343 50327296  24G 83 Linux
    Ubuntu 20.04 - how it works now:
    Code:
    Disklabel type: dos
    Disk identifier: 0x5a8580ee
    
    Device     Boot   Start      End  Sectors  Size Id Type
    /dev/vda1  *       2048  1050623  1048576  512M  b W95 FAT32
    /dev/vda2       1052670 41940991 40888322 19.5G  5 Extended
    /dev/vda5       1052672 41940991 40888320 19.5G 83 Linux
    The installer default in 20.04 BIOS install created an EFI system partition and an extended/logical structure for the OS. The EFI partition is empty, but still mounted at /boot/efi.

    So based on this evidence, if you want a single partition BIOS system, I suggest you manually partition.
    Last edited by Dennis N; May 2nd, 2020 at 03:59 PM.

  5. #5
    Join Date
    Dec 2015
    Location
    Japan
    Beans
    139
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    Re: are Erase Disk and a single Manual Partition the same thing?

    Quote Originally Posted by Dennis N View Post
    This used to be true, but not with the Ubiquity installer in Ubuntu 20.04
    I'm using Lubuntu 20.04. When I do sudo fdisk -l and sudo parted -l, I get the following:


    Code:
    Disklabel type: dos
    Disk identifier: 0x6e219bc0
    
    Device     Boot Start       End   Sectors  Size Id Type
    /dev/sda1        2048 312576704 312574657  149G 83 Linux
    Code:
    Partition Table: msdos
    Disk Flags: 
    
    Number  Start   End    Size   Type     File system  Flags
     1      1049kB  160GB  160GB  primary  ext4
    So, Lubuntu and Ubuntu are using versions of installer?
    Last edited by anotherChris; May 4th, 2020 at 01:46 AM.

  6. #6
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,739

    Re: are Erase Disk and a single Manual Partition the same thing?

    So, Lubuntu and Ubuntu are using versions of installer?
    As far as I know, Lubuntu is still using the Calamares Installer. Lubuntu switched to that from Ubiquity (used by Ubuntu) starting with Lubuntu 18.10. The comments in Post #4 were about the Ubuntu installer (as it says in the post), not Lubuntu's, just to point out the difference in how it now does the partitioning - 19.10 compared to 20.04. Sorry for the confusion.

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
  •