Das hat funktioniert - danke für den Hinweis zum Workaround ![]()
Beiträge von froihhp
-
-
-
-
Moin, danke für den Tip. Habe es direkt ausprobiert, hat aber leider keine Änderung gebracht.
-
Ich habe soeben einen " VPS 1000 ARM G11" mit dem debian 12.6 arm64 ISO installiert und bin dabei nach dieser Anleitung vorgegangen.
Wenn ich das installierte System jetzt boote, sehe ich das Grub Bootmenu aber danach sehe ich lediglich eine schwarze Konsole - Display output is not active - habe also keine Möglichkeit, das Passwort zum Entschlüsseln der Partition einzugeben.
Und nun?
-
That was it ... pretty stupid mistake.
Thank you for pointing that out.
-
ok, i achieved the next step. grub boots into a password prompt.
after i enter the passphrase the boot runs into an error. apparently the encrypted volume does not exist.
CodeScanning for Btrfs filesystems Waiting 10 seconds for device /dev/mapper/btrfs-system ... ERROR device /dev/mapper/btrfs-system not found. Skipping fsck. ... ...after that i am dropped into the grub emergency shell.
maybe somebody can shed some light on this with the following informations:
Coderoot@archiso ~ # lsblk -o name,uuid NAME UUID loop0 sda |-sda1 |-sda2 7E46-BADF `-sda3 8cae1a86-a479-4889-9d2b-da0c7e2d3402 `-btrfs-system e59d11f1-8b57-4120-acb9-1f6cd689aae3 sr0 2019-07-01-15-06-24-00Code
Alles anzeigenroot@archiso ~ # cat /etc/default/grub # GRUB boot loader configuration GRUB_DEFAULT=0 GRUB_TIMEOUT=7 GRUB_DISTRIBUTOR="Arch" GRUB_CMDLINE_LINUX_DEFAULT="audit=0 loglevel=3" GRUB_CMDLINE_LINUX="dobtrfs cryptdevice=UUID=8cae1a86-a479-4889-9d2b-da0c7e2d3402:cryptroot root=/dev/mapper/btrfs-system rw rootfstype=btrfs" # Preload both GPT and MBR modules so that they are not missed GRUB_PRELOAD_MODULES="part_gpt part_msdos" # Uncomment to enable booting from LUKS encrypted devices GRUB_ENABLE_CRYPTODISK=y # Set to 'countdown' or 'hidden' to change timeout behavior, # press ESC key to display menu. GRUB_TIMEOUT_STYLE=menu # Uncomment to use basic console GRUB_TERMINAL_INPUT=console # Uncomment to disable graphical terminal #GRUB_TERMINAL_OUTPUT=console # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' GRUB_GFXMODE=auto # Uncomment to allow the kernel use the same resolution used by grub GRUB_GFXPAYLOAD_LINUX=keep # Uncomment if you want GRUB to pass to the Linux kernel the old parameter # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx" #GRUB_DISABLE_LINUX_UUID=true # Uncomment to disable generation of recovery mode menu entries GRUB_DISABLE_RECOVERY=true # Uncomment and set to the desired menu colors. Used by normal and wallpaper # modes only. Entries specified as foreground/background. #GRUB_COLOR_NORMAL="light-blue/black" #GRUB_COLOR_HIGHLIGHT="light-cyan/blue" # Uncomment one of them for the gfx desired, a image background or a gfxtheme #GRUB_BACKGROUND="/path/to/wallpaper" #GRUB_THEME="/path/to/gfxtheme" # Uncomment to get a beep at GRUB start #GRUB_INIT_TUNE="480 440 1" # Uncomment to make GRUB remember the last selection. This requires to # set 'GRUB_DEFAULT=saved' above. #GRUB_SAVEDEFAULT="true"Code
Alles anzeigenroot@archiso ~ # cat /etc/mkinitcpio.conf # vim:set ft=sh # MODULES # The following modules are loaded before any boot hooks are # run. Advanced users may wish to specify all system modules # in this array. For instance: # MODULES=(piix ide_disk reiserfs) MODULES=(crc32c-intel) # BINARIES # This setting includes any additional binaries a given user may # wish into the CPIO image. This is run last, so it may be used to # override the actual binaries included by a given hook # BINARIES are dependency parsed, so you may safely ignore libraries BINARIES=() # FILES # This setting is similar to BINARIES above, however, files are added # as-is and are not parsed in any way. This is useful for config files. FILES=() # HOOKS # This is the most important setting in this file. The HOOKS control the # modules and scripts added to the image, and what happens at boot time. # Order is important, and it is recommended that you do not change the # order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for # help on a given hook. # 'base' is _required_ unless you know precisely what you are doing. # 'udev' is _required_ in order to automatically load modules # 'filesystems' is _required_ unless you specify your fs modules in MODULES # Examples: ## This setup specifies all modules in the MODULES setting above. ## No raid, lvm2, or encrypted root is needed. # HOOKS=(base) # ## This setup will autodetect all modules for your system and should ## work as a sane default # HOOKS=(base udev autodetect block filesystems) # ## This setup will generate a 'full' image which supports most systems. ## No autodetection is done. # HOOKS=(base udev block filesystems) # ## This setup assembles a pata mdadm array with an encrypted root FS. ## Note: See 'mkinitcpio -H mdadm' for more information on raid devices. # HOOKS=(base udev block mdadm encrypt filesystems) # ## This setup loads an lvm2 volume group on a usb device. # HOOKS=(base udev block lvm2 filesystems) # ## NOTE: If you have /usr on a separate partition, you MUST include the # usr, fsck and shutdown hooks. HOOKS=(base udev autodetect keyboard modconf block encrypt btrfs filesystems fsck) # COMPRESSION # Use this to compress the initramfs image. By default, gzip compression # is used. Use 'cat' to create an uncompressed image. #COMPRESSION="gzip" #COMPRESSION="bzip2" #COMPRESSION="lzma" #COMPRESSION="xz" #COMPRESSION="lzop" #COMPRESSION="lz4" # COMPRESSION_OPTIONS # Additional options for the compressor #COMPRESSION_OPTIONS=()Code
Alles anzeigenroot@archiso ~ # gdisk /dev/sda GPT fdisk (gdisk) version 1.0.4 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): p Disk /dev/sda: 41943040 sectors, 20.0 GiB Model: QEMU HARDDISK Sector size (logical/physical): 512/512 bytes Disk identifier (GUID): 6624D842-A74D-4141-8EBC-BB2CAA149DEB Partition table holds up to 128 entries Main partition table begins at sector 2 and ends at sector 33 First usable sector is 34, last usable sector is 41943006 Partitions will be aligned on 2048-sector boundaries Total free space is 2014 sectors (1007.0 KiB) Number Start (sector) End (sector) Size Code Name 1 2048 6143 2.0 MiB EF02 BIOS boot partition 2 6144 1054719 512.0 MiB 8300 Linux filesystem 3 1054720 41943006 19.5 GiB 8300 Linux filesystem Command (? for help): -
Maybe you could try to remove the "quiet" flag from the bootloader entry. Not sure if it does something, but maybe it lets the boot process talk a bit

i never used it

systemd-boot is an EFI bootloader, but netcup doesn't support EFI firmwares yet.
Netcup's VMs need to boot with MBR. Try GRUB instead of systemd-boot.
thanks, i did not know this - will try and report back.
-
Hi,
i try to install my vserver but apparently something seems to be wrong because it wont boot.
i use the following instructions: https://fogelholk.io/installing-arc…luks-and-btrfs/
following those instructions gets me a fine booting vm in virtualbox. installing in the netcup infrastructure gets me a non booting vm that just hangs at "Booting ....".
i use the recent iso file from archlinux.org
Any ideas?