2

I want to install Ubuntu 22.04.2 LTS (for desktop) on my old Dell Inspiton 13-5378, but after first installation grub was loaded with "grub_native_sectors not found" and "grub_file_filters not found" errors. I'm trying to reinstall Ubuntu but I see "the efi file system creation in partition failed" whenever I choose default ubuntu installation or manual partition.

I also tried to leave 20 mb of unused space as was recommended here and got same failed error.

The result of booting with Live-CD and creating partition table on disk is: "/dev/sda: unrecognised disk label".

What can I do with it?

1 Answers1

0

"/dev/sda: unrecognised disk label" it mean your disk have to repartitioning you can click on change and chose partition size and filesystem type

  • 1
    i can not cos gparted says "no partition table found on device" and for creation partition table i have this ("/dev/sda: unrecognised disk label") – Thomas Edward May 23 '23 at 14:26
  • can you follow this (https://askubuntu.com/a/1431688/1698042) please may it helpe you – Talaat Etman May 23 '23 at 14:39
  • as i understood i need to enable iommu. i checked in the bios and theres no such option (im using dell inspiton 13-5378) but VT for IO and virtuallization are enabled.. @طلعت عتمان – Thomas Edward May 23 '23 at 14:59
  • @ThomasEdward this is bios settinges from dell to install ubuntu (https://www.dell.com/support/kbdoc/en-us/000131655/how-to-install-ubuntu-linux-on-your-dell-pc#BIOS) – Talaat Etman May 23 '23 at 15:09
  • i had same bios settings, except "Enable Legacy option ROMs" that was enabled, tho disabling it give me same result - "the efi file system creation in partition failed" @طلعت عتمان – Thomas Edward May 23 '23 at 15:34
  • Installing Ubuntu on a Dell computer configured for the UEFI BIOS (https://www.dell.com/support/kbdoc/000141125/xps-13-9343-how-to-install-ubuntu-developer-edition-14-04-on-a-dell-pc-configured-for-the-unified-extensible-firmware-interface-uefi-bios) – Talaat Etman May 23 '23 at 15:44
  • i can not add boot option, got the error "file system not found" @طلعت عتمان – Thomas Edward May 23 '23 at 16:23
  • look at this answer https://askubuntu.com/a/356524/1698042 – Talaat Etman May 23 '23 at 17:34
  • 3
    I do not suggest standard desktop users need a separate /boot partition, it just is one more partition to manage size of. You need to set device label as gpt with gparted select in menu under device, advanced gpt over msdos(MBR). Or sudo parted /dev/sda mklabel gpt. For UEFI boot, you need the ESP as FAT32 with esp,boot flags 100 to 500MB. You need / (root) not /root. Other partitions are optional. Swap file now used if swap partition not found. And /home or data partition is suggested if drive is very large. – oldfred May 23 '23 at 17:43
  • tray to boot withe boot repair cd may it help to repair your firest installation boot – Talaat Etman May 23 '23 at 17:43
  • i guess i dont need swap partition as i am using ssd.. i did next steps:
    1. sudo parted /dev/sda mklabel gpt

    2. (parted) -a opt mkpart efi 0% 500MB

    3. (parted) -a opt mkpart ext4 0% 100%

    however i got the message.. is theres something wrong im doing? why only 1Mb avialable?.. @oldfred

    – Thomas Edward May 23 '23 at 19:26
  • 2
    Is sda your flash drive? Some systems promote flash drive when rebooted from sdc or whatever to sda and then internal drive is next drive or sdb. Always check drives with fdisk, parted or gdisk before executing any command using device. Device is not always reliable, and thats why UUID used now for mounting in fstab. Also should have mentioned, if drive was MBR converting to gpt would erase it. But most drives since 2012 are gpt as Microsoft required vendors to install in UEFI/gpt mode with release of Windows 8 in 2012. – oldfred May 23 '23 at 20:57
  • seems that none of the tools gparted or fdisk actually erase the old partition table of the datacenter. the solution is to erase the first lines of bytes of the disk with : sudo dd if=/dev/zero of=/dev/sdh bs=8M count=8 for more information look at https://serverfault.com/a/802860 – Talaat Etman May 24 '23 at 07:05
  • sda is definitely ssd, and stick is always sdb - they have big difference in size, and i have only 2 devices. i dont know if it was mbr, it was bought in 2018.. @oldfred – Thomas Edward May 24 '23 at 18:07
  • 1
    it didnt help @طلعت عتمان – Thomas Edward May 24 '23 at 18:08
  • look at this https://www.linuxquestions.org/questions/linux-hardware-18/disk-dev-sdh-doesn't-contain-a-valid-partition-table-843399/ – Talaat Etman May 24 '23 at 18:15
  • 1
    On my system external drives always get promoted to first device on reboot. So sdb becomes sda. You always need to check with partition or fdisk before using device in any command. – oldfred May 24 '23 at 19:49