Lista pecet@man.lodz.pl
[Lista archiwów] [Inne Listy]

Re: [PECET] Bootloader

To: pecet@man.lodz.pl
Subject: Re: [PECET] Bootloader
From: "Eneuel Leszek Ciszewski" <prosze@czytac.fontem.lucida.console>
Date: Wed, 7 Oct 2020 01:13:43 +0200

"Eneuel Leszek Ciszewski" 5f7cf767$0$17351$65785112@news.neostrada.pl


Możesz użyć (tekstowego) BCDEdit -- ale (graficzny) EasyBCD jest prostszy...

Możesz uruchomić PowerShell (prawy myszy na znak Win) i spod niej uruchomić
tekstowy BCDEdit, by zobaczyć to i owo z BCD. Wygląda to tak sobie pod względem
czytelności, gdy chcemy tu coś modyfikować:





Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Windows\system32> bcdedit

Windows Boot Manager
--------------------
identifier              {bootmgr}
device                  partition=\Device\HarddiskVolume9
description             Windows Boot Manager
locale                  pl-PL
inherit                 {globalsettings}
default                 {default}
resumeobject            {76ad73b0-04e6-11eb-9467-806e6f6e6963}
displayorder            {09e32fc4-068b-11eb-9428-54ab3ae19492}
                       {b206a301-2f2e-11e9-93ea-54ab3ae19492}
                       {current}
                       {cb00ead4-0433-11eb-9465-54ab3ae19492}
                       {default}
toolsdisplayorder       {memdiag}
timeout                 10

Windows Boot Loader
-------------------
identifier              {09e32fc4-068b-11eb-9428-54ab3ae19492}
device                  partition=\Device\HarddiskVolume10
path                    \Windows\system32\winload.exe
description             Evo_0 201004
locale                  pl-PL
osdevice                partition=\Device\HarddiskVolume10
systemroot              \Windows
resumeobject            {ed84712b-068c-11eb-946b-806e6f6e6963}

Windows Boot Loader
-------------------
identifier              {b206a301-2f2e-11e9-93ea-54ab3ae19492}
device                  partition=\Device\HarddiskVolume11
path                    \Windows\system32\winload.exe
description             Start z S Evo1
locale                  en-US
osdevice                partition=\Device\HarddiskVolume11
systemroot              \Windows
resumeobject            {ff048c9e-2f2e-11e9-93ee-806e6f6e6963}
bootmenupolicy          Standard

Windows Boot Loader
-------------------
identifier              {current}
device                  partition=C:
path                    \Windows\system32\winload.exe
description             0_SSHD_CiemnoMietowy
locale                  pl-PL
osdevice                partition=C:
systemroot              \Windows
resumeobject            {76ad73b0-04e6-11eb-9467-806e6f6e6963}
bootmenupolicy          Standard

Windows Boot Loader
-------------------
identifier              {cb00ead4-0433-11eb-9465-54ab3ae19492}
device                  unknown
path                    \Windows\system32\winload.exe
description             0_HDD_Black
locale                  pl-PL
osdevice                unknown
systemroot              \Windows
resumeobject            {03426811-0686-11eb-9428-806e6f6e6963}
bootmenupolicy          Standard

Real-mode Boot Sector
---------------------
identifier              {default}
device                  boot
path                    \NST\AutoNeoGrub0.mbr
description             EasyBCD BIOS Extender
locale                  pl-PL
custom:250000c2         1








To tylko kilka wpisów. Teraz pomyśl co będzie, gdy na każdym dysku
(z trzech: SSD, SSHD i HDD) mam po kilka (3 lub 4) partycji podstawowych
a na każdej z nich mam BCD z wpisami i W10, i różnych obrazków...

BCDEdit jest mniej komfortowy niż EasyBCD, a chyba też mniej użyteczny,
choć BCDEdit jest rodzimym produktem a EasyBCD jest programem zewnętrznym...



W EasyBCD wszystko widać bez manuali.

Podstawowa pomoc BCDEdit wygląda tak:


PS C:\Windows\system32> BCDEdit /?

BCDEDIT - Boot Configuration Data Store Editor

The Bcdedit.exe command-line tool modifies the boot configuration data store.
The boot configuration data store contains boot configuration parameters and
controls how the operating system is booted. These parameters were previously
in the Boot.ini file (in BIOS-based operating systems) or in the nonvolatile
RAM entries (in Extensible Firmware Interface-based operating systems). You can
use Bcdedit.exe to add, delete, edit, and append entries in the boot
configuration data store.

For detailed command and option information, type bcdedit.exe /? <command>. For
example, to display detailed information about the /createstore command, type:

    bcdedit.exe /? /createstore

For an alphabetical list of topics in this help file, run "bcdedit /? TOPICS".

Commands that operate on a store
================================
/store          Used to specify a BCD store other than the current system 
default.
/createstore    Creates a new and empty boot configuration data store.
/export         Exports the contents of the system store to a file. This file
               can be used later to restore the state of the system store.
/import         Restores the state of the system store using a backup file
               created with the /export command.
/sysstore       Sets the system store device (only affects EFI systems, does
               not persist across reboots, and is only used in cases where
               the system store device is ambiguous).

Commands that operate on entries in a store
===========================================
/copy           Makes copies of entries in the store.
/create         Creates new entries in the store.
/delete         Deletes entries from the store.
/mirror         Creates mirror of entries in the store.

Run bcdedit /? ID for information about identifiers used by these commands.

Commands that operate on entry options
======================================
/deletevalue    Deletes entry options from the store.
/set            Sets entry option values in the store.

Run bcdedit /? TYPES for a list of datatypes used by these commands.
Run bcdedit /? FORMATS for a list of valid data formats.

Commands that control output
============================
/enum           Lists entries in the store.
/v              Command-line option that displays entry identifiers in full,
               rather than using names for well-known identifiers.
               Use /v by itself as a command to display entry identifiers
               in full for the ACTIVE type.

Running "bcdedit" by itself is equivalent to running "bcdedit /enum ACTIVE".

Commands that control the boot manager
======================================
/bootsequence   Sets the one-time boot sequence for the boot manager.
/default        Sets the default entry that the boot manager will use.
/displayorder   Sets the order in which the boot manager displays the
               multiboot menu.
/timeout        Sets the boot manager time-out value.
/toolsdisplayorder  Sets the order in which the boot manager displays
                   the tools menu.

Commands that control Emergency Management Services for a boot application
==========================================================================
/bootems        Enables or disables Emergency Management Services
               for a boot application.
/ems            Enables or disables Emergency Management Services for an
               operating system entry.
/emssettings    Sets the global Emergency Management Services parameters.

Command that control debugging
==============================
/bootdebug      Enables or disables boot debugging for a boot application.
/dbgsettings    Sets the global debugger parameters.
/debug          Enables or disables kernel debugging for an operating system
               entry.
/hypervisorsettings  Sets the hypervisor parameters.

Command that control remote event logging
=========================================
/eventsettings  Sets the global remote event logging parameters.
/event          Enables or disables remote event logging for an operating
               system entry.

PS C:\Windows\system32>




Jak widać -- BCDEdit zezwala na to i owo, ale EasyBCD jest łatwiejszy...

--
_._     _,-'""`-._      .`'.-.         ._.                              .-.
(,-.`._,'(       |\`-/|  .'O`-'      .,; o.'      eneuel@gmail.com      '.O_'
   `-.-' \ )-`( , o o)  `-:`-'.'.   `\.'.' '~'~'~'~'~'~'~'~'~'~'~'~'~' o.`.,
-bf-      `-    \`_`"'-.o'\:/.d`|'.;.p \ ;' http://www.eneuel.w.duna.pl ;\|/...


<Pop. w Wątku] Aktualny Wątek [Nast. w Wątku>