From owner-freebsd-questions@freebsd.org Sun Apr 29 09:08:40 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A155FA73E9 for ; Sun, 29 Apr 2018 09:08:40 +0000 (UTC) (envelope-from kristaps.civkulis@gmail.com) Received: from mail-oi0-x22a.google.com (mail-oi0-x22a.google.com [IPv6:2607:f8b0:4003:c06::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EA54C7C45A for ; Sun, 29 Apr 2018 09:08:39 +0000 (UTC) (envelope-from kristaps.civkulis@gmail.com) Received: by mail-oi0-x22a.google.com with SMTP id e80-v6so5129936oig.11 for ; Sun, 29 Apr 2018 02:08:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=aRYARGS1lPZyOgkpwpkj45LK8NnvzWx94oD5djADztY=; b=nCxSuR97hD4XOa0nlQlOMbMyXrDEBBFsvmzMjhyhTZK5EJ+1yOp+dyw1xBR3reqrXm dm8y5AKOQe4e4GAYGuqC3UF8KICvyl2WVnp6448oJphoDNKpd1ddOVx4DVwyv07afoSS AK2ZQ3buGCvSh/SM6vIfXoWmfM1H2uRFhrY45ZlBWIJL44kXvnzvTUY8wzgMUNmFNH7d fc2gFCcfiFUNNjq4S8AW2XGnR2nLSruI1DKEIn5JLBV10pOkmppcMpUEQz7e2n+9M8Gd CS+uw54zRVxMeziMJON/+E62Ir6/COEWN+utNq3MXN3uKx9CHC7OurVFz8LcqbHQoaoX ML2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=aRYARGS1lPZyOgkpwpkj45LK8NnvzWx94oD5djADztY=; b=sg3dolQ/Snh9C81jBOaee4I4izvTR+zBm3O0HYMZcEc12lDZIYiRjdYhMoHWnpjUKG tKiAq0NEnjFd2/eyOhF6mOw1j7yBd5OR8fHb5ZU8dsTVJt8OycRPur1ThIT3prW8Hkjc ajxz647oaPZFN4/et+2XMnowrF761Xt9P8K6CVBqMEruODdqV23MrQuE+QyVlez11iun Fp+YLf/IE8TuizHh1D4v0QPD1dH46BbfPV1R9fhLWvb36QJCMBga/YKCuK4fEeeY70p1 Bb10N9LjfR8s6cr0gOGfLPu0gI330UbkVUT8jbrbqkdEKnGYERS6fl0stiubrKFaG3R8 crew== X-Gm-Message-State: ALQs6tAhr1i3ukn1AjZ+eLvCQd+j23TCXw7fNF4oizIGy3vG8LIzXCdQ 6Y2AU2NIMaUNLcWnrZn39+NFi3TE8OClYe5fw7EVsw== X-Google-Smtp-Source: AB8JxZpl4GOL5hA3fiITk2iVdkod6glTqL7HTojclkJUUETNn/4j+gZmFH6LbbkhK2AF0/hfOQsmUEwAlW0dWfy+dgA= X-Received: by 2002:aca:2d46:: with SMTP id t67-v6mr4584941oit.143.1524992919319; Sun, 29 Apr 2018 02:08:39 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:48ce:0:0:0:0:0 with HTTP; Sun, 29 Apr 2018 02:08:38 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?Q?Kristaps_=C4=8Civkulis?= Date: Sun, 29 Apr 2018 12:08:38 +0300 Message-ID: Subject: Re: Dual Boot with GRUB next to GNU/Linux "Debian" To: sj126@uranus.uni-freiburg.de Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2018 09:08:40 -0000 > Just to get it unambiguous: Is the "FreeBSD pre-partition" an unallocated space > or an empty partition, which is unmounted or ... ? > Btw, does the unallocated space physically need to be at a stretch? (How) Does > the partition manager arrange the physical position of partitions? You just have to shrink one of your current partitions to leave enough unallocated space (at least 1GB), and FreeBSD installer will automatically find that unallocated space and create needed partitions. The term "empty partition" was wrong, my bad. Unallocated space has to be contiguous. > As (nearly) always in the world of Free Software, I can (successfully) use > whichever partition manager I want for this, can't I? Or is efibootmgr more > suitable for this task? Yes, you can use any partition manager you want. But efibootmgr is different kind of tool, completely unrelated to partition managers. If you have UEFI firmware, you can change your boot order, add/delete boot entries and manually choose entry from your boot menu (load GRUB from this location, or load FreeBSD from that location, or try to boot from CD, DVD, USB etc). To change your boot order or add/delete boot entries you can use, for example, efibootmgr on Linux. On my machine FreeBSD installer didn't automatically add new boot entry, so I had to add it manually through Linux by using efibootmgr with command # efibootmgr -c -d /dev/sda -p XX -L "FreeBSD Loader" -l "\EFI\BOOT\BOOTX64.EFI" where XX is the number of EFI partiton created by FreeBSD installer (/dev/sdaXX).