From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUEw6-0001zD-3T for mharc-grub-devel@gnu.org; Fri, 12 Feb 2016 09:43:06 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUEw2-0001tL-Hb for grub-devel@gnu.org; Fri, 12 Feb 2016 09:43:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUEw1-0003o4-Df for grub-devel@gnu.org; Fri, 12 Feb 2016 09:43:02 -0500 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:37598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUEw1-0003nx-2t for grub-devel@gnu.org; Fri, 12 Feb 2016 09:43:01 -0500 Received: by mail-wm0-x230.google.com with SMTP id g62so22358162wme.0 for ; Fri, 12 Feb 2016 06:43:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type; bh=7Zxdyx5ChJ6UyZqjjNeBj92oZQS1w5eVikL5iTsrxpw=; b=1IFTgweHcvnAFFHvPI87ucAvOIED8LLvqSwCr7cGNrQt16Gk0ENJy+SPnd89gVA4nq Dt2kwwZ9+d6S/YjRzTYvxxt2KHdtA7LRmOnS9KrGo1VC5z56a8+czkkJBDkrQL/xso3t l0aRfmkPYdOdmzuLZ59RR4apqmUdq1vZGDUp6YhS3bsuBzHsedMiMK8nlcLGOmYRrnVG r7c2iHcQigAAWSaNqQ8zweokMb3E65gxY4OhzP3m8UzTUtq4vv2NugZQdFkSvE1Y+B2T Ssorxm8XT/N3ip1LSbNeT0ji+icwWNvKI+X1ANns0tQn5FirNfLduzWV8lhEI+VGnaFK Hiew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type; bh=7Zxdyx5ChJ6UyZqjjNeBj92oZQS1w5eVikL5iTsrxpw=; b=ZGFQOI0KANEc6keAyYxtRBGyA7WRcaNMAwkO3BJkF4/15Tl708qIk9aMVRSAxyI5h8 cCAPSzxoUh1XkHxXXMM61ZbHYkO+wgEuGBVF3UVC78JPifUmK2I7abXLmgOr5NLYOBjB wVGGIIFxFb7dYqch8fRDWekWcENg7tresndMZu9ffyUD+yTC2sKVo6Amn63VCYtirUw3 bGTGkF5itnunaFyWqLnoRMXG7bcyZT1797Bl83R+/MBKOcD0l5IhdlFMOcb1NN/0SA+j kIbPNtbgMQN8pN/kDbAg40sSfMwkgvUNt9b4jbmue+lbfyzwRb990vJoGKT6TePpG+do DVow== X-Gm-Message-State: AG10YOTCgVvQs6WAoGaXzm2tMu2BdfpYBJ/hJ1QN1594tv0Opp/Sn5r1gtIHQwCQD8fqiQ== X-Received: by 10.28.135.4 with SMTP id j4mr3013999wmd.80.1455288180330; Fri, 12 Feb 2016 06:43:00 -0800 (PST) Received: from ?IPv6:2620:0:105f:fd00:a2a8:cdff:fe64:b3b5? ([2620:0:105f:fd00:a2a8:cdff:fe64:b3b5]) by smtp.gmail.com with ESMTPSA id l132sm2685311wmf.7.2016.02.12.06.42.58 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 12 Feb 2016 06:42:59 -0800 (PST) Subject: Re: macosx (darwin) fail to boot from Grub2 To: The development of GNU GRUB References: <476fd913934dfcd834c06b8aa9f3046b@msw.it> From: =?UTF-8?Q?Vladimir_'=cf=86-coder/phcoder'_Serbinenko?= Message-ID: <56BDEF6C.5070704@gmail.com> Date: Fri, 12 Feb 2016 15:42:52 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 In-Reply-To: <476fd913934dfcd834c06b8aa9f3046b@msw.it> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gsAphn7knjkaxtePBOePqUWnqJWOBrAxi" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::230 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 14:43:03 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --gsAphn7knjkaxtePBOePqUWnqJWOBrAxi Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Fixed xnu code. On 28.06.2015 11:45, danjde@msw.it wrote: > Hi friends, > I've just installed successifully Ubuntu 14.04 on iMac 9.1 (Darwin). >=20 > The partitions are so suddivided: >=20 >=20 > |-EFI-FAT32-|---MAC-HFS+---|--/BOOT-EXT4--|----/ROOT-EXT4----|----/HOME= -REISERFS-----|---SWAP---| >=20 >=20 >=20 > On sda is installed rEFIT. > Grub2 is installed on sda3 (/BOOT) >=20 > Linux boot correctly from Grub2, MAC not (only from rEFIT). Booting fro= m > Grub2 MAC, it does't found the system partition. >=20 >=20 > Here the Grub2 (macosx) entry: >=20 >=20 > menuentry 'Mac OS X (32 bit) (su /dev/sda2)' --class osx --class darwin= > --class os $menuentry_id_option 'osprober-xnu-32-86296317cf88a9f9' { > insmod part_gpt > insmod hfsplus > set root=3D'hd0,gpt2' > if [ x$feature_platform_search_hint =3D xy ]; then > search --no-floppy --fs-uuid --set=3Droot --hint-bios=3Dhd0,g= pt2 > --hint-efi=3Dhd0,gpt2 --hint-baremetal=3Dahci0,gpt2 86296317cf88a9f9 > else > search --no-floppy --fs-uuid --set=3Droot 86296317cf88a9f9 > fi > load_video > set do_resume=3D0 > if [ /var/vm/sleepimage -nt10 / ]; then > if xnu_resume /var/vm/sleepimage; then > set do_resume=3D1 > fi > fi > if [ $do_resume =3D 0 ]; then > xnu_uuid 86296317cf88a9f9 uuid > if [ -f /Extra/DSDT.aml ]; then > acpi -e /Extra/DSDT.aml > fi > if [ /kernelcache -nt /System/Library/Extensions ]; then > xnu_kernel /kernelcache boot-uuid=3D${uuid} rd=3D*uuid > else > xnu_kernel /mach_kernel boot-uuid=3D${uuid} rd=3D*uuid > if [ /System/Library/Extensions.mkext -nt > /System/Library/Extensions ]; then > xnu_mkext /System/Library/Extensions.mkext > else > xnu_kextdir /System/Library/Extensions > fi > fi > if [ -f /Extra/Extensions.mkext ]; then > xnu_mkext /Extra/Extensions.mkext > fi > if [ -d /Extra/Extensions ]; then > xnu_kextdir /Extra/Extensions > fi > if [ -f /Extra/devprop.bin ]; then > xnu_devprop_load /Extra/devprop.bin > fi > if [ -f /Extra/splash.jpg ]; then > insmod jpeg > xnu_splash /Extra/splash.jpg > fi > if [ -f /Extra/splash.png ]; then > insmod png > xnu_splash /Extra/splash.png > fi > if [ -f /Extra/splash.tga ]; then > insmod tga > xnu_splash /Extra/splash.tga > fi > fi > } >=20 >=20 >=20 > This the two last kernel entry, before it hang: >=20 > Waiting for boot volume with UUID 5105a848-08a7-3b8d-aca6-6bb4a78ba26b > Waiting on IOProviderClass ID=3D"1">IOResourcesIOResourceMatch ID=3D"2">boot-uuid-media >=20 >=20 >=20 > What do you suggest for make MAC bootable from Grub2? >=20 > many many thanks! >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 --gsAphn7knjkaxtePBOePqUWnqJWOBrAxi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREKAAYFAla972wACgkQmBXlbbo5nOunXgD/QbQjJFHBLROzZg5XAJw3xAAM 9/i3vjq7JBjzEl9mvm8A/iAQboLKyNI2s3hoYQarPpg9TjgfHySjUP0ecBPJDo4p =gOpQ -----END PGP SIGNATURE----- --gsAphn7knjkaxtePBOePqUWnqJWOBrAxi--