EnderUNIX Team.


EnderUNIX tips

Mail to My Friend , Home Page

[ OpenBSD ]

"Using fdisk for adding new partition" - Huzeyfe Ínal - (2005-03-01 22:53:26)   [4443]

You have a disk 20GB, and installed openBSD only 1GB then other disk space is unusable now. Let use it

#disklabel -E wd0
>p m
# size offset fstype [fsize bsize cpg]
a: 1000.1M 0.0M 4.2BSD 2048 16384 328 # (Cyl. 0*- 2031)
b: 500.1M 1000.1M swap # (Cyl. 2032 - 3047)
c: 19092.9M 0.0M unused 0 0 # (Cyl. 0 - 38791)

> a
partition: [d]
offset: [3072384]
size: [36029826]
FS type: [4.2BSD]

>w
>q

#mkdir /working
and

#mount_ufs /dev/wd0s /working

reboot and use your new partition.
*wd0 is my first ide disk


Mail to My Friend , Home Page