Hitchhiker's Guide to Openbsd


Partition 1 marked active


Download 1.27 Mb.
Pdf ko'rish
bet45/258
Sana04.04.2023
Hajmi1.27 Mb.
#1328980
1   ...   41   42   43   44   45   46   47   48   ...   258
Bog'liq
obsd-faq49


Partition 1 marked active.
Now, let's see how it looks: 
http://www.openbsd.org/faq/faq4.html (22 of 43)9/4/2011 10:01:58 AM


4 - OpenBSD 4.9 Installation Guide
fdisk:*1> p
Disk: wd0 geometry: 4998/255/63 [80293248 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
0: 07 0 1 1 - 652 254 63 [ 63: 10490382 ] NTFS
*1: A6 653 0 1 - 4998 5 63 [ 10490445: 69802803 ] OpenBSD
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
fdisk:*1>
A checklist of things you want to make sure about before you exit fdisk(8): 

Valid signature? 

non-overlapping partitions? 

OpenBSD partition with an "A6" id? 

Proper partition (probably OpenBSD) flagged active? 
(Back to where we may have been)
 
4.6.4 - Custom disklabel layout
Inside the OpenBSD fdisk(8) partition, we use 
disklabel(8)
 to create OpenBSD file system partitions. OpenBSD labels its 
file system partitions using sixteen letters, "a" through "p". Partition "a" on the boot disk is defined as the root partition, 
"b" on the boot disk is the default swap partition. "c" on all disks is the "whole disk" partition, it is used by programs that 
have to have raw access to the physical disk, such as fdisk(8) and disklabel(8). The "c" partition is created automatically 
for you, and should not be deleted or changed. The remaining letters are available for you to define mount points on. You 
may skip letters, you can define them in any order, and they can be in any order on the disk (although some platforms do 
have a requirement for where the "a" partition is). You can also leave gaps in the disk that are unallocated, and allocate 
them later, or potentially enlarge existing partitions later into that unallocated space using 
growfs(8)

All partitions which have native FFS partitions on them should be within the OpenBSD fdisk(8) partition, however 
non-
OpenBSD
 partitions can (and usually should) be outside the OpenBSD fdisk partition. 
More information on using disklabel can be found 
here

More information on the why partitioning is good and strategy for a good partitioning plan are 
below

The OpenBSD installer will attempt to auto-partition your disk in a usable, "general purpose" configuration, based on the 
size of your disk. If your disk is big enough, unused space will be allocated to the 
/home
Download 1.27 Mb.

Do'stlaringiz bilan baham:
1   ...   41   42   43   44   45   46   47   48   ...   258




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