I'm trying to speed up booting time on my Dell Latitude 6220. I've found out that I can bypass grub bootloader using the kernels built in efistub loader.
I've found tutorial for ubuntu herebut modified it to work on deepin with mixed results.
This is what I have done:
1. Created 3 partitions using gparted from live cd.
sda1 - efi (500mb)
sda2 - /
sda3 - home
2. Installed deepin on sda2 and pointed the efi and home partition. (system boots but using grub)
3. Created /etc/kernel/postinst.d/zz-update-efistub with the following contents:
Hi,
I'm new Linux user and I'm searching for help.
I'm trying to speed up booting time on my Dell Latitude 6220. I've found out that I can bypass grub bootloader using the kernels built in efistub loader.
I've found tutorial for ubuntu herebut modified it to work on deepin with mixed results.
This is what I have done:
1. Created 3 partitions using gparted from live cd.
sda1 - efi (500mb)
sda2 - /
sda3 - home
2. Installed deepin on sda2 and pointed the efi and home partition. (system boots but using grub)
3. Created /etc/kernel/postinst.d/zz-update-efistub with the following contents:
4. Then made executable with parameters:
and i run it.
5. Added boot entry:
And now the pc boots from the kernel but gives an error: "vfs: unable to mount root fs on unknown block"
As I understand kernel cannot mount the root partition or as I found on the net it cannot find the initrd.img to point it to the root.
I've heard that I can hardcode the root path into the kernel but that's above my abilities.
And to my question.. Does anybody have an idea how to successfuly boot the deepin using efistub loader?