Monday, September 03, 2018

Re: Change Windows10 disk to OpenBSD, but not sure what disklabel and fdisk mean

If you don't care what's on the Windoze 10 drive, just do a fresh
install and allow the OpenBSD installer to use/partition the whole disk.


On 09/03/18 10:17, Chris Bennett wrote:
> Hi,
> I've gotten tired and paranoid about having Windows 10 on my hard drive
> in a laptop, but I'm not sure what partitions to keep or ditch.
> I am running off of USB flash drives, which are pesky to keep in and
> slow.
> Thanks,
> Chris Bennett
>
>
> Here are some outputs:
>
> disklabel
>
>
> # /dev/rsd0c:
> type: SCSI
> disk: SCSI disk
> label: WDC WD10SPCX-24H
> duid: 0000000000000000
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 121601
> total sectors: 1953525168
> boundstart: 0
> boundend: 1953525168
> drivedata: 0
>
> 16 partitions:
> # size offset fstype [fsize bsize cpg]
> c: 1953525168 0 unused
> i: 532480 2048 MSDOS
> j: 32768 534528 unknown
> k: 1898479616 567296 MSDOS
> l: 52428800 1899046912 MSDOS
> m: 2048000 1951475712 unknown
>
>
> fdisk
>
>
> Disk: sd0 Usable LBA: 34 to 1953525134 [1953525168 Sectors]
> #: type [ start: size ]
> ------------------------------------------------------------------------
> 0: EFI Sys [ 2048: 532480 ]
> 1: e3c9e316-0b5c-4db8-817d-f92df00215ae [ 534528: 32768 ]
> 2: FAT12 [ 567296: 1898479616 ]
> 3: FAT12 [ 1899046912: 52428800 ]
> 4: Win Recovery [ 1951475712: 2048000 ]
>
>
> dmesg
>
>
> OpenBSD 6.4-beta (GENERIC.MP) #285: Sat Sep 1 12:51:52 MDT 2018
> deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 3774021632 (3599MB)
> avail mem = 3650387968 (3481MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xea8c0 (45 entries)
> bios0: vendor LENOVO version "5PCN20WW" date 01/15/2018
> bios0: LENOVO 80XV
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP UEFI HPET APIC MCFG SBST MSDM BATB SSDT IVRS CRAT TPM2 SSDT SSDT SSDT SSDT FPDT SSDT BGRT UEFI
> acpi0: wakeup devices GPP0(S4) GPP1(S4) GPP2(S4) GPP3(S4) GPP4(S4) GFX0(S4) GFX1(S4) GFX2(S4) GFX3(S4) GFX4(S4) XHC0(S3) EHC1(S3) SBAZ(S4)
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpihpet0 at acpi0: 14318180 Hz
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 16 (boot processor)
> cpu0: AMD A9-9420 RADEON R5, 5 COMPUTE CORES 2C+3G, 2994.74 MHz, 15-70-00
> cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,CPCTR,DBKP,PERFTSC,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,XSAVEOPT
> cpu0: 96KB 64b/line 3-way I-cache, 32KB 64b/line 8-way D-cache, 1MB 64b/line 16-way L2 cache
> cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
> cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, IBE
> cpu1 at mainbus0: apid 17 (application processor)
> cpu1: AMD A9-9420 RADEON R5, 5 COMPUTE CORES 2C+3G, 2994.38 MHz, 15-70-00
> cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,CPCTR,DBKP,PERFTSC,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,XSAVEOPT
> cpu1: 96KB 64b/line 3-way I-cache, 32KB 64b/line 8-way D-cache, 1MB 64b/line 16-way L2 cache
> cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
> cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu1: smt 1, core 0, package 0
> ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins, remapped
> ioapic1 at mainbus0: apid 5 pa 0xfec01000, version 21, 32 pins, remapped
> acpimcfg0 at acpi0
> acpimcfg0: addr 0xf8000000, bus 0-63
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (GPP0)
> acpiprt2 at acpi0: bus -1 (GPP1)
> acpiprt3 at acpi0: bus 1 (GPP2)
> acpiprt4 at acpi0: bus 2 (GPP3)
> acpiprt5 at acpi0: bus -1 (GPP4)
> acpiprt6 at acpi0: bus -1 (GFX0)
> acpiprt7 at acpi0: bus -1 (GFX1)
> acpiprt8 at acpi0: bus -1 (GFX2)
> acpiprt9 at acpi0: bus -1 (GFX3)
> acpiprt10 at acpi0: bus -1 (GFX4)
> acpiec0 at acpi0
> acpicpu0 at acpi0: C2(0@400 io@0x814), C1(@1 halt!), PSS
> acpicpu1 at acpi0: C2(0@400 io@0x814), C1(@1 halt!), PSS
> acpipwrres0 at acpi0: P0U3, resource for XHC0
> acpipwrres1 at acpi0: P3U3, resource for XHC0
> acpipwrres2 at acpi0: P0U2, resource for EHC1
> acpipwrres3 at acpi0: P3U2, resource for EHC1
> acpipwrres4 at acpi0: P0SD
> acpipwrres5 at acpi0: P3SD
> acpipwrres6 at acpi0: P0ST, resource for SATA
> acpipwrres7 at acpi0: P3ST, resource for SATA
> acpibtn0 at acpi0: PWRB
> acpicmos0 at acpi0
> acpibat0 at acpi0: BAT0 model "L16L2PB2" serial 3458 type LiP oem "LGC"
> "VPC2004" at acpi0 not configured
> acpiac0 at acpi0: AC unit online
> acpibtn1 at acpi0: LID_
> "PNP0C14" at acpi0 not configured
> "AMD0030" at acpi0 not configured
> "AMD0010" at acpi0 not configured
> "ELAN060C" at acpi0 not configured
> "MSFT0101" at acpi0 not configured
> acpivideo0 at acpi0: VGA_
> acpivideo1 at acpi0: VGA_
> acpivideo2 at acpi0: VGA_
> cpu0: 2994 MHz: speeds: 3000 2700 2400 2100 1800 1400 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "AMD AMD64 15h Root Complex" rev 0x00
> "AMD AMD64 15h IOMMU" rev 0x00 at pci0 dev 0 function 2 not configured
> vga1 at pci0 dev 1 function 0 vendor "ATI", unknown product 0x98e4 rev 0xda
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> azalia0 at pci0 dev 1 function 1 vendor "ATI", unknown product 0x15b3 rev 0x00: msi
> azalia0: no supported codecs
> pchb1 at pci0 dev 2 function 0 "AMD AMD64 15h Host" rev 0x00
> ppb0 at pci0 dev 2 function 3 "AMD AMD64 15h PCIE" rev 0x00: msi
> pci1 at ppb0 bus 1
> vendor "Atheros", unknown product 0x0042 (class network subclass miscellaneous, rev 0x31) at pci1 dev 0 function 0 not configured
> ppb1 at pci0 dev 2 function 4 "AMD AMD64 15h PCIE" rev 0x00: msi
> pci2 at ppb1 bus 2
> re0 at pci2 dev 0 function 0 "Realtek 8101E" rev 0x07: RTL8106E (0x4480), msi, address 54:e1:ad:18:86:57
> rlphy0 at re0 phy 7: RTL8201E 10/100 PHY, rev. 2
> pchb2 at pci0 dev 3 function 0 "AMD AMD64 15h Host" rev 0x00
> "AMD AMD64 15h PSP 2.0" rev 0x00 at pci0 dev 8 function 0 not configured
> pchb3 at pci0 dev 9 function 0 "AMD AMD64 15h Host" rev 0x00
> azalia1 at pci0 dev 9 function 2 "AMD AMD64 15h HD Audio" rev 0x00: apic 5 int 22
> azalia1: codecs: Realtek/0x0230
> audio0 at azalia1
> xhci0 at pci0 dev 16 function 0 "AMD Carrizo xHCI" rev 0x20: msi, xHCI 1.0
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1
> ahci0 at pci0 dev 17 function 0 "AMD Carrizo AHCI" rev 0x4b: msi, AHCI 1.3
> ahci0: port 0: 6.0Gb/s
> ahci0: port 1: 1.5Gb/s
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD10SPCX-24H, 02.0> SCSI3 0/direct fixed naa.50014ee607794c63
> sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
> cd0 at scsibus1 targ 1 lun 0: <PLDS, DVD-RW DA8AESH, XL61> ATAPI 5/cdrom removable
> ehci0 at pci0 dev 18 function 0 "AMD Carrizo USB2" rev 0x49: apic 4 int 18
> usb1 at ehci0: USB revision 2.0
> uhub1 at usb1 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
> "AMD Carrizo SMBus" rev 0x4b at pci0 dev 20 function 0 not configured
> pcib0 at pci0 dev 20 function 3 "AMD Carrizo LPC" rev 0x11
> pchb4 at pci0 dev 24 function 0 vendor "AMD", unknown product 0x15b0 rev 0x00
> pchb5 at pci0 dev 24 function 1 vendor "AMD", unknown product 0x15b1 rev 0x00
> pchb6 at pci0 dev 24 function 2 vendor "AMD", unknown product 0x15b2 rev 0x00
> pchb7 at pci0 dev 24 function 3 vendor "AMD", unknown product 0x15b3 rev 0x00
> pchb8 at pci0 dev 24 function 4 vendor "AMD", unknown product 0x15b4 rev 0x00
> pchb9 at pci0 dev 24 function 5 vendor "AMD", unknown product 0x15b5 rev 0x00
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> uhub2 at uhub0 port 5 configuration 1 interface 0 "vendor 0x214b USB2.0 HUB" rev 2.00/1.00 addr 2
> urtwn0 at uhub2 port 2 configuration 1 interface 0 "Realtek 802.11n WLAN Adapter" rev 2.00/2.00 addr 3
> urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R, address 74:da:38:e7:ec:31
> umass0 at uhub2 port 3 configuration 1 interface 0 "Generic Mass Storage Device" rev 2.00/1.00 addr 4
> umass0: using SCSI over Bulk-Only
> scsibus2 at umass0: 2 targets, initiator 0
> sd1 at scsibus2 targ 1 lun 0: <Mass, Storage Device, \\001 \\001> SCSI0 0/direct removable serial.14cd125d125D20140310
> uhidev0 at uhub2 port 4 configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/24.01 addr 5
> uhidev0: iclass 3/1
> ukbd0 at uhidev0: 8 variable keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> uhidev1 at uhub2 port 4 configuration 1 interface 1 "Logitech USB Receiver" rev 2.00/24.01 addr 5
> uhidev1: iclass 3/1, 8 report ids
> ums0 at uhidev1 reportid 2: 16 buttons, Z and W dir
> wsmouse0 at ums0 mux 0
> uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0
> uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0
> uhid2 at uhidev1 reportid 8: input=1, output=0, feature=0
> uhidev2 at uhub2 port 4 configuration 1 interface 2 "Logitech USB Receiver" rev 2.00/24.01 addr 5
> uhidev2: iclass 3/0, 33 report ids
> uhid3 at uhidev2 reportid 16: input=6, output=6, feature=0
> uhid4 at uhidev2 reportid 17: input=19, output=19, feature=0
> uhid5 at uhidev2 reportid 32: input=14, output=14, feature=0
> uhid6 at uhidev2 reportid 33: input=31, output=31, feature=0
> uhub3 at uhub1 port 1 configuration 1 interface 0 "Advanced Micro Devices product 0x7900" rev 2.00/0.18 addr 2
> umass1 at uhub3 port 1 configuration 1 interface 0 "SanDisk Cruzer" rev 2.10/1.00 addr 3
> umass1: using SCSI over Bulk-Only
> scsibus3 at umass1: 2 targets, initiator 0
> sd2 at scsibus3 targ 1 lun 0: <SanDisk, Cruzer, 1.00> SCSI4 0/direct removable serial.07815530240710123365
> sd2: 122112MB, 512 bytes/sector, 250085376 sectors
> ugen0 at uhub3 port 2 "Atheros Communications product 0xe500" rev 2.01/0.01 addr 4
> uvideo0 at uhub3 port 3 configuration 1 interface 0 "Generic EasyCamera" rev 2.00/53.04 addr 5
> video0 at uvideo0
> vscsi0 at root
> scsibus4 at vscsi0: 256 targets
> softraid0 at root
> scsibus5 at softraid0: 256 targets
> root on sd2a (e93562fa493f0ad8.a) swap on sd2b dump on sd2b
> urtwn0 detached
> urtwn0 at uhub2 port 1 configuration 1 interface 0 "Realtek 802.11n WLAN Adapter" rev 2.00/2.00 addr 3
> urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R, address 74:da:38:e7:ec:31
>

No comments:

Post a Comment