enabling GPT (was Re: what to do with a uefi hp pavillion 10-f014au?)
David Coppa suggests a custom kernel with the GPT option turned on. I'm thinking along the lines of (1) compiling the custom kernels (GENERIC, GENERIC.MP, and RAMDISK with the option GPT turned on) and (2) making a bootable USB drive with that, (3) backing up the current installed openbsd system to another USB drive, probably a USB connected rotating HD. (4) then resurrecting MSWindows from the recovery disks and shrinking the MSWindows partition, and (5) using the USB drive to try installing to a GPT partition. What else would I need besides building the GPT enabled kernel? Do I need to install additional packages, or apply the google soc diffs as patches to things? And what kind of odds do I have of being able to dual-boot (using the BIOS boot manager, I suppose) openbsd on such a system? On Wed, May 20, 2015 at 5:28 PM, David Coppa dco...@gmail.com wrote: On Wed, May 20, 2015 at 9:00 AM, Joel Rees joel.r...@gmail.com wrote: besides take it back to the store, I mean. I have it booted on a USB stick. The internal drive appears to be unpartitioned when I do a disklabel -- only c partition reported. fdisk does report it as EFI GPT. I read something about support in the kernel. Is there any hope of say, constructing a disklabel by hand and copying the file system over by hand? (I have opened up an empty simple partition on the disk already.) You could try with a custom kernel compiled with the GPT option turned on. GPT support is currently commented out (see src/sys/arch/amd64/conf/GENERIC), but it may work... Ciao, David -- If you try a few times and give up, you'll never get there. But if you keep at it... There's a lot of problems in the world which can really be solved by applying two or three times the persistence that other people will. -- Stewart Nelson -- Joel Rees Be careful when you look at conspiracy. Look first in your own heart, and ask yourself if you are not your own worst enemy. Arm yourself with knowledge of yourself, as well.
Re: what to do with a uefi hp pavillion 10-f014au?
2015/05/20 17:28 David Coppa dco...@gmail.com: On Wed, May 20, 2015 at 9:00 AM, Joel Rees joel.r...@gmail.com wrote: besides take it back to the store, I mean. I have it booted on a USB stick. The internal drive appears to be unpartitioned when I do a disklabel -- only c partition reported. fdisk does report it as EFI GPT. I read something about support in the kernel. Is there any hope of say, constructing a disklabel by hand and copying the file system over by hand? (I have opened up an empty simple partition on the disk already.) You could try with a custom kernel compiled with the GPT option turned on. GPT support is currently commented out (see src/sys/arch/amd64/conf/GENERIC), but it may work... I don't have the machine to do a custom kernel, so, I had the MSWindOS make the recovery disks and checked that it would do the recovery. It allows a minimum install, which is a lot more responsive. :-/ And now it will disappear. Now I'm doing an ordinary legacy style install. That should give me an environment to build a custom kernel as you suggest. TBC. Would appreciate additional pointers. Ciao, David -- If you try a few times and give up, you'll never get there. But if you keep at it... There's a lot of problems in the world which can really be solved by applying two or three times the persistence that other people will. -- Stewart Nelson
what to do with a uefi hp pavillion 10-f014au?
besides take it back to the store, I mean. I have it booted on a USB stick. The internal drive appears to be unpartitioned when I do a disklabel -- only c partition reported. fdisk does report it as EFI GPT. I read something about support in the kernel. Is there any hope of say, constructing a disklabel by hand and copying the file system over by hand? (I have opened up an empty simple partition on the disk already.) Joel Rees Computer memory is just fancy paper, CPUs just fancy pens. All is a stream of text flowing from the past into the future.
Re: what to do with a uefi hp pavillion 10-f014au?
Well, here's my dmesg, in case it's useful: OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar 8 11:04:17 MDT 2015 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 1835790336 (1750MB) avail mem = 1783062528 (1700MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xe4800 (43 entries) bios0: vendor Insyde version F.0A date 07/16/2014 bios0: Hewlett-Packard HP Pavilion 10 Notebook PC acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP UEFI HPET APIC MCFG ASF! BOOT FPDT MSDM SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices GPP0(S5) GPP1(S4) OHC1(S3) OHC2(S3) OHC3(S3) EHC1(S3) EHC2(S3) EHC3(S3) XHC0(S4) AWAD(S4) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpihpet0 at acpi0: 14318180 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD A4-1200 APU with Radeon(TM) HD Graphics, 998.25 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPC NT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMC R8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1 cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 1MB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 40 4KB entries fully associative, 8 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, C-substates=0.0.0.0.0, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD A4-1200 APU with Radeon(TM) HD Graphics, 998.13 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPC NT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMC R8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1 cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 1MB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 0 pa 0xfec0, version 21, 24 pins ioapic1 at mainbus0: apid 5 pa 0xfec01000, version 21, 32 pins ioapic1: misconfigured as apic 0, remapped to apid 5 acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (GPP0) acpiprt2 at acpi0: bus 5 (GPP1) acpiprt3 at acpi0: bus -1 (GPP2) acpiprt4 at acpi0: bus -1 (GPP3) acpiprt5 at acpi0: bus -1 (GFX_) acpiec0 at acpi0 acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpipwrres0 at acpi0: FN00, resource for FAN0 acpitz0 at acpi0: critical temperature is 118 degC acpibtn0 at acpi0: PWRB acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model Primary serial 43346 03/09/2014 type LIon oem Hewlett-Packard acpibtn1 at acpi0: LID_ acpivideo0 at acpi0: VGA_ acpivideo1 at acpi0: VGA_ cpu0: 998 MHz: speeds: 1000 900 800 700 600 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 AMD AMD64 16h Host rev 0x00 vga1 at pci0 dev 1 function 0 vendor ATI, unknown product 0x9839 rev 0x00 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 0x9840 rev 0x00: msi azalia0: no supported codecs pchb1 at pci0 dev 2 function 0 vendor AMD, unknown product 0x1538 rev 0x00 ppb0 at pci0 dev 2 function 2 AMD AMD64 16h PCIE rev 0x00: msi pci1 at ppb0 bus 1 rtsx0 at pci1 dev 0 function 0 Realtek RTL8402 Card Reader rev 0x01: msi sdmmc0 at rtsx0 re0 at pci1 dev 0 function 2 Realtek 8101E rev 0x06: RTL8402 (0x4400), msi, address 14:58:d0:06:96:26 rlphy0 at re0 phy 7: RTL8201E 10/100 PHY, rev. 2 ppb1 at pci0 dev 2 function 3 AMD AMD64 16h PCIE rev 0x00: msi pci2 at ppb1 bus 5 Ralink RT3290 rev 0x00 at pci2 dev 0 function 0 not configured Ralink Bluetooth rev 0x00 at pci2 dev 0 function 1 not configured xhci0 at pci0 dev 16 function 0 vendor AMD, unknown product 0x7814 rev 0x01: msi usb0 at xhci0: USB revision 3.0 uhub0 at usb0 AMD xHCI root hub rev 3.00/1.00 addr 1 ahci0 at pci0 dev 17 function 0 AMD Hudson-2 SATA rev 0x00: apic 0 int 19, AHCI 1.3 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: ATA, TOSHIBA MQ01ABF0, AM0P SCSI3 0/direct fixed naa.5395a340583a sd0: 305245MB, 512 bytes/sector, 625142448 sectors ohci0 at pci0 dev 18 function 0 AMD Hudson-2 USB rev 0x39: apic 0 int 18, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 AMD Hudson-2 USB2 rev 0x39: apic 0 int 17 usb1 at ehci0: USB revision 2.0 uhub1 at usb1 AMD EHCI root hub rev 2.00/1.00 addr 1 ohci1 at pci0 dev 19 function 0 AMD Hudson-2 USB rev 0x39: apic 0 int 18, version 1.0, legacy support
Re: what to do with a uefi hp pavillion 10-f014au?
On Wed, May 20, 2015 at 9:00 AM, Joel Rees joel.r...@gmail.com wrote: besides take it back to the store, I mean. I have it booted on a USB stick. The internal drive appears to be unpartitioned when I do a disklabel -- only c partition reported. fdisk does report it as EFI GPT. I read something about support in the kernel. Is there any hope of say, constructing a disklabel by hand and copying the file system over by hand? (I have opened up an empty simple partition on the disk already.) You could try with a custom kernel compiled with the GPT option turned on. GPT support is currently commented out (see src/sys/arch/amd64/conf/GENERIC), but it may work... Ciao, David -- If you try a few times and give up, you'll never get there. But if you keep at it... There's a lot of problems in the world which can really be solved by applying two or three times the persistence that other people will. -- Stewart Nelson