Re: [qubes-users] Re: A really nice guide on installing Coreboot on a X220 with a Raspberry Pi

2017-01-06 Thread Marek Marczykowski-Górecki
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Fri, Jan 06, 2017 at 04:18:05PM -0800, kuggh...@gmail.com wrote:
> On Monday, November 14, 2016 at 4:34:47 AM UTC+1, David Schissler wrote:
> > https://tylercipriani.com/blog/2016/11/13/coreboot-on-the-thinkpad-x220-with-a-raspberry-pi/
> 
> Hi David and list, I followed this guide but could not boot Qubes after 
> installing Coreboot 4.5.
> 
> Expected behavior:
> 
> Booting from disk after bios stage.
> The following log from coreboot shows the same system successfully booting on 
> a (non XEN) live distribution (Tails): 
> https://paste.debian.net/hidden/fdc9fc95/
> 
> Note: To add debug prints I had to build another coreboot flash with 
> spkrmodem hence the differing versions and dates. The behavior trying to boot 
> Qubes from disk was the same on both versions of coreboot.
> Actual behavior:
> 
> Coreboot SeaBIOS cursor blinks OS does not start.
> 
> Output is:
> Press ESC for boot menu.
> (pressing ESC)
> Select boot device:
> 
> AHCI/0: INTEL SSDSA2BW160G3L ATA-8 Hard-Disk (149 GiBytes)
> USB MSC Drive Kingston DataTraveler 3.0 PMAP
> iPXE (PCI 00:19.0)
> (pressing 1)
> 
> Booting from Hard Disk...
> Cursor keeps blinking, nothing boots.
> The following log from coreboot shows a boot failure trying to boot the 
> successfully installed Qubes OS R3.2 from disk: 
> https://paste.debian.net/906598/
> Steps to reproduce the behavior:
> 
> Install coreboot 4.5 with SeaBIOS payload on Lenovo Thinkpad x220
> 1.2 Turn on debuging using either spkrmodem (and record/wait for about 5 
> hours for bios to boot) or use a EHCI debugger 
> (https://www.coreboot.org/EHCI_Debug_Port). Configure either: 
> CONFIG_HAVE_USBDEBUG=y || CONFIG_SPKMODEM=y
> Install Qubes 3.2 on disk.
> Boot from disk in SeaBIOS.

SeaBIOS implements "legacy boot" protocol, not UEFI. So you need to
install system in legacy mode.
As already suggested, running grub2-install (after installing the tool
first) should be enough. You can boot from installation image to do that
(choose rescue mode).

- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJYcETNAAoJENuP0xzK19csTe4IAIWi5P/n8gjoarCR+1Qv+bpz
lFKKy316lWa3yNpqaOvx49XChyxyyuUI347ktyZzsNO7lF8RtaSE2B0RX1t8V/vX
DClVI5U4yLcDl4xCRjhfoPHXmZXis1zTNx5NzofYfqUMPoZWL0vDDK/9J/jE6n0G
yCjK1kATtDA5w1p4GfXLgtzNPg8VrPKkkzhzZIYXCBH/O88sAEUAlBug47WMXSXy
B2j8Av+gqwQC9fz/o+UwqXe3z8x896zBfu5hphd7DTGESfCTnXK2gy7XAwdiw6Oy
x7FTCq2ODVo124bHB58XFoRAV8csGAvkaB4Dc6fzP+mYk/fYuEudC8dkDVkRQwg=
=dUZH
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20170107013052.GS5268%40mail-itl.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: A really nice guide on installing Coreboot on a X220 with a Raspberry Pi

2017-01-06 Thread hirschauer.andreas via qubes-users
> Booting from Hard Disk...
> Cursor keeps blinking, nothing boots.
> The following log from coreboot shows a boot failure trying to boot the 
> successfully installed Qubes OS R3.2 from disk: 
> https://paste.debian.net/906598/

I have the same issue on my X230 with Coreboot, that Grub doesn't start. But 
i've fixed it with the USB key troubleshooting. Chroot to your installation and 
run grub2-install on the Disk. After that i was able to boot into grub and 
Qubes.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/dcc89aa4-1cab-4da6-b7cb-28ad1682ff1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: A really nice guide on installing Coreboot on a X220 with a Raspberry Pi

2017-01-06 Thread kugghjul
On Monday, November 14, 2016 at 4:34:47 AM UTC+1, David Schissler wrote:
> https://tylercipriani.com/blog/2016/11/13/coreboot-on-the-thinkpad-x220-with-a-raspberry-pi/

Hi David and list, I followed this guide but could not boot Qubes after 
installing Coreboot 4.5.

Expected behavior:

Booting from disk after bios stage.
The following log from coreboot shows the same system successfully booting on a 
(non XEN) live distribution (Tails): https://paste.debian.net/hidden/fdc9fc95/

Note: To add debug prints I had to build another coreboot flash with spkrmodem 
hence the differing versions and dates. The behavior trying to boot Qubes from 
disk was the same on both versions of coreboot.
Actual behavior:

Coreboot SeaBIOS cursor blinks OS does not start.

Output is:
Press ESC for boot menu.
(pressing ESC)
Select boot device:

AHCI/0: INTEL SSDSA2BW160G3L ATA-8 Hard-Disk (149 GiBytes)
USB MSC Drive Kingston DataTraveler 3.0 PMAP
iPXE (PCI 00:19.0)
(pressing 1)

Booting from Hard Disk...
Cursor keeps blinking, nothing boots.
The following log from coreboot shows a boot failure trying to boot the 
successfully installed Qubes OS R3.2 from disk: https://paste.debian.net/906598/
Steps to reproduce the behavior:

Install coreboot 4.5 with SeaBIOS payload on Lenovo Thinkpad x220
1.2 Turn on debuging using either spkrmodem (and record/wait for about 5 
hours for bios to boot) or use a EHCI debugger 
(https://www.coreboot.org/EHCI_Debug_Port). Configure either: 
CONFIG_HAVE_USBDEBUG=y || CONFIG_SPKMODEM=y
Install Qubes 3.2 on disk.
Boot from disk in SeaBIOS.

General notes:

I have followed the discussion in: #1594
I have tried to put iommu=0 in xen.conf with no success.
I have also unsuccessfully tried to add the options suggested in: 
https://www.qubes-os.org/doc/uefi-troubleshooting/

Any experiences or suggestions are welcome!

Best regards Kugg

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/b7c56d2f-e9de-4d7c-9306-8e035e090981%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.