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


Groups > linux.debian.user > #185763

Re: Debian live installer problems

From Arjun Krishnan <arjunkc@gmail.com>
Newsgroups linux.debian.user
Subject Re: Debian live installer problems
Date 2017-08-23 04:20 +0200
Message-ID <uhtqV-2RF-5@gated-at.bofh.it> (permalink)
References (4 earlier) <ugCmC-1uD-11@gated-at.bofh.it> <ugCFY-1BI-7@gated-at.bofh.it> <ugERs-39C-9@gated-at.bofh.it> <ugFu9-3mz-1@gated-at.bofh.it> <ugI8G-53u-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

>
>
>
> My guess is that you are not following the instructions in the Debian
> installation guide complemented by my commentary. You seem to have your own
> idea of how to do things, which to me appears to be your own wild guess.
>
This is not the case. There's no need to be so negative and disrespectful,
Mario, you're not Linus Torvalds.
We're all only trying to learn here. However, I appreciate the time you
took to try and help.

I finally got the debian installer to work, and here is how. I wanted an
easy-to-maintain usb stick that would install all of the different linux
distributions (see
https://wiki.archlinux.org/index.php/Multiboot_USB_drive). The
problem was that my usb stick was running off
an efi grub. It had two partitions, one efi containing the grub shim, and
one ext4. I have a bunch of different linux isos with different
distributions distributions loaded in the ext4 partition, and one single
grub.cfg file that loads the installers from these isos. The debian
installer was the only one giving me trouble. It turned out that the debian
installer needed an extra grub needed a module called `efi_gop` to be
loaded. I don't know what it does, and would appreciate any information.

The following grub2 entry boots the debian net installer. In this case, I'd
copied the hd-image initrd and vmlinuz on to the ext4 partition as
stated in the debian install guide.

menuentry 'debian stretch 9.1 netinst' {
    insmod efi_gop
    search --no-floppy --set=root --fs-uuid
e84f9c3d-3021-45b0-b2c6-da7852c3c151
--hint hd0,gpt2
    linux /vmlinuz vga=788 --- quiet
    initrd /initrd.gz
}


Once the installer loaded, it searched for isos on the usb stick and loaded
the packages it needed from there.

In fact, it is not necessary to get the initrd and kernel from the hd-image
folder *at all*, and the following menuentry works just as well.

menuentry '[loopback]debian stretch 9.1 xfce-cd config' {
        insmod efi_gop
        # this is the path to the ext4 partition on the usb drive
        set
imgdevpath="/dev/disk/by-uuid/e84f9c3d-3021-45b0-b2c6-da7852c3c151"
        set isofile='/boot/iso/debian-9.1.0-amd64-xfce-CD-1.iso'
        loopback loop $isofile
        linux (loop)/install.amd/gtk/vmlinuz desktop=xfce
fromiso=${imgdevpath}/${isofile}
        initrd (loop)/install.amd/gtk/initrd.gz
}


Notice here that grub2 is loading the ramdisk and linux kernel that reside
on the iso. If I removed the `insmod efi_gop` statement from either of
these, the installer would fail to boot.

What I don't understand is why the efi_gop module is needed for the Debian
installer, but not for the Debian live cd.

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


Thread

Debian live installer problems Arjun Krishnan <arjunkc@gmail.com> - 2017-08-20 05:50 +0200
  Re: Debian live installer problems Jimmy Johnson <field.engineer@gmail.com> - 2017-08-20 06:30 +0200
  Re: Debian live installer problems Mario Castelán Castro <marioxcc.MT@yandex.com> - 2017-08-20 17:20 +0200
    Re: Debian live installer problems Arjun Krishnan <arjunkc@gmail.com> - 2017-08-20 18:00 +0200
      Re: Debian live installer problems Mario Castelán Castro <marioxcc.MT@yandex.com> - 2017-08-20 18:40 +0200
        Re: Debian live installer problems Arjun Krishnan <arjunkc@gmail.com> - 2017-08-20 19:40 +0200
          Re: Debian live installer problems Mario Castelán Castro <marioxcc.MT@yandex.com> - 2017-08-20 20:00 +0200
            Re: Debian live installer problems Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-08-20 22:20 +0200
              Re: Debian live installer problems Arjun Krishnan <arjunkc@gmail.com> - 2017-08-20 23:00 +0200
                Re: Debian live installer problems Mario Castelán Castro <marioxcc.MT@yandex.com> - 2017-08-21 01:50 +0200
                Re: Debian live installer problems Arjun Krishnan <arjunkc@gmail.com> - 2017-08-23 04:20 +0200
          Re: Debian live installer problems Mario Castelán Castro <marioxcc.MT@yandex.com> - 2017-08-20 20:00 +0200

csiph-web