1. Cookies optimieren die Bereitstellung unserer Dienste. Mit der Nutzung unserer Dienste erklärst Du dich damit einverstanden, dass wir Cookies verwenden. Weitere Informationen
    Information ausblenden
  2. Willkommen im Forum von DIGITAL FERNSEHEN - dem führenden Portal für digitales Fernsehen, Medien und Entertainment. Wenn du hier neu bist, schau dich ruhig etwas um und melde dich an, um am Forengeschehen teilnehmen zu können.
    Information ausblenden

Linux Live USB stick persistent einrichten

Dieses Thema im Forum "Computer & Co." wurde erstellt von Gorcon, 26. Juni 2020.

  1. DVB-T2 HD

    DVB-T2 HD Foren-Gott

    Registriert seit:
    7. Mai 2016
    Beiträge:
    11.149
    Zustimmungen:
    4.817
    Punkte für Erfolge:
    213
    Anzeige
    Da es ja um „HOOK-Parameter“ für initramfs geht, das

    mkinitcpio - ArchWiki

    lesen und verstehen. Die entsprechende Konfigurationsdatei, wo man den passenden COW-Parameter hinzufügen müsste, findet man wohl dort

    /etc/mkinitcpio.conf

    falls vorhanden und wenn nicht, dann dort anlegen.
     
  2. simonsagt

    simonsagt Board Ikone

    Registriert seit:
    11. April 2014
    Beiträge:
    3.563
    Zustimmungen:
    1.410
    Punkte für Erfolge:
    163
    SystemRescueCd - Installing SystemRescueCd on a USB stick

    Eines von den beiden wird es sein. Boot loader ist ja das Zeug was vor dem eigenlichen System gestartet wird.
     
    Gorcon gefällt das.
  3. Gorcon

    Gorcon Kanzler Premium

    Registriert seit:
    15. Januar 2001
    Beiträge:
    154.596
    Zustimmungen:
    30.137
    Punkte für Erfolge:
    273
    Technisches Equipment:
    VU+ Uno 4K SE mit Neutrino HD + VTi
    Danke, werde ich heute abend mal probieren. (y)
     
  4. Gorcon

    Gorcon Kanzler Premium

    Registriert seit:
    15. Januar 2001
    Beiträge:
    154.596
    Zustimmungen:
    30.137
    Punkte für Erfolge:
    273
    Technisches Equipment:
    VU+ Uno 4K SE mit Neutrino HD + VTi
    Meine zusätzliche Partition habe ich "pers" genannt.
    Aber wie ich das jetzt dort eintragen muss und ob da noch weitere Parameter nötig sind habe ich noch nicht herausbekommen
    Ich gehe davon aus das die Parameter dann z.B. unter menuentry "Boot SystemRescueCd using default options"... eingetragen werden müssen. Nur wie muss das genau aussehen?
    cow_label=pers oder Set cow_label=pers ?

    Fehlermeldungen beim Booten sehe ich jedenfalls nicht, es funktioniert allerdings auch nicht (es wird nur wie immer gebootet)
    Hier die unveränderten cfg Dateien:

    grubsrcd.cfg
    Code:
    # Global options
    set timeout=90
    set default=0
    set fallback=1
    set pager=1
    
    # Display settings
    if loadfont /boot/grub/font.pf2 ; then
        set gfxmode=auto
        insmod efi_gop
        insmod efi_uga
        insmod gfxterm
        insmod all_video
        insmod videotest
        insmod videoinfo
        terminal_output gfxterm
    fi
    
    menuentry "Boot SystemRescueCd using default options" {
        set gfxpayload=keep
        linux /sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd archisolabel=SYSRCD615
        initrd /sysresccd/boot/intel_ucode.img /sysresccd/boot/amd_ucode.img /sysresccd/boot/x86_64/sysresccd.img
    }
    
    menuentry "Boot SystemRescueCd and copy system to RAM" {
        set gfxpayload=keep
        linux /sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd archisolabel=SYSRCD615 copytoram
        initrd /sysresccd/boot/intel_ucode.img /sysresccd/boot/amd_ucode.img /sysresccd/boot/x86_64/sysresccd.img
    }
    
    menuentry "Boot the SystemRescueCd live medium and verify integrity" {
        set gfxpayload=keep
        linux /sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd archisolabel=SYSRCD615 checksum
        initrd /sysresccd/boot/intel_ucode.img /sysresccd/boot/amd_ucode.img /sysresccd/boot/x86_64/sysresccd.img
    }
    
    menuentry "Boot from a Linux operating system installed on the disk" {
        set gfxpayload=keep
        linux /sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd archisolabel=SYSRCD615 findroot
        initrd /sysresccd/boot/intel_ucode.img /sysresccd/boot/amd_ucode.img /sysresccd/boot/x86_64/sysresccd.img
    }
    
    menuentry "Stop during the boot process before mounting the root filesystem" {
        set gfxpayload=keep
        linux /sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd archisolabel=SYSRCD615 break
        initrd /sysresccd/boot/intel_ucode.img /sysresccd/boot/amd_ucode.img /sysresccd/boot/x86_64/sysresccd.img
    }
    sysresccd_sys.cfg
    Code:
    INCLUDE boot/syslinux/sysresccd_head.cfg
    
    LABEL sysresccd
    TEXT HELP
    Boot the SystemRescueCd live medium.
    ENDTEXT
    MENU LABEL Boot SystemRescueCd using default options
    LINUX boot/x86_64/vmlinuz
    INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
    APPEND archisobasedir=sysresccd archisolabel=SYSRCD615
    
    LABEL sysresccd_copytoram
    TEXT HELP
    Boot the SystemRescueCd live medium and copy system to RAM
    ENDTEXT
    MENU LABEL Boot SystemRescueCd and copy system to RAM
    LINUX boot/x86_64/vmlinuz
    INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
    APPEND archisobasedir=sysresccd archisolabel=SYSRCD615 copytoram
    
    LABEL sysresccd_checksum
    TEXT HELP
    Boot the SystemRescueCd live medium and verify integrity
    ENDTEXT
    MENU LABEL Boot SystemRescueCd and verify checksum of the medium
    LINUX boot/x86_64/vmlinuz
    INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
    APPEND archisobasedir=sysresccd archisolabel=SYSRCD615 checksum
    
    LABEL sysresccd_findroot
    TEXT HELP
    Boot from a Linux operating system installed on the disk
    ENDTEXT
    MENU LABEL Boot from a Linux operating system installed on the disk
    LINUX boot/x86_64/vmlinuz
    INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
    APPEND archisobasedir=sysresccd archisolabel=SYSRCD615 findroot
    
    LABEL sysresccd_break
    TEXT HELP
    Stop during the boot process before mounting the root filesystem
    ENDTEXT
    MENU LABEL Stop during the boot process before mounting the root filesystem
    LINUX boot/x86_64/vmlinuz
    INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
    APPEND archisobasedir=sysresccd archisolabel=SYSRCD615 break
    
    INCLUDE boot/syslinux/sysresccd_tail.cfg
    /etc/... ist ja schon im Linux system, auf einer Live "CD" gibt es das so nicht. Dort müsste man das dann schon im squashFS Dateisystem rein hacken was dann aber wohl zu Prüfsummenfehlern führen dürfte.
     
  5. Gorcon

    Gorcon Kanzler Premium

    Registriert seit:
    15. Januar 2001
    Beiträge:
    154.596
    Zustimmungen:
    30.137
    Punkte für Erfolge:
    273
    Technisches Equipment:
    VU+ Uno 4K SE mit Neutrino HD + VTi
    Nachtrag scheint jetzt doch zu zu funktionieren. (y)
    Manchmal sieht man den Wald vor lauter Bäumen nicht.

    Vielen Dank nochmal an simonsagt

    Hier die angepassten Dateien:
    Code:
    # Global options
    set timeout=90
    set default=0
    set fallback=1
    set pager=1
    
    # Display settings
    if loadfont /boot/grub/font.pf2 ; then
        set gfxmode=auto
        insmod efi_gop
        insmod efi_uga
        insmod gfxterm
        insmod all_video
        insmod videotest
        insmod videoinfo
        terminal_output gfxterm
    fi
    
    menuentry "Boot SystemRescueCd using default options" {
        set gfxpayload=keep
        linux /sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd archisolabel=SYSRCD615 cow_label=pers
        initrd /sysresccd/boot/intel_ucode.img /sysresccd/boot/amd_ucode.img /sysresccd/boot/x86_64/sysresccd.img
    }
    
    menuentry "Boot SystemRescueCd and copy system to RAM" {
        set gfxpayload=keep
        linux /sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd archisolabel=SYSRCD615 copytoram
        initrd /sysresccd/boot/intel_ucode.img /sysresccd/boot/amd_ucode.img /sysresccd/boot/x86_64/sysresccd.img
    }
    
    menuentry "Boot the SystemRescueCd live medium and verify integrity" {
        set gfxpayload=keep
        linux /sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd archisolabel=SYSRCD615 checksum
        initrd /sysresccd/boot/intel_ucode.img /sysresccd/boot/amd_ucode.img /sysresccd/boot/x86_64/sysresccd.img
    }
    
    menuentry "Boot from a Linux operating system installed on the disk" {
        set gfxpayload=keep
        linux /sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd archisolabel=SYSRCD615 findroot
        initrd /sysresccd/boot/intel_ucode.img /sysresccd/boot/amd_ucode.img /sysresccd/boot/x86_64/sysresccd.img
    }
    
    menuentry "Stop during the boot process before mounting the root filesystem" {
        set gfxpayload=keep
        linux /sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd archisolabel=SYSRCD615 break
        initrd /sysresccd/boot/intel_ucode.img /sysresccd/boot/amd_ucode.img /sysresccd/boot/x86_64/sysresccd.img
    }
    Code:
    INCLUDE boot/syslinux/sysresccd_head.cfg
    
    LABEL sysresccd
    TEXT HELP
    Boot the SystemRescueCd live medium.
    ENDTEXT
    MENU LABEL Boot SystemRescueCd using default options
    LINUX boot/x86_64/vmlinuz
    INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
    APPEND archisobasedir=sysresccd archisolabel=SYSRCD615 cow_label=pers
    
    LABEL sysresccd_copytoram
    TEXT HELP
    Boot the SystemRescueCd live medium and copy system to RAM
    ENDTEXT
    MENU LABEL Boot SystemRescueCd and copy system to RAM
    LINUX boot/x86_64/vmlinuz
    INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
    APPEND archisobasedir=sysresccd archisolabel=SYSRCD615 copytoram
    
    LABEL sysresccd_checksum
    TEXT HELP
    Boot the SystemRescueCd live medium and verify integrity
    ENDTEXT
    MENU LABEL Boot SystemRescueCd and verify checksum of the medium
    LINUX boot/x86_64/vmlinuz
    INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
    APPEND archisobasedir=sysresccd archisolabel=SYSRCD615 checksum
    
    LABEL sysresccd_findroot
    TEXT HELP
    Boot from a Linux operating system installed on the disk
    ENDTEXT
    MENU LABEL Boot from a Linux operating system installed on the disk
    LINUX boot/x86_64/vmlinuz
    INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
    APPEND archisobasedir=sysresccd archisolabel=SYSRCD615 findroot
    
    LABEL sysresccd_break
    TEXT HELP
    Stop during the boot process before mounting the root filesystem
    ENDTEXT
    MENU LABEL Stop during the boot process before mounting the root filesystem
    LINUX boot/x86_64/vmlinuz
    INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/sysresccd.img
    APPEND archisobasedir=sysresccd archisolabel=SYSRCD615 break
    
    INCLUDE boot/syslinux/sysresccd_tail.cfg