Hitchhiker's Guide to Openbsd


help Display a list of commands that fdisk understands in the interactive edit mode.  ● reinit


Download 1.27 Mb.
Pdf ko'rish
bet206/258
Sana04.04.2023
Hajmi1.27 Mb.
#1328980
1   ...   202   203   204   205   206   207   208   209   ...   258
Bog'liq
obsd-faq49

help Display a list of commands that fdisk understands in the interactive edit mode. 

reinit Initialize the currently selected, in-memory copy of the boot block. This is a handy way to quickly 
slap a "full-disk" OpenBSD partition in place, update the boot code, and in general, make the system ready 
for OpenBSD (and nothing but OpenBSD). 

disk Display the current drive geometry that fdisk is using. You are given a chance to edit it if you wish. 

setpid Change the partition identifier of the given partition table entry. This command is particularly 
useful for reassigning an existing partition to OpenBSD. 

edit Edit a given table entry in the memory copy of the current boot block. You may edit either in CHS 
geometry mode, or in sector offsets and sizes. 

flag Make the given partition table entry bootable. Only one entry can be marked bootable. If you wish to 
boot from an extended partition, you will need to mark the partition table entry for the extended partition 
as bootable. 

update Update the machine code in the memory copy of the currently selected boot block. 
http://www.openbsd.org/faq/faq14.html (4 of 34)9/4/2011 10:02:25 AM


14 - Disk Setup

select Select and load into memory the boot block pointed to by the extended partition table entry in the 
current boot block. 

swap Swaps two MBR entries, so you can re-order the MBR. 

print Print the currently selected in-memory copy of the boot block and its MBR table to the terminal. 

write Write the in-memory copy of the boot block to disk. You will be asked to confirm this operation. 

exit Exit the current level of fdisk, either returning to the previously selected in-memory copy of a boot 
block, or exiting the program if there is none. 

quit Exit the current level of fdisk, either returning to the previously selected in-memory copy of a boot 
block, or exiting the program if there is none. Unlike exit it does write the modified block out. 


Download 1.27 Mb.

Do'stlaringiz bilan baham:
1   ...   202   203   204   205   206   207   208   209   ...   258




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling