[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: grubb.jpg (35 KB, 1140x641)
35 KB
35 KB JPG
I'm trying to install ubuntu on my laptop. Due to unfortunate circumstances. grub fails at installation. boot-repair tool says it's about locked nvram. I tried to install grub with flags --no-nvram and --removable by following ((((ai)))). It told me to
Mount new root: sudo mount /dev/sda2 /mnt
Mount EFI: sudo mount /dev/sda1 /mnt/boot/efi
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo mount --bind /run /mnt/run
sudo chroot /mnt
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=ubuntu --removable --no-nvram
exit
unmount (sudo umount /mnt/{dev,proc,sys,run,boot/efi}
sudo umount /mnt
Reboot.

Unfortunately it didn't work. Please tell me the correct way to do this. My shitty laptop (lenovo ideapad 100-15ibd) just won't unlock its nvram.

>install gentoo
please help me
>>
>>108502911
are you by chance dual booting?
also, generally speaking, locked nvram isn't a big problem, it just means it failed to reorder the boot partition order, which you can do manually in uefi.

also why are you making a chroot by hand, when ubuntu install iso probably has the option to set it up automatically?
>>
>>108502911
Why are you asking us? I thought you had AI now and developers are no longer needed.
>>
>>108502948
I'm not dual booting.

>locked nvram isn't a big problem
I tried to install, but it returned an error: "Can't install bootloader. Command <pre>grub-install --target=x86_64-efi --efi-directory =/boot/efi --bootloader-id=ubuntu -force</pre? return error code 1. I used kubuntu's Startup Disk Creator, not dd, to create the live pendrive.

>why are you making a chroot by hand
That was what ai told me to do after I failed with the installation, honestly didn't understand this step.

>>108503010
I'm not in the ai=good camp, I just use it for simple problems, I thought it might work. Are you going to lynch me because I used the forbidden tech?
>>
>grub in 2026
lol
/g/ trolled you
use systemd boot
>>
>>108503149
>systemd
Yes just inject yourself with AIDS.
>>
>>108503165
The use efistub. Grub does nothing but add unnecessary complexity to your boot process
>>
Honestly I'd have to go back to windows since what else? I'm busy currently, maybe some day I will have time.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.