NOOB - Problem installing

Presuming you want to install to /dev/mmcblk0p2 (the ext4 partition), you need to make sure to unmount it as I said. See the “mount point” column? That’s the problem. Otherwise, it looks like you have plenty of room on it and you should be good to go.

Now ive got no errors, the instalation finished sucessfully but… the system boot doesnt recognize the Lubuntu.

What does this mean exactly? It does not boot?

From the live-system, open a terminal and please share the output of:

sudo parted --list
sudo efibootmgr -v

lubuntu@lubuntu:~$ sudo parted --list
Model: SanDisk Cruzer Fit (scsi)
Disk /dev/sda: 4005MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 1049kB 4005MB 4003MB primary fat32 boot, lba

Model: MMC DF4032 (sd/mmc)
Disk /dev/mmcblk0: 31.3GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 525MB 524MB fat32 boot, esp
2 526MB 31.3GB 30.7GB ext4

Model: Unknown (unknown)
Disk /dev/zram1: 495MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 495MB 495MB linux-swap(v1)

Error: /dev/mmcblk0boot0: unrecognised disk label
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0boot0: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:

Error: /dev/mmcblk0boot1: unrecognised disk label
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0boot1: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:

Model: Unknown (unknown)
Disk /dev/zram0: 495MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 495MB 495MB linux-swap(v1)

ubuntu@lubuntu:~$ sudo efibootmgr -v
EFI variables are not supported on this system.

Your live-system is not booted in UEFI mode. Either you have changed the way to boot the live-system or you have no bootloader installed.

How did you create your live-stick? On Windows, I can recommend Rufus, on Linux I use dd.

I created the life-stick on windows with Rufus.

Indeed during the instalation i refused to install something like bootloader by fearing to lose my original DELL boot.

Now i will try to install with bootloader.

Also there’s clearly something wrong in your partitioning scheme as it seems like your boot got named boot but not given a boot flag or even a filesystem:

Error: /dev/mmcblk0boot1: unrecognised disk label
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0boot1: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:

Given you are a self-professed noob, why are you trying to do this complicated partitioning scheme? Just use the default erase disk option and save yourself the trouble.

I reinstalled with bootloader but still doesnt open ia the hard disk.
Changed to UEFI boot but it turns worse: doesnt open the live-stick lubuntu (it presents a black screen)
I will delete all partitions and install Lubunto again in that one general partition (unmounted).

Instalation type: erasing the disk
Create new partition table: MSDOS in /dev/mmcblk0 (MMC DF4032)
Install Lubuntu in new partition ext4
Boot manager location: System partition (/)

Result: Booting from the local disk…
Boot error

F2
Changed BOOT List Option: from Legacy to [UEFI]
Boot option #1: [LUB]
Result: Dell SuportAssit: No bootable devices

Inserted the live-stick (in UEFI boot);
option: open Lubuntu
Result: black screen

Please share the actual results from

sudo parted --list
sudo efibootmgr -v

And please use the “Preformatted text (Ctrl+Shift+C)” button above to post the terminal results.

Maybe you have to change back to the prior settings in your UEFI. I guess, you did another BIOS installation and it does not find anything bootable in UEFI mode.

    lubuntu@lubuntu:~$ sudo parted --list

Model: SanDisk Cruzer Fit (scsi)
Disk /dev/sda: 4005MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 1049kB 4005MB 4003MB primary fat32 boot, lba

Model: MMC DF4032 (sd/mmc)
Disk /dev/mmcblk0: 31,3GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 1049kB 31,3GB 31,3GB primary ext4

Model: Unknown (unknown)
Disk /dev/zram1: 495MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0,00B 495MB 495MB linux-swap(v1)

Error: /dev/mmcblk0boot0: unrecognised disk label
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0boot0: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:

Error: /dev/mmcblk0boot1: unrecognised disk label
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0boot1: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:

Model: Unknown (unknown)
Disk /dev/zram0: 495MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0,00B 495MB 495MB linux-swap(v1)

lubuntu@lubuntu:~$ sudo efibootmgr -v
EFI variables are not supported on this system.

Ok, then we will install the bootloader manually. Start the live-system, open a terminal and execute line by line (copy&paste to avoid errors):

sudo mount /dev/mmcblk0p1 /mnt
sudo mount -o bind /dev /mnt/dev
sudo mount -o bind /sys /mnt/sys
sudo mount -t proc /proc /mnt/proc
sudo cp /proc/mounts /mnt/etc/mtab
sudo chroot /mnt /bin/bash
grub-install /dev/mmcblk0
update-grub
exit

Please paste all the output between three backquotes:
```
the whole output
```
so that it looks like

the whole output

Then check in your UEFI settings, that your boot mode is set to CSM or BIOS Legacy, not UEFI. And that your disk is in the first or second place in the boot order.

lubuntu@lubuntu:~$ sudo mount /dev/mmcblk0p1 /mnt
lubuntu@lubuntu:~$ sudo mount -o bind /dev /mnt/dev
lubuntu@lubuntu:~$ sudo mount -o bind /sys /mnt/sys
lubuntu@lubuntu:~$ sudo mount -t proc /proc /mnt/proc
lubuntu@lubuntu:~$ sudo cp /proc/mounts /mnt/etc/mtab
cp: '/proc/mounts' and '/mnt/etc/mtab' are the same file
lubuntu@lubuntu:~$ sudo chroot /mnt /bin/bash
root@lubuntu:/# grub-install /dev/mmcblk0
Installing for i386-pc platform.
Installation finished. No error reported.
root@lubuntu:/# update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.0.0-13-generic
Found initrd image: /boot/initrd.img-5.0.0-13-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
done
root@lubuntu:/# update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.0.0-13-generic
Found initrd image: /boot/initrd.img-5.0.0-13-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
done
root@lubuntu:/# exit
exit
lubuntu@lubuntu:~$

Everything looks good (you have your system installed in BIOS mode).
Grub has been installed successfully and finds the installed kernel.

If it does still not boot, then you have to look in the UEFI settings and try different settings.

I discovered something strange on the Main tab of Aptio Setup utility:
First HDD: None
Internal EMMC: Sandisk DF4032 (32GB)

Shouldn’t it be inverted? If so, any idea how to change this?

I have found this solution.

Basically, you have to change some UEFI settings and install in UEFI mode.
Before installing, make sure, that you have booted the live-system in UEFI mode:

 [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS

Obviously, the result of this test must be UEFI.

1 Like

Success! Thanks for your help!:partying_face:

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.