Modify setup menu ptp default setting to advance if os type is linux �������

Modify setup menu ptp default setting to advance if os type is linux �������

tools needed to access advanced settings that are otherwise not shown in the firmware’s GUI.

This system allows to modify board settings otherwise kept hidden in vendor BIOS interfaces. It is suitable for systems that have signed images, which will refuse to boot a modded BIOS where they are shown again.

This tool and procedure was tested on a HP Envy 15 ah150sa, and it has quite a bit of interesting stuff hidden in there.

I add here a modified grub binary, the patch to create it, and the full blog page of the blog with the instructions. This is of course not my work, and I’m only adding it here because the links to the file and source patch in the blog are dead.

Instructions Put this EFI application (source code: patch to GRUB2-1.96+20090709 [not required to run the EFI application]) on an USB-stick that is formated with FAT32 into the following directory:\EFI\BOOT\

Disable SecureBoot and boot the USB stick in EFI mode.

If everything goes well, you should see the following message> Welcome to GRUB!>> Entering rescue mode. > error: file not found> grub rescue>

You can now use the utility by writing setup_var

After you press ENTER, a license text should inform you about the risks. More importantly, you should see at the bottom that the tool is looking for the Setup variable and found it. The GUID should match the expected GUID, if it does not, don’t continue!

The tool has this syntax:

Usage: setup_var offset [setval]

so you can use it to read the current value if you write the offset only, or to change the value if you write the offset AND the value.

After you have done, turn off the PC by pressing power button until it shuts down, and then remove usb stick.

The list of values can be dumped from the UEFI module called «SetupUtility», by using https://github.com/donovan6000/Universal-IFR-Extractor

You will need another tool to decompress and break up your firmware image into UEFI modules. I used «Tool to Insert/Replace SLIC in Phoenix / Insyde / Dell / EFI BIOSes» from mydigitallife forums. Select the flashable firmware file with «Original BIOS» and then let it do its work, after it has finished click on Structure button in the lower left side of window. Start opening all submenus to see a list of modules. Look for a module called «DXE Driver «SetupUtility», look at the ID number within brackets.

Now open the «DUMP» folder created by the tool (in the same place you have also the bios file), find the files that have the same ID number in their name and try to read them with the IFR extractor, one of them is the right one and will yeld a text file with a list of human-readable option names with variable offset and possible values. (It’s basically a dump of the text shown in the BIOS interface if it wasn’t hidden) For me it was in a file called FE3542FE-C1D3-4EF8-657C-8048606FF670_1223.ROM (yours will very likely differ)

For HP laptops you can obtain a readable fimrware image by using their BIOS update utility and having it make such plain bin files (advanced mode, third option). Just decompressing the update utility yelds a file that is unreadable.

About

tools needed to access advanced settings that are otherwise not shown in the firmware’s GUI

Источник

Форум сайта HobbyComp.ru

Обсуждение статей сайта, вопросы пользователей

Расширенный BIOS ноутбуки HP (Advanced BIOS)

Расширенный BIOS ноутбуки HP (Advanced BIOS)

Сообщение vanyasem » 01 июл 2016, 22:56

У ноутбуков HP есть защита «от дурака», которая закрывает доступ к большинству настроек ноутбука в биосе (это применимо и к другим компьютерам с биосом insydeh20).

Читайте также:  Запланирован автоматический перезапуск windows 10 как отключить

Для чего нужны эти настройки? Например, разогнать устройство. Или отключить какую-то часть железа (например, сгоревшую видеокарту).

Как же всё таки зайти?
При включении ноутбука (до экрана загрузки) нажать ESC.
После зажать английскую «A» и не отпуская её несколько раз нажать на F10 без FN.
В биосе должна появиться новая вкладка «Advanced». С 1го раза может не получиться.

Только обещайте, что ничего не сломаете!

Расширенный BIOS ноутбуки HP (Advanced BIOS)

Сообщение Amigo » 17 апр 2019, 11:06

Расширенный BIOS ноутбуки HP (Advanced BIOS)

Сообщение UserHP » 05 май 2019, 13:46

Источник

Как открыть расширенные настройки? [Bios insydeh20 f.66 rev 3.5]

Как открыть расширение настройки в insydeh20 rev 3.5
Не могу установить win7 с флешки через биос Настройки очень скудные Когда выбираю в приоритете.

Как открыть вкладку ADVANCED в Bios insydeH20 setup utility rev 5.0?
При запуске стоит стандартное окно BIOS: как сделать чтобы вывелась вкладка ADVANCED в BIOS.

Расширенные настройки в BIOS ? [Bios insyde f.66 rev 3.5]
Ситуация заключается в следующем, купил новый хард для ноутбука (HP Pavilion g7-1372sr), потому что.

Как открыть полные настройки bios insydeH20 ноутбук hp15-r
Подскажитье пожалуйста как открыть полные настройки bios ? Раньше как-то подобное делал, но сейчас.

Самый легкий способ туда попасть это комбинация клавиш F10+A. — Но это мне на моем ноуте не помогло, а то что помогло ниже.

На HP G72 b01er с BIOS InsydeH20 Rev. 3.5, только версия F48 , потратив парочку вечеров нашелся патченый биос с открытыми расширенными настройками, все шилось из под Windows 8.1. Только вот не сохраняются настройки графики, т.е. постоянно после сохранения и перезапуска BIOS, значение графики dGPU или iGPU слетают обратно в Hybrid. Для переключение в однорежимный режим графики и нужен был биос с расширенными настройками. Кстати, беда с невозможностью сохранить настройки видео присуща, только или в большей степени у ноутов HP.

Судя по тому, что у вас версия биоса F66, файлы моей прошивки вам не подойдут.

Так же есть более тяжелый способ модификации биоса — Тут

Источник

Linux on UEFI — how to reboot to the UEFI setup screen like Windows 8 can?

makeuseof.com explains that Windows 8 certified hardware has a new way to enter the UEFI setup screen (equivalent to BIOS). From How To Access The BIOS On A Windows 8 Computer:

No longer do we press a certain key during the boot process to reveal the BIOS – instead, an option to access the BIOS is located in Windows 8’s boot options menu. If you’re just here to access your computer’s UEFI BIOS, click the Troubleshoot tile.

The main developer of Secure Boot for Linux says that alternative OS’s can’t assume the old way will continue to work. So does Linux also have a new way to enter UEFI setup?

I have an ASUS motherboard. It suggests that an upgraded version of the firmware contains a fast boot option. The flip side is that the option might make it even harder to «reveal the BIOS» than it already is.

I don’t mind tinkering. Just if this is known to be a bad idea, I don’t want to go through the risk of a firmware upgrade for nothing (and maybe have to pop the case off, reset the settings and have to set them all up again).

Alternatively, how is this handled for Windows 7 users? If they optimistically select the fast boot option, how do they get access to the «BIOS» setup again when they need it?

5 Answers 5

On modern Linux distributions using systemd, you can go straight to the Firmware setup menu using:

I’m not sure how exactly Windows 8 does this, but I can guess that it takes advantage of UEFI variables used for boot options.

You can use efibootmgr to determine the meanings of the various boot variables. On my system, Boot0000 is Setup, so using efibootmgr -n 0 should cause the system to boot into setup on the next boot.

I’ve written a small tool to do this without systemd, https://github.com/adoakley/efi-boot-to-fw-ui.

I have tried EFI booting with Ubuntu 12.04, and found an answer to my own question.

(I haven’t upgraded my firmware. I misread the release notes originally — it probably wouldn’t be any faster).

Entering firmware setup from the grub-efi boot menu

efibootmgr doesn’t seem to support rebooting to firmware setup for me. But grub-efi does. It’s able to create an entry for firmware setup in the GRUB boot menu.

Читайте также:  Windows 10 добавить пользователя локальной сети

You can enter the GRUB boot menu by holding down the shift key «early in the boot process». I press it down immediately after the NumLock light turned on on the keyboard, and that works for me.

If you’re curious, I looked at the command as well: it’s «fwsetup». I.e. you can enter the GRUB menu, follow the on-screen instructions to switch to the command line, then type «fwsetup» and hit return.

If you do an EFI install from scratch, I believe the menu item will be created automatically. I didn’t install as EFI, which meant I had to kick it (see below, step 4).

Converting from BIOS-GPT boot to UEFI-GPT boot without burning an EFI boot CD?

EDIT: this section may work on some systems. However I now believe it relies on extra behaviour which is not part of the UEFI standard. Some day I’ll figure out what’s happening here.

I was converting an existing install to EFI, without an EFI-enabled boot CD. Some people think this isn’t possible. Admittedly, there are a couple of confusing warning messages. I had a look at what was going on. If you can currently enter the firmware setup, then it’s not all that bad.

The hard part is you’re probably still using an MBR partition table, and you almost certainly need to convert it to GPT. I’m not going to cover conversion from MBR to GPT. Partitioning is always a bit dangerous. gdisk can convert, but there are quite a few fiddly bits. I haven’t listed them all here. But for one, you probably need to shrink the last partition, to make space for the end-of-disk GPT. You can’t do that if the partition is mounted, so you’ll want to use a boot CD. (I also staged the conversion, making sure I could boot from BIOS-GPT before I tried UEFI-GPT, which involved having to create yet another type of boot partition.).

Assuming you’ve got GPT set up:

  1. Install grub-efi. This removed grub-pc, and stopped it from working. (grub-efi actually still worked after I removed it!). Fedora seems a bit different; I’ve only tried this on Ubuntu. During the install, you will see errors about not being able to access EFI variables, which is because you didn’t boot by EFI.
  2. Shutdown.
  3. Power on. Make sure you boot through EFI! This is the system-dependent and worrying part. My system happened to default to MBR boot to start with, so I saw a scary error from GRUB — but it was from the old grub-pc. On my system, it was easy to enter the firmware setup screen at this point (see below), and change the boot priority to «ubuntu» (which was the entry for booting my OS via EFI).
  4. Now you can redo the grub installation ( grub-install , or grub2-install on Fedora), and it won’t show any errors. And now, running update-grub (or grub2-mkconfig -o /boot/grub/grub.cfg , on Fedora) will create the menu item for entering firmware setup.

Entering the firmware setup/boot menu on my ASUS system

DISCLAIMER: this is not the very latest firmware/board. Your ASUS system may act differently from mine.

My current ASUS firmware notices when the «boot configuration» has changed — e.g. when I installed grub-efi. There’s text saying that it’s changed if you look at the initial «EZ setup» screen. And, when it detects such a change, it makes it easier to enter the setup screen. What it does is it shows the splash screen with «press DEL to enter setup» for a few seconds. (If you’ve enabled the «fast boot» option, it normally skips the splash screen).

I think it’s also possible to trigger the splash screen by you powering off the system and unplugging it for a minute or so, before rebooting.

On my current firmware, I can enter the firmware setup by blitzing the DEL key during boot, even without the splash screen. However, this is conditional on enabling keyboard support in the firmware.

It’s possible to switch the firmware not to probe for keyboards during boot, which is supposed to speed things up. I guess this is the next experiment to try, now I’m more confident about this EFI stuff! (It’s plausible it could kill keyboard support in the GRUB boot menu as well. But I should still be able to use grub-set-default, so that GRUB boots the fwsetup entry, and recover that way).

Читайте также:  Windows remote desktop session host server sdk apis

Источник

How do I set the default program?

How do I set the default program that I use?

I have tried to open System InfoDefault Program → change my program, but it won’t work,

Any idea? Or should I use Terminal?

I want to replace the default movie player with VLC media player, because the current movie player is useless to me.

14 Answers 14

There’s yet another GUI solution, which might come handy for you 😉

Try opening the properties (right click -> Properties) of the file type you want to be always played by VLC.

Choose the Open with tab and either choose from a list or add one (by choosing from an extended program list or simply typing vlc as the command)

. and click on Set as default

If you’re really desperate, just manually edit the file

Just add this under the [Default Applications] section if you want it to be default, or under [Added Associations] if it shouldn’t be default.

Some programs still use the now deprecated

/.local/share/applications/mimeapps.list , however, best is to make that a symlink to

/.config/mimeapps.list to have a single config for this:

/.config/mimeapps.list and has higher precedence.

Choice number one: Open a terminal where your file is and do the following command.

There is the output:

Use application #3
Use command: vlc %f

Press 1 if you see vlc, if not, chose the Other solution (3 in that case). Then type the name of your application followed by %f.

Choice 2: Generic way

And then do the step above.

Use Ubuntu Tweak — it has a file association manager and you can choose which programs open which file types.

Best way to install is:

EDIT In newer versions of Ubuntu, follow Paulius’s answer, the option has been added to the Properties -> Open With screen.

works from the commandline, and is obey instantly by all GTK apps (and possibly Qt apps?). For example, to change the default PDF reader to Okular, use:

xdg-mime default okularApplication_pdf.desktop application/pdf

This is really useful for updating the default apps used by GTK when using a Qt based system without having to install any GTK-based apps.

Edit: on *buntu flavoured linuxes, the applications that can be used with this method are at /usr/share/applications/*.desktop . The known mimetypes can be found in /usr/share/applications/defaults.list .

I was having a similar problem with PDFs; I had installed Adobe Reader, but I couldn’t get it to open them as the default application — it didn’t even show up on the lists!

I checked the mimeapps.list file listed above, and it was already listed as default there.

This is what worked for me finally:

  • I right clicked on a PDF and chose «Properties.» I opened the «Open with» tab.
  • Still no Adobe Reader.
  • Clicking on the «Reset» button made Adobe appear as the default, and now it works.

I guess that «Reset» was necessary after the (rather inconventional) installation to register it as the default program.

Here’s how I did it without using the Ubuntu Tweak tool. My guide includes file type associations, so that your app will be listed in the «Recommended Applications» when right-clicking the file to see the properties. Guide as follows (I’m using 13.10 Saucy):

When you see a command, run it in terminal, of course 🙂

cp similar_program.desktop name_of_your_program.desktop

  • leave the [Desktop Entry] as the top line
  • modify the type (unless it’s the same)
  • modify the name (can have spaces)

if you want to add support for the name in other languages just add a new line that says for instance:

modify the Exec (should just say yourprogram %f as long as it’s a default install with the program in /usr/bin )

In my instance I wanted to add PlayonLinux to select as a program to open .exe files, instead of always using WINE. But I wanted Wine to show up too.

In this case, you can leave the top section [Default Applications] alone. Then find the line under [Added Associations] , and change it from, in my instance

This way they both options will show up when I try to load a Windows .exe file.

Источник

Оцените статью