Loading Haiku on EFI computer with GRUB2

I installed on my laptop Ubuntu and Haiku. Previously I had openSUSE (great OS) and I think this instruction is good for any Linux distribution. There may be slightly differences. It seems to me that on openSUSE I could enter the /boot/efi without superuser privileges. I’m not very familiar with Linux, but I was successful with booting to Haiku. In current hrevs (02.02.2017) Haiku do not create special file on EFI partition. Also Haiku BootManager is not EFI and GPT capable. This is not yet implemented. You need some external bootloader for booting to installed current version of Haiku on EFI system, like starter floppy disk in the last century - I was using pendrive with written Haiku Jessicah Build.

Recent nightlies do not boot on my computer. I don’t knowy why, Haiku bootloader do not see Haiku partitions, check #13200 on Trac. I must to use Haiku with EFI loader. You can download it:

http://www.jessicah.org/uefi-x86_64-haiku.tar.gz
https://drive.google.com/open?id=0BxfU61SfLpMjMUVlb1VCeWVsaVE (my mirror)

There is old instruction, but is good only for old BIOS’s and MBR disks.

What to do when you want dual-boot:

1. Obtaining Haiku EFI file.

Firstly create haiku folder in /boot/efi/EFI.

  • Open Terminal.
  • Type sudo mkdir /boot/efi/EFI/haiku.

If you have Haiku Jessicah Build written to pendrive, you must to mount EFI partition from flash stick. You must to know the name of disk and partition. Type in Terminal lsblk or sudo fdisk -l. I have one HDD, then I know that my pendrive is /dev/sdb. In my case there was:

Urządzenie  Start  Koniec Sektory  Size Typ
/dev/sdb1      40  102439  102400   50M EFI System
/dev/sdb2  102440 2045991 1943552  949M nieznany
  • Mount it! sudo mount /dev/sdb1 /mnt
  • Copy it! sudo cp /mnt/EFI/BOOT/BOOTX64.EFI /boot/efi/EFI/haiku

Some my thoughts:

If you deleted the recorded image, you can re-download it and mount it!
In this case, just follow this instruction - http://madduck.net/blog/2006.10.20:loop-mounting-partitions-from-a-disk-image/

In my case this was - sudo losetup /dev/loop0 /home/premislaus/Pobrane/uefi-x86_64-haiku.image -o $((40 * 512))

Or just download it from my Google Drive - https://drive.google.com/open?id=0BxfU61SfLpMjOVF5Z3cxSUJ3WEU

2. Modifying GRUB.

On Linux is zillions of commands, programs, thousand of ways for to do something. On Ubuntu 16.04.1 there is no more gksu… OK let’s go with GRUB.

  • Type sudo gedit (If you have other distro you must use command for starting GUI app with root privilage: On Gnome there is gksu I think, on KDE kdesu). Or run familiar to you text editor.
  • Open grub text file in /etc/default/. And uncomment GRUB_HIDDEN_TIMEOUT=0 - you need it for boot menu.
  • Open 40_custom text file in /etc/grub.d/, and paste following text, then save:

menuentry "Haiku x86_64" {
insmod part_gpt
insmod chain
set root='(hd0,gpt1)'
chainloader /EFI/haiku/BOOTX64.EFI
}

  • Type in terminal sudo update-grub.

Finally you can boot to Haiku!

BTW I think sudo update-grub will not be work on openSUSE Tumbleweed. This should work: sudo grub2-mkconfig -o /boot/grub2/grub.cfg

I was tinkering with this for three days, because I want to create multiboot pendrive with various live CD’s and tools like gparted. I was successful with creating Hybrid MBR pendrive, but I failed with loading Haiku and other images. Today I was able to understand how to load the EFI from HDD. If I find some time, then I want to try again with pendrive.

PS. With this method Haiku Bootloader does not work - this what appear when you hold shift during booting to normal Haiku. I don’t know how to set up it again?

2 Likes

The Haiku bootloader is simply not used: you are using the EFI loader which is independant of it. I don’t know if the EFI loader has a boot menu yet, and if it is reached the same way (shift or space). Probably one of the many little things left to do before we consider EFI booting fully supported.

1 Like

Premislaus, I have a PC All In One and I don’t get to run the Haiku with that your information, too. I already try various forms from boot, but nothing … There is some problem with kernel in every times that I try to do the Operation System working. Do you can help me to run it???

What hardware spec you have?

Recently EFI has been added to the main source code[1], and I’m using regular nightly build x86-64[2]. I also have problems. First I need to set the disk priority in my EFI. Otherwise the EFI does not allow to boot. Then I constantly press shift key to get to the Haiku bootloader settings[3]. Then set “fail safe video” and resolution. Thanks to this Haiku already works.

Remember Haiku does not support secure boot and you must disable it.

[1] http://cgit.haiku-os.org/haiku/commit/?id=2f0ca6974e11d38fb66b83cd088bf1c4b55b0fa3
[2] https://download.haiku-os.org/nightly-images/x86_64/
[3] https://www.haiku-os.org/docs/userguide/en/bootloader.html

You can make the fail safe video mode setting permanent by blacklisting the other video driver:
https://www.haiku-os.org/guides/daily-tasks/blacklist-packages/

This way there is no need to access the boot menu.

Hello! Thank you for your answer! Below, the result from command “lshw”, in a terminal of the Ubuntu, ok!

everaldo@pc-positivo:~$ sudo lshw
[sudo] senha para everaldo:
pc-positivo
descrição: Tudo-em-um
produto: DC8BT11
fabricante: Positivo Informatica SA
versão: 1.09.U
serial: 1AF078G8X
largura: 64 bits
capacidades: smbios-2.8 dmi-2.8 smp vsyscall32
configuração: boot=normal chassis=all-in-one family=To be filled by O.E.M. uuid=8065A8F1-0F06-E611-BDF4-C32AFDBA4800
*-core
descrição: Placa-mãe
produto: DC8BT11
fabricante: Positivo Informatica SA
ID físico: 0
versão: To be filled by O.E.M.
serial: 1AF078G8X
slot: To be filled by O.E.M.
*-firmware
descrição: BIOS
fabricante: American Megatrends Inc.
ID físico: 0
versão: 1.09.U
date: 05/27/2015
tamanho: 64KiB
capacidade: 960KiB
capacidades: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
*-memory
descrição: Memória do sistema
ID físico: 28
slot: Placa do sistema ou placa-mãe
tamanho: 2GiB
*-bank:0
descrição: DIMM DDR3 1333 MHz (0,8 ns)
produto: TMT425S6CFR6A-PBNJ
fabricante: Undefined
ID físico: 0
serial: 14651166
slot: A1_DIMM0
tamanho: 2GiB
largura: 64 bits
clock: 1333MHz (0.8ns)
*-bank:1
descrição: DIMMProject-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME EMAIL@ADDRESSPOT-Creation-Date: 2009-10-08 14:02+0200PO-Revision-Date: 2013-04-07 17:30+0000Last-Translator: Neliton Pereira Jr. nelitonpjr@gmail.comLanguage-Team: Brazilian Portuguese pt_BR@li.orgMIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2017-04-04 11:54+0000X-Generator: Launchpad (build 18335) [vazio]
produto: Array1_PartNumber1
fabricante: A1_Manufacturer1
ID físico: 1
serial: A1_SerNum1
slot: A1_DIMM1
*-cache:0
descrição: L1 cache
ID físico: 36
slot: CPU Internal L1
tamanho: 112KiB
capacidade: 112KiB
capacidades: internal write-back
configuração: level=1
*-cache:1
descrição: L2 cache
ID físico: 37
slot: CPU Internal L2
tamanho: 1MiB
capacidade: 1MiB
capacidades: internal write-back unified
configuração: level=2
*-cpu
descrição: CPU
produto: Intel® Celeron® CPU N2808 @ 1.58GHz
fabricante: Intel Corp.
ID físico: 38
informações do barramento: cpu@0
versão: Intel® Celeron® CPU N2808 @ 1.58GHz
slot: SOCKET 0
tamanho: 2163MHz
capacidade: 2400MHz
largura: 64 bits
clock: 83MHz
capacidades: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm ida arat cpufreq
configuração: cores=2 enabledcores=2 threads=2
*-pci
descrição: Host bridge
produto: Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register
fabricante: Intel Corporation
ID físico: 100
informações do barramento: pci@0000:00:00.0
versão: 0e
largura: 32 bits
clock: 33MHz
configuração: driver=iosf_mbi_pci
recursos: irq:0
*-display
descrição: VGA compatible controller
produto: Atom Processor Z36xxx/Z37xxx Series Graphics & Display
fabricante: Intel Corporation
ID físico: 2
informações do barramento: pci@0000:00:02.0
versão: 0e
largura: 32 bits
clock: 33MHz
capacidades: pm msi vga_controller bus_master cap_list rom
configuração: driver=i915 latency=0
recursos: irq:91 memória:d0000000-d03fffff memória:c0000000-cfffffff porta de E/S:f080(tamanho=8) memória:c0000-dffff
*-storage
descrição: SATA controller
produto: Atom Processor E3800 Series SATA AHCI Controller
fabricante: Intel Corporation
ID físico: 13
informações do barramento: pci@0000:00:13.0
versão: 0e
largura: 32 bits
clock: 66MHz
capacidades: storage msi pm ahci_1.0 bus_master cap_list
configuração: driver=ahci latency=0
recursos: irq:88 porta de E/S:f070(tamanho=8) porta de E/S:f060(tamanho=4) porta de E/S:f050(tamanho=8) porta de E/S:f040(tamanho=4) porta de E/S:f020(tamanho=32) memória:d0816000-d08167ff
*-usb
descrição: USB controller
produto: Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI
fabricante: Intel Corporation
ID físico: 14
informações do barramento: pci@0000:00:14.0
versão: 0e
largura: 64 bits
clock: 33MHz
capacidades: pm msi xhci bus_master cap_list
configuração: driver=xhci_hcd latency=0
recursos: irq:87 memória:d0800000-d080ffff
*-usbhost:0
produto: xHCI Host Controller
fabricante: Linux 4.10.0-33-generic xhci-hcd
ID físico: 0
informações do barramento: usb@1
nome lógico: usb1
versão: 4.10
capacidades: usb-2.00
configuração: driver=hub slots=6 speed=480Mbit/s
*-usb:0
descrição: hub USB
produto: USB2.0 Hub
fabricante: Genesys Logic, Inc.
ID físico: 3
informações do barramento: usb@1:3
versão: 85.37
capacidades: usb-2.00
configuração: driver=hub maxpower=100mA slots=4 speed=480Mbit/s
*-usb:0
descrição: Dispositivo de armazenamento em massa
produto: Samsung M3 Portable
fabricante: JMicron
ID físico: 2
informações do barramento: usb@1:3.2
nome lógico: scsi2
versão: e.00
serial: 00000000011E13CA
capacidades: usb-2.10 scsi emulated scsi-host
configuração: driver=usb-storage maxpower=8mA speed=480Mbit/s
*-disk
descrição: SCSI Disk
produto: M3 Portable
fabricante: Samsung
ID físico: 0.0.0
informações do barramento: scsi@2:0.0.0
nome lógico: /dev/sdb
versão: 3
serial: 00000000011E13CA
tamanho: 465GiB (500GB)
capacidades: partitioned partitioned:dos
configuração: ansiversion=6 logicalsectorsize=512 sectorsize=512 signature=0005b098
*-volume
descrição: Windows NTFS volume
ID físico: 1
informações do barramento: scsi@2:0.0.0,1
nome lógico: /dev/sdb1
nome lógico: /media/everaldo/SAMSUNG
versão: 3.1
serial: 046b3faa-3d67-0244-824e-23b477ead028
tamanho: 398GiB
capacidade: 465GiB
capacidades: primary ntfs initialized
configuração: clustersize=4096 created=2015-04-16 23:49:49 filesystem=ntfs label=SAMSUNG mount.fstype=fuseblk mount.options=rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 state=mounted
*-usb:1
descrição: Vídeo
produto: HD Webcam
fabricante: Chicony Electronics Co., Ltd.
ID físico: 3
informações do barramento: usb@1:3.3
versão: 69.26
capacidades: usb-2.00
configuração: driver=uvcvideo maxpower=500mA speed=480Mbit/s
*-usb:1
descrição: hub USB
produto: USB2.0 Hub
fabricante: Genesys Logic, Inc.
ID físico: 4
informações do barramento: usb@1:4
versão: 85.37
capacidades: usb-2.00
configuração: driver=hub maxpower=100mA slots=4 speed=480Mbit/s
*-usb:0
descrição: Teclado
produto: USB Keyboard
fabricante: USB
ID físico: 1
informações do barramento: usb@1:4.1
versão: 1.10
capacidades: usb-1.10
configuração: driver=usbhid maxpower=100mA speed=1Mbit/s
*-usb:1
descrição: Mouse
produto: USB OPTICAL MOUSE
ID físico: 2
informações do barramento: usb@1:4.2
versão: 1.00
capacidades: usb-1.10
configuração: driver=usbhid maxpower=100mA speed=1Mbit/s
*-usb:2
descrição: Impressora
produto: DeskJet 4670 series
fabricante: HP
ID físico: 3
informações do barramento: usb@1:4.3
versão: 1.00
serial: TH61F3J1PG0663
capacidades: usb-2.00
configuração: driver=usblp maxpower=2mA speed=480Mbit/s
*-usbhost:1
produto: xHCI Host Controller
fabricante: Linux 4.10.0-33-generic xhci-hcd
ID físico: 1
informações do barramento: usb@2
nome lógico: usb2
versão: 4.10
capacidades: usb-3.00
configuração: driver=hub slots=1 speed=5000Mbit/s
*-generic
descrição: Encryption controller
produto: Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine
fabricante: Intel Corporation
ID físico: 1a
informações do barramento: pci@0000:00:1a.0
versão: 0e
largura: 32 bits
clock: 33MHz
capacidades: pm msi bus_master cap_list
configuração: driver=mei_txe latency=0
recursos: irq:92 memória:d0500000-d05fffff memória:d0400000-d04fffff
*-multimedia
descrição: Audio device
produto: Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller
fabricante: Intel Corporation
ID físico: 1b
informações do barramento: pci@0000:00:1b.0
versão: 0e
largura: 64 bits
clock: 33MHz
capacidades: pm msi bus_master cap_list
configuração: driver=snd_hda_intel latency=0
recursos: irq:94 memória:d0810000-d0813fff
*-pci:0
descrição: PCI bridge
produto: Atom Processor E3800 Series PCI Express Root Port 1
fabricante: Intel Corporation
ID físico: 1c
informações do barramento: pci@0000:00:1c.0
versão: 0e
largura: 32 bits
clock: 33MHz
capacidades: pci pciexpress msi pm normal_decode bus_master cap_list
configuração: driver=pcieport
recursos: irq:16 porta de E/S:e000(tamanho=4096) memória:d0700000-d07fffff porta de E/S:80000000(tamanho=2097152)
*-network
descrição: Interface sem fio
produto: RTL8188EE Wireless Network Adapter
fabricante: Realtek Semiconductor Co., Ltd.
ID físico: 0
informações do barramento: pci@0000:01:00.0
nome lógico: wlp1s0
versão: 01
serial: e6:b4:49:37:ab:5e
largura: 64 bits
clock: 33MHz
capacidades: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuração: broadcast=yes driver=rtl8188ee driverversion=4.10.0-33-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
recursos: irq:93 porta de E/S:e000(tamanho=256) memória:d0700000-d0703fff
*-pci:1
descrição: PCI bridge
produto: Atom Processor E3800 Series PCI Express Root Port 2
fabricante: Intel Corporation
ID físico: 1c.1
informações do barramento: pci@0000:00:1c.1
versão: 0e
largura: 32 bits
clock: 33MHz
capacidades: pci pciexpress msi pm normal_decode bus_master cap_list
configuração: driver=pcieport
recursos: irq:17 porta de E/S:d000(tamanho=4096) memória:d0600000-d06fffff porta de E/S:80200000(tamanho=2097152)
*-generic
descrição: Unassigned class
produto: RTL8411 PCI Express Card Reader
fabricante: Realtek Semiconductor Co., Ltd.
ID físico: 0
informações do barramento: pci@0000:02:00.0
versão: 01
largura: 32 bits
clock: 33MHz
capacidades: pm msi pciexpress msix vpd bus_master cap_list
configuração: driver=rtsx_pci latency=0
recursos: irq:89 memória:d0600000-d060ffff
*-network
descrição: Ethernet interface
produto: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
fabricante: Realtek Semiconductor Co., Ltd.
ID físico: 0.2
informações do barramento: pci@0000:02:00.2
nome lógico: enp2s0f2
versão: 0a
serial: 80:ee:73:b7:fc:14
tamanho: 100Mbit/s
capacidade: 1Gbit/s
largura: 64 bits
clock: 33MHz
capacidades: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuração: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8411-1_0.0.3 06/18/12 ip=192.168.1.64 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
recursos: irq:90 porta de E/S:d000(tamanho=256) memória:d0614000-d0614fff memória:d0610000-d0613fff
*-pci:2
descrição: PCI bridge
produto: Atom Processor E3800 Series PCI Express Root Port 3
fabricante: Intel Corporation
ID físico: 1c.2
informações do barramento: pci@0000:00:1c.2
versão: 0e
largura: 32 bits
clock: 33MHz
capacidades: pci pciexpress msi pm normal_decode bus_master cap_list
configuração: driver=pcieport
recursos: irq:18 porta de E/S:1000(tamanho=4096) memória:80400000-805fffff porta de E/S:80600000(tamanho=2097152)
*-pci:3
descrição: PCI bridge
produto: Atom Processor E3800 Series PCI Express Root Port 4
fabricante: Intel Corporation
ID físico: 1c.3
informações do barramento: pci@0000:00:1c.3
versão: 0e
largura: 32 bits
clock: 33MHz
capacidades: pci pciexpress msi pm normal_decode bus_master cap_list
configuração: driver=pcieport
recursos: irq:19 porta de E/S:2000(tamanho=4096) memória:80800000-809fffff porta de E/S:80a00000(tamanho=2097152)
*-isa
descrição: ISA bridge
produto: Atom Processor Z36xxx/Z37xxx Series Power Control Unit
fabricante: Intel Corporation
ID físico: 1f
informações do barramento: pci@0000:00:1f.0
versão: 0e
largura: 32 bits
clock: 33MHz
capacidades: isa bus_master cap_list
configuração: driver=lpc_ich latency=0
recursos: irq:0
*-serial DISPONÍVEL
descrição: SMBus
produto: Atom Processor E3800 Series SMBus Controller
fabricante: Intel Corporation
ID físico: 1f.3
informações do barramento: pci@0000:00:1f.3
versão: 0e
largura: 32 bits
clock: 33MHz
capacidades: pm cap_list
configuração: latency=0
recursos: memória:d0814000-d081401f porta de E/S:f000(tamanho=32)
*-scsi:0
ID físico: 1
nome lógico: scsi0
capacidades: emulated
*-disk
descrição: ATA Disk
produto: ST500LM012 HN-M5
fabricante: Seagate
ID físico: 0.0.0
informações do barramento: scsi@0:0.0.0
nome lógico: /dev/sda
versão: 0001
serial: S33RJ5EFB09173
tamanho: 465GiB (500GB)
capacidades: gpt-1.00 partitioned partitioned:gpt
configuração: ansiversion=5 guid=cd021324-04e7-4506-8308-209925c0588f logicalsectorsize=512 sectorsize=4096
*-volume:0
descrição: Windows NTFS volume
fabricante: Windows
ID físico: 1
informações do barramento: scsi@0:0.0.0,1
nome lógico: /dev/sda1
versão: 3.1
serial: 200b-17c2
tamanho: 448MiB
capacidade: 449MiB
capacidades: boot precious readonly hidden nomount ntfs initialized
configuração: clustersize=4096 created=2017-07-15 01:01:31 filesystem=ntfs label=Recuperação modified_by_chkdsk=true mounted_on_nt4=true name=Basic data partition resize_log_file=true state=dirty upgrade_on_mount=true
*-volume:1
descrição: Windows FAT volume
fabricante: MSDOS5.0
ID físico: 2
informações do barramento: scsi@0:0.0.0,2
nome lógico: /dev/sda2
nome lógico: /boot/efi
versão: FAT32
serial: fc15-568d
tamanho: 93MiB
capacidade: 99MiB
capacidades: boot fat initialized
configuração: FATs=2 filesystem=fat mount.fstype=vfat mount.options=rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro name=EFI System Partition state=mounted
*-volume:2
descrição: reserved partition
fabricante: Windows
ID físico: 3
informações do barramento: scsi@0:0.0.0,3
nome lógico: /dev/sda3
serial: 765661cd-0453-497f-ace8-69a9baf63e25
capacidade: 15MiB
capacidades: nofs
configuração: name=Microsoft reserved partition
*-volume:3
descrição: Windows NTFS volume
fabricante: Windows
ID físico: 4
informações do barramento: scsi@0:0.0.0,4
nome lógico: /dev/sda4
versão: 3.1
serial: 56a2c076-5237-7142-9d85-2ab693e8ab93
tamanho: 233GiB
capacidade: 233GiB
capacidades: ntfs initialized
configuração: clustersize=4096 created=2017-07-15 01:02:20 filesystem=ntfs label=Windows name=Basic data partition state=clean
*-volume:4
descrição: Linux swap volume
fabricante: Linux
ID físico: 5
informações do barramento: scsi@0:0.0.0,5
nome lógico: /dev/sda5
versão: 1
serial: b1849910-9df4-4977-bcb7-81bd430a452a
tamanho: 4078MiB
capacidade: 4078MiB
capacidades: nofs swap initialized
configuração: filesystem=swap pagesize=4095
*-volume:5
descrição: volume EXT4
fabricante: Linux
ID físico: 6
informações do barramento: scsi@0:0.0.0,6
nome lógico: /dev/sda6
versão: 1.0
serial: eccffdcb-8ace-46e9-a869-423ee8e335ec
tamanho: 26GiB
capacidades: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
configuração: created=2017-06-11 18:56:51 filesystem=ext4 label=REMIXOS lastmountpoint=/mnt modified=2017-08-01 22:14:44 mounted=2017-09-02 19:57:48 state=clean
*-volume:6
descrição: volume EXT4
fabricante: Linux
ID físico: 7
informações do barramento: scsi@0:0.0.0,7
nome lógico: /dev/sda7
nome lógico: /
versão: 1.0
serial: fd90e110-d706-434c-bb1c-1275e9f528da
tamanho: 101GiB
capacidades: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
configuração: created=2017-07-15 13:42:24 filesystem=ext4 lastmountpoint=/ modified=2017-09-06 09:25:45 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,data=ordered mounted=2017-09-06 09:25:59 state=mounted
*-volume:7
descrição: volume EXT4
fabricante: Linux
ID físico: 8
informações do barramento: scsi@0:0.0.0,8
nome lógico: /dev/sda8
versão: 1.0
serial: b2eaffb4-927a-4100-940f-70fb2b7109d8
tamanho: 99GiB
capacidades: journaled extended_attributes large_files huge_files dir_nlink 64bit extents ext4 ext2 initialized
configuração: created=2017-08-02 02:20:34 filesystem=ext4 label=Fedora lastmountpoint=/ modified=2017-08-28 19:42:42 mounted=2017-08-28 22:42:48 state=clean
*-scsi:1
ID físico: 2
nome lógico: scsi1
capacidades: emulated
*-cdrom
descrição: DVD-RAM writer
produto: CDDVDW SN-208FB
fabricante: TSSTcorp
ID físico: 0.0.0
informações do barramento: scsi@1:0.0.0
nome lógico: /dev/cdrom
nome lógico: /dev/cdrw
nome lógico: /dev/dvd
nome lógico: /dev/dvdrw
nome lógico: /dev/sr0
versão: SB00
capacidades: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuração: ansiversion=5 status=nodisc
everaldo@pc-positivo:~$


How my Operation System is in Portuguese from Brazil, something is in this language, but I find that you’ll go to understand. I’ll await your answer.

Take Care!
Everaldo

You can enforce a command to run with a locale other than default:
LC_ALL=C lshw

Ok, look the result:

everaldo@pc-positivo:~$ sudo LC_ALL=C lshw
[sudo] senha para everaldo:
pc-positivo
description: All In One
product: DC8BT11
vendor: Positivo Informatica SA
version: 1.09.U
serial: 1AF078G8X
width: 64 bits
capabilities: smbios-2.8 dmi-2.8 smp vsyscall32
configuration: boot=normal chassis=all-in-one family=To be filled by O.E.M. uuid=8065A8F1-0F06-E611-BDF4-C32AFDBA4800
*-core
description: Motherboard
product: DC8BT11
vendor: Positivo Informatica SA
physical id: 0
version: To be filled by O.E.M.
serial: 1AF078G8X
slot: To be filled by O.E.M.
*-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: 1.09.U
date: 05/27/2015
size: 64KiB
capacity: 960KiB
capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
*-memory
description: System Memory
physical id: 28
slot: System board or motherboard
size: 2GiB
*-bank:0
description: DIMM DDR3 1333 MHz (0.8 ns)
product: TMT425S6CFR6A-PBNJ
vendor: Undefined
physical id: 0
serial: 14651166
slot: A1_DIMM0
size: 2GiB
width: 64 bits
clock: 1333MHz (0.8ns)
*-bank:1
description: DIMM [empty]
product: Array1_PartNumber1
vendor: A1_Manufacturer1
physical id: 1
serial: A1_SerNum1
slot: A1_DIMM1
*-cache:0
description: L1 cache
physical id: 36
slot: CPU Internal L1
size: 112KiB
capacity: 112KiB
capabilities: internal write-back
configuration: level=1
*-cache:1
description: L2 cache
physical id: 37
slot: CPU Internal L2
size: 1MiB
capacity: 1MiB
capabilities: internal write-back unified
configuration: level=2
*-cpu
description: CPU
product: Intel® Celeron® CPU N2808 @ 1.58GHz
vendor: Intel Corp.
physical id: 38
bus info: cpu@0
version: Intel® Celeron® CPU N2808 @ 1.58GHz
slot: SOCKET 0
size: 610MHz
capacity: 2400MHz
width: 64 bits
clock: 83MHz
capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm ida arat cpufreq
configuration: cores=2 enabledcores=2 threads=2
*-pci
description: Host bridge
product: Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 0e
width: 32 bits
clock: 33MHz
configuration: driver=iosf_mbi_pci
resources: irq:0
*-display
description: VGA compatible controller
product: Atom Processor Z36xxx/Z37xxx Series Graphics & Display
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 0e
width: 32 bits
clock: 33MHz
capabilities: pm msi vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:91 memory:d0000000-d03fffff memory:c0000000-cfffffff ioport:f080(size=8) memory:c0000-dffff
*-storage
description: SATA controller
product: Atom Processor E3800 Series SATA AHCI Controller
vendor: Intel Corporation
physical id: 13
bus info: pci@0000:00:13.0
version: 0e
width: 32 bits
clock: 66MHz
capabilities: storage msi pm ahci_1.0 bus_master cap_list
configuration: driver=ahci latency=0
resources: irq:88 ioport:f070(size=8) ioport:f060(size=4) ioport:f050(size=8) ioport:f040(size=4) ioport:f020(size=32) memory:d0816000-d08167ff
*-usb
description: USB controller
product: Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI
vendor: Intel Corporation
physical id: 14
bus info: pci@0000:00:14.0
version: 0e
width: 64 bits
clock: 33MHz
capabilities: pm msi xhci bus_master cap_list
configuration: driver=xhci_hcd latency=0
resources: irq:87 memory:d0800000-d080ffff
*-usbhost:0
product: xHCI Host Controller
vendor: Linux 4.10.0-33-generic xhci-hcd
physical id: 0
bus info: usb@1
logical name: usb1
version: 4.10
capabilities: usb-2.00
configuration: driver=hub slots=6 speed=480Mbit/s
*-usb:0
description: USB hub
product: USB2.0 Hub
vendor: Genesys Logic, Inc.
physical id: 3
bus info: usb@1:3
version: 85.37
capabilities: usb-2.00
configuration: driver=hub maxpower=100mA slots=4 speed=480Mbit/s
*-usb:0
description: Mass storage device
product: Samsung M3 Portable
vendor: JMicron
physical id: 2
bus info: usb@1:3.2
logical name: scsi2
version: e.00
serial: 00000000011E13CA
capabilities: usb-2.10 scsi emulated scsi-host
configuration: driver=usb-storage maxpower=8mA speed=480Mbit/s
*-disk
description: SCSI Disk
product: M3 Portable
vendor: Samsung
physical id: 0.0.0
bus info: scsi@2:0.0.0
logical name: /dev/sdb
version: 3
serial: 00000000011E13CA
size: 465GiB (500GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=6 logicalsectorsize=512 sectorsize=512 signature=0005b098
*-volume
description: Windows NTFS volume
physical id: 1
bus info: scsi@2:0.0.0,1
logical name: /dev/sdb1
logical name: /media/everaldo/SAMSUNG
version: 3.1
serial: 046b3faa-3d67-0244-824e-23b477ead028
size: 398GiB
capacity: 465GiB
capabilities: primary ntfs initialized
configuration: clustersize=4096 created=2015-04-16 23:49:49 filesystem=ntfs label=SAMSUNG mount.fstype=fuseblk mount.options=rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 state=mounted
*-usb:1
description: Video
product: HD Webcam
vendor: Chicony Electronics Co., Ltd.
physical id: 3
bus info: usb@1:3.3
version: 69.26
capabilities: usb-2.00
configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
*-usb:1
description: USB hub
product: USB2.0 Hub
vendor: Genesys Logic, Inc.
physical id: 4
bus info: usb@1:4
version: 85.37
capabilities: usb-2.00
configuration: driver=hub maxpower=100mA slots=4 speed=480Mbit/s
*-usb:0
description: Keyboard
product: USB Keyboard
vendor: USB
physical id: 1
bus info: usb@1:4.1
version: 1.10
capabilities: usb-1.10
configuration: driver=usbhid maxpower=100mA speed=2Mbit/s
*-usb:1
description: Mouse
product: USB OPTICAL MOUSE
physical id: 2
bus info: usb@1:4.2
version: 1.00
capabilities: usb-1.10
configuration: driver=usbhid maxpower=100mA speed=2Mbit/s
*-usbhost:1
product: xHCI Host Controller
vendor: Linux 4.10.0-33-generic xhci-hcd
physical id: 1
bus info: usb@2
logical name: usb2
version: 4.10
capabilities: usb-3.00
configuration: driver=hub slots=1 speed=5000Mbit/s
*-generic
description: Encryption controller
product: Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine
vendor: Intel Corporation
physical id: 1a
bus info: pci@0000:00:1a.0
version: 0e
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=mei_txe latency=0
resources: irq:92 memory:d0500000-d05fffff memory:d0400000-d04fffff
*-multimedia
description: Audio device
product: Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 0e
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:93 memory:d0810000-d0813fff
*-pci:0
description: PCI bridge
product: Atom Processor E3800 Series PCI Express Root Port 1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: 0e
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:16 ioport:e000(size=4096) memory:d0700000-d07fffff ioport:80000000(size=2097152)
*-network
description: Wireless interface
product: RTL8188EE Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: wlp1s0
version: 01
serial: d2:eb:8a:fb:4b:26
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8188ee driverversion=4.10.0-33-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:94 ioport:e000(size=256) memory:d0700000-d0703fff
*-pci:1
description: PCI bridge
product: Atom Processor E3800 Series PCI Express Root Port 2
vendor: Intel Corporation
physical id: 1c.1
bus info: pci@0000:00:1c.1
version: 0e
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:17 ioport:d000(size=4096) memory:d0600000-d06fffff ioport:80200000(size=2097152)
*-generic
description: Unassigned class
product: RTL8411 PCI Express Card Reader
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list
configuration: driver=rtsx_pci latency=0
resources: irq:89 memory:d0600000-d060ffff
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0.2
bus info: pci@0000:02:00.2
logical name: enp2s0f2
version: 0a
serial: 80:ee:73:b7:fc:14
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8411-1_0.0.3 06/18/12 ip=192.168.1.64 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:90 ioport:d000(size=256) memory:d0614000-d0614fff memory:d0610000-d0613fff
*-pci:2
description: PCI bridge
product: Atom Processor E3800 Series PCI Express Root Port 3
vendor: Intel Corporation
physical id: 1c.2
bus info: pci@0000:00:1c.2
version: 0e
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:18 ioport:1000(size=4096) memory:80400000-805fffff ioport:80600000(size=2097152)
*-pci:3
description: PCI bridge
product: Atom Processor E3800 Series PCI Express Root Port 4
vendor: Intel Corporation
physical id: 1c.3
bus info: pci@0000:00:1c.3
version: 0e
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:19 ioport:2000(size=4096) memory:80800000-809fffff ioport:80a00000(size=2097152)
*-isa
description: ISA bridge
product: Atom Processor Z36xxx/Z37xxx Series Power Control Unit
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 0e
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
configuration: driver=lpc_ich latency=0
resources: irq:0
*-serial UNCLAIMED
description: SMBus
product: Atom Processor E3800 Series SMBus Controller
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 0e
width: 32 bits
clock: 33MHz
capabilities: pm cap_list
configuration: latency=0
resources: memory:d0814000-d081401f ioport:f000(size=32)
*-scsi:0
physical id: 1
logical name: scsi0
capabilities: emulated
*-disk
description: ATA Disk
product: ST500LM012 HN-M5
vendor: Seagate
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: 0001
serial: S33RJ5EFB09173
size: 465GiB (500GB)
capabilities: gpt-1.00 partitioned partitioned:gpt
configuration: ansiversion=5 guid=cd021324-04e7-4506-8308-209925c0588f logicalsectorsize=512 sectorsize=4096
*-volume:0
description: Windows NTFS volume
vendor: Windows
physical id: 1
bus info: scsi@0:0.0.0,1
logical name: /dev/sda1
version: 3.1
serial: 200b-17c2
size: 448MiB
capacity: 449MiB
capabilities: boot precious readonly hidden nomount ntfs initialized
configuration: clustersize=4096 created=2017-07-15 01:01:31 filesystem=ntfs label=Recuperação modified_by_chkdsk=true mounted_on_nt4=true name=Basic data partition resize_log_file=true state=dirty upgrade_on_mount=true
*-volume:1
description: Windows FAT volume
vendor: MSDOS5.0
physical id: 2
bus info: scsi@0:0.0.0,2
logical name: /dev/sda2
logical name: /boot/efi
version: FAT32
serial: fc15-568d
size: 93MiB
capacity: 99MiB
capabilities: boot fat initialized
configuration: FATs=2 filesystem=fat mount.fstype=vfat mount.options=rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro name=EFI System Partition state=mounted
*-volume:2
description: reserved partition
vendor: Windows
physical id: 3
bus info: scsi@0:0.0.0,3
logical name: /dev/sda3
serial: 765661cd-0453-497f-ace8-69a9baf63e25
capacity: 15MiB
capabilities: nofs
configuration: name=Microsoft reserved partition
*-volume:3
description: Windows NTFS volume
vendor: Windows
physical id: 4
bus info: scsi@0:0.0.0,4
logical name: /dev/sda4
version: 3.1
serial: 56a2c076-5237-7142-9d85-2ab693e8ab93
size: 233GiB
capacity: 233GiB
capabilities: ntfs initialized
configuration: clustersize=4096 created=2017-07-15 01:02:20 filesystem=ntfs label=Windows name=Basic data partition state=clean
*-volume:4
description: Linux swap volume
vendor: Linux
physical id: 5
bus info: scsi@0:0.0.0,5
logical name: /dev/sda5
version: 1
serial: b1849910-9df4-4977-bcb7-81bd430a452a
size: 4078MiB
capacity: 4078MiB
capabilities: nofs swap initialized
configuration: filesystem=swap pagesize=4095
*-volume:5
description: EXT4 volume
vendor: Linux
physical id: 6
bus info: scsi@0:0.0.0,6
logical name: /dev/sda6
version: 1.0
serial: eccffdcb-8ace-46e9-a869-423ee8e335ec
size: 26GiB
capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
configuration: created=2017-06-11 18:56:51 filesystem=ext4 label=REMIXOS lastmountpoint=/mnt modified=2017-08-01 22:14:44 mounted=2017-09-02 19:57:48 state=clean
*-volume:6
description: EXT4 volume
vendor: Linux
physical id: 7
bus info: scsi@0:0.0.0,7
logical name: /dev/sda7
logical name: /
version: 1.0
serial: fd90e110-d706-434c-bb1c-1275e9f528da
size: 101GiB
capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
configuration: created=2017-07-15 13:42:24 filesystem=ext4 lastmountpoint=/ modified=2017-09-06 11:10:12 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,data=ordered mounted=2017-09-06 11:10:26 state=mounted
*-volume:7
description: EXT4 volume
vendor: Linux
physical id: 8
bus info: scsi@0:0.0.0,8
logical name: /dev/sda8
version: 1.0
serial: b2eaffb4-927a-4100-940f-70fb2b7109d8
size: 99GiB
capabilities: journaled extended_attributes large_files huge_files dir_nlink 64bit extents ext4 ext2 initialized
configuration: created=2017-08-02 02:20:34 filesystem=ext4 label=Fedora lastmountpoint=/ modified=2017-08-28 19:42:42 mounted=2017-08-28 22:42:48 state=clean
*-scsi:1
physical id: 2
logical name: scsi1
capabilities: emulated
*-cdrom
description: DVD-RAM writer
product: CDDVDW SN-208FB
vendor: TSSTcorp
physical id: 0.0.0
bus info: scsi@1:0.0.0
logical name: /dev/cdrom
logical name: /dev/cdrw
logical name: /dev/dvd
logical name: /dev/dvdrw
logical name: /dev/sr0
version: SB00
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: ansiversion=5 status=nodisc
everaldo@pc-positivo:~$

I’ll await your contact, right!

Everaldo

Hi there,
I know its and old post but I’m tying to dual boot haiku over debian linux and I’m not able to manage, can you pls confirm wheher the nightly build hrev52044-x86_64 does include any bootloader??

From what I know EFI is not yet enabled by default. However you can download old image from my mirror (link is in first post) and change repositories for current, then update to recent hrev via pkgman.

Your first link http://www.jessicah.org/uefi-x86_64-haiku.tar.gz didnt work jus the google, I follow your steop by step instructions by downloading and copying into the EFI partition and adding the Haiku option into the grub2 menu but it fails to boot by stating unknown file system.

So you meant I can install but I cant boot the a/m nighlty image? which Haiku iso do yiou recommend me to update?
May I update to the latest the R1, Alpha 4.1 release?

many thanks

regards

R1 A4.1 is older than the nightlies. Do not use it and forget about it.

Use one of the nightly builds or the EFI image as linked here.

Your Haiku install process went smoothly, so your problem is with GRUB. Maybe you should look for support from the GRUB team, because there is not much we can do about it from the Haiku side. As shown here:http://xref.plausible.coop/source/search?q=“Unknown+file+system”&defs=&refs=&path=&hist=&type=&project=haiku the “Unknown file system” message is not part of our codebase, so I believe it is something from GRUB.

Yours noted. then I guess my issue is just with the syntax of the GRUB2 configuration; According to my partition scheme Grub 2 configuration should be as follows

menuentry Haiku {
set root=’(hd0,msdos1,3)’
}

¿??

cheers

You have to remove the “msdos1” part, I guess that’s why you get the filesystem error.

My (working) configuration looks like this:
menuentry “Haiku” {
set root=(hd0,3)
chainloader +1
}

Hope that helps :slight_smile:

EDIT: Just saw in another thread that my example is apparently the syntax for GRUB 1 , so your “msdos” entry might be correct and the problem could be somewhere else. Anyway, my config also works with GRUB2 (tested with Haiku and Linux Mint 19 and Ubuntu 18.04)

actually I think this is where the issue is!

Download from second link - https://drive.google.com/open?id=0BxfU61SfLpMjMUVlb1VCeWVsaVE - this is my mirror on Google Drive.

I tried my instruction today, with openSUSE and Haiku works like a charm. Remember about changing repos to current - https://www.haiku-os.org/guides/daily-tasks/updating-system/ . You must use full-sync after that.