From owner-freebsd-questions@freebsd.org Wed Apr 19 07:51:58 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4FE5D459F2 for ; Wed, 19 Apr 2017 07:51:58 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-oln040092066013.outbound.protection.outlook.com [40.92.66.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5BA681A03 for ; Wed, 19 Apr 2017 07:51:58 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=a8Ani/cQvnOY985/SkWiUF8SYb82K2vB28BYXpoK+nY=; b=dKT+JmaFtYWjQT01UWv8YIs3kliv112Zeup1M9Lpndvs47x4NRSBL+oDDT8P1O8ULyN/x+KhzU8i0h3fBlHI70719E4HukGoHYIdjwM7UIZg2dYwUu+GPTAI6hUebfoLQso1WwkkDm428Kfe0hg+LqO4Zd4rrLD5dHaGSeULPX03PfNR6soz6JId+9U0euZs9fXSVh/JSH5lz12I1YJKHcPgvrS5BMKcBMIU6v7IwU0SeH+HFHkl86GCab6Gi2bMVHeU6cM0E4rTqdcK3qxdDsPupEulMLQfYXAtyaLjWkrB6dMjs7i4Fw81eNSjO+76cYwqe30RH0cemwbzlmK6+A== Received: from VE1EUR01FT009.eop-EUR01.prod.protection.outlook.com (10.152.2.59) by VE1EUR01HT139.eop-EUR01.prod.protection.outlook.com (10.152.3.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1019.14; Wed, 19 Apr 2017 07:51:55 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com (10.152.2.52) by VE1EUR01FT009.mail.protection.outlook.com (10.152.2.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.14 via Frontend Transport; Wed, 19 Apr 2017 07:51:55 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com ([10.163.164.28]) by VI1PR02MB1200.eurprd02.prod.outlook.com ([10.163.164.28]) with mapi id 15.01.1034.015; Wed, 19 Apr 2017 07:51:55 +0000 From: Manish Jain To: "holindho@saunalahti.fi" , "freebsd-questions@freebsd.org" Subject: Re: Efi/mbr freebsd-11.0-RELEASE-p9 unbootable Thread-Topic: Efi/mbr freebsd-11.0-RELEASE-p9 unbootable Thread-Index: AQHSuOHQdq94OF8oUES2hrXHn81F1g== Date: Wed, 19 Apr 2017 07:51:55 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: saunalahti.fi; dkim=none (message not signed) header.d=none;saunalahti.fi; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:7655D1AED4107E5BE6C6A1705CADC884FFDBF59505E82F203E2E5909286148E7; UpperCasedChecksum:36FC87948D8612145F69352764226C2AA2B2C23FB083DE6660E6981BEEAF3693; SizeAsReceived:7776; Count:37 x-ms-exchange-messagesentrepresentingtype: 1 x-microsoft-exchange-diagnostics: 1; VE1EUR01HT139; 5:5ck4LzVNUWMwv04xoyrCO1VBTjmW1PhmqlvR0cfYsEGwHFtKJfhl24KgpEC9vRUzj4QzZVIJxDepbbLbjLGN4JJLUQXr8/rt65Zgs30+Nn7Onbq0EQhXXYkXwQOBzck40inwJOymx9l0/uIMDcIeVw==; 24:rehKGKy0z2rnhm9O8PAQ+yIf4bvmfvjoMBXFXeRxwsR80SQy5Gw8V0yUzx1Vpxp7pmiovP/eVqoE6tDRwkrh9E9G15EWaVkHN/880CEgBD4=; 7:Ea9R4JIXUje999Dz96wQgSN8M8SRbD16lxmYXigHGaGQ3nypkVmziYXbmaVswuCQeXVKH7AqI3c1azP3FZ5Da9NFd0o1+ys6Pkjx1YNvwQj3Xu8/RYc5+RAge7aqZ8oUq3TakoKxv6ZGhn9md8eMH2vxLoNPC2dsu4MZQwMjIhp943u4n5bzrwj/fYKe5jydsaraWsdm2vaCC4hXGSEyFYPFzFrPrW+4fINKreys0v47AUsUfSdJWqzf+5M+1HCMBlzld5g/bevwlzc4zfrSOaYVW7aRgpZzYZYrIzlm9OLNCvqd/y3fuYWW4zQs7QrM x-incomingheadercount: 37 x-eopattributedmessage: 0 x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:VE1EUR01HT139; H:VI1PR02MB1200.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:en; x-ms-office365-filtering-correlation-id: 537a37ed-f71e-4f0c-f942-08d486f8f1be x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322274)(1603101448)(1601125374)(1701031045); SRVR:VE1EUR01HT139; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031); SRVR:VE1EUR01HT139; BCL:0; PCL:0; RULEID:; SRVR:VE1EUR01HT139; x-forefront-prvs: 028256169F spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="Windows-1252" Content-ID: <41A9BFD37F1F504BB2BDA1DDCFFE855F@eurprd02.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Apr 2017 07:51:55.0805 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR01HT139 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2017 07:51:58 -0000 >> Dear freebsd users, >> >> I got a used toshiba-laptop with windows 7. A friend of mine gave me a >> new >> hard drive and we installed void-linux with a 1GB /boot partition, an 8 = GB >> swap partitionx and a 100GB / for the install. Installation suceeded, b= ut >> grub install failed some ttx? Error. I then got a regular x86_64 amd >> freebsd 11.0 RELEASE and installed it sucessfully as well. I did not ge= t >> questioned to install bootloader. When booting the machine tries to boot >> off the network. I get a supergrubdisk and boot off it and I am able to >> run freebsd-update on it get it to -p9 and install pkgs that I want to >> run. I am not very fond of secure boot and I had installed linux on >> another machine with windows 7 and it supposedly had EFI support, howeve= r >> when grub installed, i lost the ability to boot into windows. In this >> machine a toshiba satellite laptop, I tried to play it safe and instead >> cannot boot either void-linux or freebsd from the hard drive. I can boo= t >> into freebsd with supergrubdisk, i don't believe it is a question of EFI >> because I had previously installed DragonflyBSD 4.8 which has support fo= r >> EFI and I selected it as well, but the system was unbootable as well. H= ow >> should I troubleshoot this? I can boot from live media, but I cannot >> install grub or the freebsd bootloader. Hard drive is 465 GB, with the >> above mentioned linux partitions, the rest for freebsd with ufs. If the= re >> is a how to, or a laptop wiki on this topic, I appreciate all your help >> even if it would be recommended that I reinstall the OS again from >> scratch. I am confused with GPT vs old style MBR which just worked TM b= y >> the way and this secure boot crap which renders our machines unbootable. >=20 >=20 > Show the output of gpart show ada0 (or whatever your disk is) for better > guesswork to begin. You might need to (1) disable secure boot, (2) enable > bios emulation, (3) install FreeBSD (and linux) with the BIOS/MBR booter > instead of EFI. >=20 > Regards, > Heikki Lindholm I strongly recommend to everyone facing problems [or if you have no wish=20 to face them in future] : 1) Use Legacy BIOS; not UEFI 2) Use MBR partitioning; not GPT. This further implies that either use=20 the whole disk (presuming you have only one), or use UFS only (no ZFS) 3) Only install from optical media; not USB stick. If you have any problems booting FreeBSD, use the installer to set up a=20 Fixit/Live Shell session and make sure you put Boot Easy to the MBR : boot0cfg -B /dev/ada0 # or whatever device corresponds to your disk One of the best things in FreeBSD is Boot Easy : it makes life so much=20 sweeter that once you start using it, you will realize that Grub has no=20 place in the FreeBSD world - except for any Linux installation later=20 which should put Grub boot record to its system partition, never the MBR. For any assistance, please at least send across your gpart geometry,=20 which you can get in Fixit/Live Shell with : gpart show ada0 Regards Manish Jain