vServer LVM System menuentry Grub2 iso boot

Warum Debian und/oder eine seiner Spielarten? Was muss ich vorher wissen? Wo geht es nach der Installation weiter?
Antworten
AxelMD
Beiträge: 1378
Registriert: 15.03.2009 08:02:11

vServer LVM System menuentry Grub2 iso boot

Beitrag von AxelMD » 04.12.2020 08:10:33

Hallo Forum,

mein VServer sieht wie folgt aus:

Kein uefi System:

Code: Alles auswählen

mount | grep efivars 
root@debian10:/boot/iso# 
Partitionen:

Code: Alles auswählen

parted -l
Model: QEMU QEMU HARDDISK (scsi)
Disk /dev/sda: 21,0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  538MB   537MB   primary  ext4         boot
 2      538MB   21,0GB  20,4GB  primary               lvm


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/debian--buster--20201122-swap: 537MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags: 

Number  Start  End    Size   File system     Flags
 1      0,00B  537MB  537MB  linux-swap(v1)


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/debian--buster--20201122-root: 19,9GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags: 

Number  Start  End     Size    File system  Flags
 1      0,00B  19,9GB  19,9GB  ext4


root@debian10:/boot/iso# 
cfdisk

Code: Alles auswählen

    Device               Boot                       Start                End            Sectors            Size           Id Type
>>  /dev/sda1            *                           2048            1050623            1048576            512M           83 Linux                   
    /dev/sda2                                     1050624           40959999           39909376             19G           8e Linux LVM
Tree für

Code: Alles auswählen

root@debian10:/boot/iso# tree
.
└── pmagic_2020_10_12.iso
Wie muss ich bei einem LVM System folgende menuentry anpassen:

Code: Alles auswählen

menuentry "pmagic_2020_10_12.iso x86_64" {
  loopback loop /boot/iso/pmagic_2020_10_12.iso
  linux (loop)/pmagic/bzImage iso_filename=/boot/iso/pmagic_2020_10_12.iso edd=on load_ramdisk=1 prompt_ramdisk=0 rw gfxpayload=text loglevel=9 max_loop=256 vmalloc=512MiB 
  initrd (loop)/pmagic/initrd.img (loop)/pmagic/fu.img (loop)/pmagic/m.img
}
damit das Grub2 das Iso findet?
Zur Zeit bekomme ich die Fehlermeldung:

Code: Alles auswählen

Error: File >>/boot/iso/clonezilla-live-2.7.0-10-amd64.iso<< not found
Error: Drive >>loop<< was not found--
Error: You must load the kernel first.
https://itectec.com/superuser/from-grub ... al-volume/

09-Jan-2015
https://forums.opensuse.org/showthread. ... lvm-volume

Mit vorherigen Links komme ich nicht weiter.

MfG
AxelMD



Asked 4 years, 5 months ago
https://askubuntu.com/questions/786954/ ... o-with-lvm

Asked 1 year, 7 months ago
https://unix.stackexchange.com/question ... from-grub2

AxelMD
Beiträge: 1378
Registriert: 15.03.2009 08:02:11

Re: vServer LVM System menuentry Grub2 iso boot

Beitrag von AxelMD » 09.12.2020 11:35:16

Hallo, wie gebe ich bei eine LVM System dem Pfad richtig an?

AxelMD
Beiträge: 1378
Registriert: 15.03.2009 08:02:11

Re: vServer LVM System menuentry Grub2 iso boot

Beitrag von AxelMD » 18.12.2020 10:11:52

Ein anderes System:

Code: Alles auswählen

sudo parted -l
Modell: ATA Samsung SSD 850 (scsi)
Festplatte  /dev/sda:  512GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: msdos
Disk-Flags: 

Nummer  Anfang  Ende   Größe  Typ       Dateisystem  Flags
 1      1049kB  538MB  537MB  primary   fat32        boot
 2      539MB   512GB  512GB  extended
 5      539MB   512GB  512GB  logical                LVM


Modell: Linux device-mapper (linear) (dm)
Festplatte  /dev/mapper/vgp5915-swap_1:  1028MB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: loop
Disk-Flags: 

Nummer  Anfang  Ende    Größe   Dateisystem     Flags
 1      0,00B   1028MB  1028MB  linux-swap(v1)


Modell: Linux device-mapper (linear) (dm)
Festplatte  /dev/mapper/vgp5915-root:  511GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: loop
Disk-Flags: 

Nummer  Anfang  Ende   Größe  Dateisystem  Flags
 1      0,00B   511GB  511GB  ext4
Hallo, hat niemand eine Idee?


Antworten