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


Groups > de.comp.os.unix.linux.misc > #83228

Re: bootfaehiger Linux clone?

From Marcus Jodorf <trap@killfile.de>
Newsgroups de.comp.os.unix.linux.misc
Subject Re: bootfaehiger Linux clone?
Date 2016-04-16 01:30 +0200
Organization n/a
Message-ID <lyh9f2e9he.fsf-bofh@killfile.de> (permalink)
References (7 earlier) <lylh4relvy.fsf-bofh@killfile.de> <neirto$ak5$1@news2.informatik.uni-stuttgart.de> <35846.29062.1460524199@news.jors.net> <nel1l6$srp$1@news2.informatik.uni-stuttgart.de> <nelvp4$51f$1@news2.informatik.uni-stuttgart.de>

Show all headers | View raw


Ulli Horlacher <framstag@rus.uni-stuttgart.de> schrieb:

[Sorry, war ein paar Tage auf Workshop außer Landes. Daher etwas verspätet.]

>> Leider keine Veraenderung: booten geht zur grub shell und das wars.
> 
> Da faellt auf: woher laedt insmod seine Module?  Wenn es das root-device
> ist, haben wir da eine Henne-Ei-Problem: Um aufs USB-Device zugreifen zu
> koennen, braucht man das usb Modul, das aber auf einer USB Partition
> liegt...

Das lädt Module aus aus grubx64.efi/bootx64.efi selber.
Das ist quasi ein Image, in dem grub mitsamt seinen Modulen und meist
der Config steckt.
Gebaut wird das mit grub-mkimage.
In grubx64.efi steckt quasi der ganze Kram aus /boot/grub nochmal
zusammengepackt drin.
Dadurch hat man nicht das Henne-Ei-Problem, daß /boot/grub mit den
Modulen und Config auf der root Partition liegt und damit für grubx64.efi auf
der Systempartition erst mal gar nicht erreichbar ist.

grub-mkimage -d . -o bootx64.efi -O x86_64-efi -p /efi/boot [Modulliste
ohne „.mod“]
(ausgeführt in /boot/grub, am Besten einfach sämtliche Module reinpacken)

baut z.B. grub als bootx64.efi und setzt das prefix dir auf /efi/boot.
Da wird dann z.B. die grub.cfg auch gesucht und man kann dann grub als
bootx64.efi (also mit Windowsbootloadernamen) und die Config daneben rein
packen.
Wenn man ein grafisches Menu will, muß man auch noch ein passendes
Fontfile mit dazu packen (i.d.R. unicode.pf2) und in die Config
eintragen - so à la „loadfont /efi/boot/unicode.pf2“

So ungefähr müßte das hinkommen - ist wie gesagt bei mir schon lange her
und ich hab nur noch mal schnell die Manpage von grub-mkimage überflogen.


Gruß,

Marcus
⚂⚃

Back to de.comp.os.unix.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-03-18 19:30 +0000
  Re: bootfaehiger Linux clone? Tim Ritberg <tim@server.invalid> - 2016-03-18 21:32 +0100
    Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-03-18 21:10 +0000
      Re: bootfaehiger Linux clone? Tim Ritberg <tim@server.invalid> - 2016-03-18 22:47 +0100
        Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-03-18 23:20 +0000
          Re: bootfaehiger Linux clone? Tim Ritberg <tim@server.invalid> - 2016-03-19 01:01 +0100
            Re: bootfaehiger Linux clone? Ralph Aichinger <ra@pi.h5.or.at> - 2016-03-19 07:44 +0100
              Re: bootfaehiger Linux clone? Dietz Pröpper <dietz-news@rotfl.franken.de> - 2016-03-19 10:26 +0100
                Re: bootfaehiger Linux clone? Ralph Aichinger <ra@pi.h5.or.at> - 2016-03-19 10:34 +0100
                Re: bootfaehiger Linux clone? Dietz Pröpper <dietz-news@rotfl.franken.de> - 2016-03-19 11:24 +0100
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-03-19 10:01 +0000
                Re: bootfaehiger Linux clone? Ralph Aichinger <ra@pi.h5.or.at> - 2016-03-19 11:05 +0100
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-03-19 10:15 +0000
                Re: bootfaehiger Linux clone? Tim Ritberg <tim@server.invalid> - 2016-03-19 11:34 +0100
                Re: bootfaehiger Linux clone? Marc Haber <mh+usenetspam1118@zugschl.us> - 2016-03-19 13:36 +0100
                Re: bootfaehiger Linux clone? Marc Haber <mh+usenetspam1118@zugschl.us> - 2016-03-19 13:35 +0100
                Re: bootfaehiger Linux clone? "Oliver Sch@d" <nospam.spam.entfernen@oschad.de> - 2016-04-11 09:52 +0200
            Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-03-19 08:10 +0000
              Re: bootfaehiger Linux clone? Gunter Gutzeit <gunter.gutzeit@arcor.de> - 2016-03-19 15:51 +0100
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-03-19 18:29 +0000
                Re: bootfaehiger Linux clone? Gunter Gutzeit <gunter.gutzeit@arcor.de> - 2016-03-20 19:20 +0100
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-03-20 22:29 +0000
                Re: bootfaehiger Linux clone? Gunter Gutzeit <gunter.gutzeit@arcor.de> - 2016-03-21 15:29 +0100
                Re: bootfaehiger Linux clone? Gunter Gutzeit <gunter.gutzeit@arcor.de> - 2016-04-18 13:00 +0200
                Re: bootfaehiger Linux clone? Peter Faust <peter.faust-solingen@t-online.de> - 2016-04-18 20:34 +0200
                Re: bootfaehiger Linux clone? Gunter Gutzeit <gunter.gutzeit@arcor.de> - 2016-04-19 10:31 +0200
                Re: bootfaehiger Linux clone? Gunter Gutzeit <gunter.gutzeit@arcor.de> - 2016-04-19 10:02 +0200
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-04-19 13:28 +0000
                Re: bootfaehiger Linux clone? Gunter Gutzeit <gunter.gutzeit@arcor.de> - 2016-04-19 16:41 +0200
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-03-29 14:26 +0000
                Re: bootfaehiger Linux clone? Bernd Mayer <beam.bam.boom@knuut.de> - 2016-03-29 17:31 +0200
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-03-29 16:24 +0000
                Re: bootfaehiger Linux clone? Bernd Mayer <beam.bam.boom@knuut.de> - 2016-03-29 19:01 +0200
                Re: bootfaehiger Linux clone? Bernd Mayer <beam.bam.boom@knuut.de> - 2016-03-29 19:07 +0200
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-03-30 12:36 +0000
                Re: bootfaehiger Linux clone? Bernd Mayer <beam.bam.boom@knuut.de> - 2016-03-30 16:29 +0200
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-03-30 12:42 +0000
                Re: bootfaehiger Linux clone? "Helmut Hullen" <Helmut@Hullen.de> - 2016-03-29 19:41 +0200
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-03-30 14:42 +0000
                Re: bootfaehiger Linux clone? Marcus Jodorf <trap@killfile.de> - 2016-03-30 22:53 +0200
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-03-31 07:03 +0000
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-04-01 07:35 +0000
                Re: bootfaehiger Linux clone? Marcus Jodorf <trap@killfile.de> - 2016-04-02 03:26 +0200
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-04-04 15:38 +0000
                Re: bootfaehiger Linux clone? Marcus Jodorf <trap@killfile.de> - 2016-04-04 20:53 +0200
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-04-05 09:47 +0000
                Re: bootfaehiger Linux clone? "Juergen P. Meier" <nospam-1984@jors.net> - 2016-04-05 10:27 +0000
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-04-05 11:42 +0000
                Re: bootfaehiger Linux clone? Marcus Jodorf <trap@killfile.de> - 2016-04-06 00:22 +0200
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-04-12 13:07 +0000
                Re: bootfaehiger Linux clone? "Juergen P. Meier" <nospam-1984@jors.net> - 2016-04-13 05:09 +0000
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-04-13 08:57 +0000
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-04-13 17:31 +0000
                Re: bootfaehiger Linux clone? Marcus Jodorf <trap@killfile.de> - 2016-04-16 01:30 +0200
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-04-19 13:40 +0000
                Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-04-20 17:10 +0000
                Re: bootfaehiger Linux clone? "Helmut Hullen" <Helmut@Hullen.de> - 2016-04-20 19:42 +0200
            Re: bootfaehiger Linux clone? Arno Welzel <usenet@arnowelzel.de> - 2016-03-19 10:04 +0100
            Re: bootfaehiger Linux clone? "Juergen P. Meier" <nospam-1984@jors.net> - 2016-03-20 08:20 +0000
              Re: bootfaehiger Linux clone? Tim Ritberg <tim@server.invalid> - 2016-03-20 11:15 +0100
                Re: bootfaehiger Linux clone? "Juergen P. Meier" <nospam-1984@jors.net> - 2016-03-22 12:50 +0000
                Re: bootfaehiger Linux clone? Tim Ritberg <tim@server.invalid> - 2016-03-22 16:24 +0100
                Re: bootfaehiger Linux clone? "Helmut Hullen" <Helmut@Hullen.de> - 2016-03-22 19:03 +0100
                Re: bootfaehiger Linux clone? Tim Ritberg <tim@server.invalid> - 2016-03-22 19:32 +0100
                Re: bootfaehiger Linux clone? "Helmut Hullen" <Helmut@Hullen.de> - 2016-03-22 19:43 +0100
                Re: bootfaehiger Linux clone? Tim Ritberg <tim@server.invalid> - 2016-03-22 19:54 +0100
                Re: bootfaehiger Linux clone? "Helmut Hullen" <Helmut@Hullen.de> - 2016-03-22 21:07 +0100
                Re: bootfaehiger Linux clone? Tim Ritberg <tim@server.invalid> - 2016-03-22 21:29 +0100
                Re: bootfaehiger Linux clone? "Helmut Hullen" <Helmut@Hullen.de> - 2016-03-23 05:33 +0100
                Re: bootfaehiger Linux clone? Tim Ritberg <tim@server.invalid> - 2016-03-23 12:07 +0100
                Re: bootfaehiger Linux clone? "Helmut Hullen" <Helmut@Hullen.de> - 2016-03-23 16:20 +0100
                Re: bootfaehiger Linux clone? Tim Ritberg <tim@server.invalid> - 2016-03-23 16:46 +0100
                Re: bootfaehiger Linux clone? Hermann Riemann <nospam.ng@hermann-riemann.de> - 2016-03-23 20:11 +0100
                Re: bootfaehiger Linux clone? Tim Ritberg <tim@server.invalid> - 2016-03-23 20:59 +0100
        Re: bootfaehiger Linux clone? "Helmut Hullen" <Helmut@Hullen.de> - 2016-03-19 05:28 +0100
        Re: bootfaehiger Linux clone? Dietz Pröpper <dietz-news@rotfl.franken.de> - 2016-03-19 10:27 +0100
          Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-03-19 10:07 +0000
        Re: bootfaehiger Linux clone? Marcel Mueller <news.5.maazl@spamgourmet.org> - 2016-03-19 11:03 +0100
          Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-03-19 10:18 +0000
            Re: bootfaehiger Linux clone? Tim Ritberg <tim@server.invalid> - 2016-03-19 11:31 +0100
            Re: bootfaehiger Linux clone? Marc Haber <mh+usenetspam1118@zugschl.us> - 2016-03-19 13:37 +0100
  Re: bootfaehiger Linux clone? "Juergen P. Meier" <nospam-1984@jors.net> - 2016-03-20 08:25 +0000
    Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-03-20 10:05 +0000
      Re: bootfaehiger Linux clone? Tim Ritberg <tim@server.invalid> - 2016-03-20 11:17 +0100
      Re: bootfaehiger Linux clone? Dietz Pröpper <dietz-news@rotfl.franken.de> - 2016-03-20 22:16 +0100
        Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-03-20 22:31 +0000
          Re: bootfaehiger Linux clone? Dietz Pröpper <dietz-news@rotfl.franken.de> - 2016-03-21 09:00 +0100
  Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-04-26 17:08 +0000
    Re: bootfaehiger Linux clone? Gunter Gutzeit <gunter.gutzeit@arcor.de> - 2016-04-26 19:49 +0200
    Re: bootfaehiger Linux clone? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-04-30 09:27 +0000

csiph-web