Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #201023

Grub-less installation of stretch

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Grub-less installation of stretch
Date 2018-10-08 18:40 +0200
Message-ID <wGGJA-13Q-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


I didn't want to hijack the "Problem updating to Buster" thread, but
it follows on from:

On Mon 08 Oct 2018 at 18:45:01 (+0300), Reco wrote:
> 2) Mount chroot again (from inside the screen). Ensure you're able to
> run 'apt-get update' without trouble, as you'll need it.
>
> 3) Perform the usual upgrade dance:
>
> apt-get upgrade
>
> apt-get dist-upgrade
>
> The process will ask you questions (many questions, in fact), you're
> assumed to choose answers wisely ;). Take special care while upgrading
> grub.
>
> 4) Unmount chroot, exit screen (simple 'exit' should do it).
>
> 5) Reboot into your brand-new buster installation.

(The origin of my system will differ slightly in being debootstrap
from another partition running jessie, rather than an upgrade of
an older system.)

At step 3 (where I'm installing all the packages I want on the new
system) remove grub if it's there. (IOW I wouldn't deliberately be
installing it. I see no dependencies.)

Step 4 as above.

Step 5: Now I'm back running jessie (whence I executed the
debootstrap and so on).

# grub-mkconfig > /boot/grub/grub.cfg

which will os-prober the new grub-less system and add entries for it under
### BEGIN /etc/grub.d/30_os-prober ###

Step 6:

# grub-set-default 'Debian 9 (on /dev/sda7)>osprober-gnulinux-simple-swan07'

using the strings I find there.

# reboot

Would this work, and reboot into the grub-less system? Any snags or gotchas?

Cheers,
David.

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Grub-less installation of stretch David Wright <deblis@lionunicorn.co.uk> - 2018-10-08 18:40 +0200
  Re: Grub-less installation of stretch Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-10-08 20:30 +0200
    Re: Grub-less installation of stretch David Wright <deblis@lionunicorn.co.uk> - 2018-10-08 22:30 +0200
      Re: Grub-less installation of stretch Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-10-08 23:50 +0200
        Re: Grub-less installation of stretch David Wright <deblis@lionunicorn.co.uk> - 2018-10-09 22:10 +0200

csiph-web