Grub2: booting opensuse live kde

I have trouble booting from iso image. I loopback is, load kernel and initrd, then boot, but Suse waiting for something and shutdown.

I do not knowm how to specify root parameter to points to iso, etc. I read /boot/grub2/grub.cfg, but there was pointed up CDRom by label in root parameter.

My iso is under (hd0,gpt6)/slawomir/Pobrane/INSTALACJAKDE.iso. Can anybody specify commandline? I downloaded newest iso yesterday.

Does Ventoy earse partition table or only add bootloader to EFI partition?

Many Problems when using ventoy to write the ISO.

Try imagewriter from openSUSE.

Thanks.

The main problem is this laptop do not have CDRom drive and I do not take USB drive with me. I will came to home tomorrow, but it could be great to have working laptop today or tomorrow morning.

Laptop starts, but no SDDM. I must login in console and type startplasma-wayland. Btrfs partition (system) is read only. It also made internet resolver do not work, because it cannot wrote to /etc/resolv.conf .

I can start initrd from iso image and chroot to system by mounting loopback, bind mount proc,sys,dev. Chroot program resits on root image, not initrd, but it is a small program, so it works. I also must mount tmpfs to /var,/run and /tmp. I can start dbus-daemon, but startplasma-wayland complain it cannot communicate with dbus. FS of image on iso is read only, but ramdisk seems lack onionfs support to make thinks work. I also do not known, how to start installer (no /home/live/Desktop directory) and yast seems to have missing install module.

to be successful on installing to a USB you MUST copy the image to the USB as a binary unchanged copy to the device not to a partition on the device. Ventoy may make change to the image.

Tools for OSForensics - ImageUSB - Write an image to multiple USB Flash Drives is pure binary copy program.

You cannot. Live images are using kiwi dracut module which expects device, not image file. You will need to modify initrd to do something different.

Ok. I try to mount my fs with overlayfs, but programs points me it do not support overlayfs and cannot operate. How system mounts CD in read-write mode?

I also found dracut-mount are using 9p. When I try to mount 9p, it complains there was no channels.

It obviously does not. It enables persistent mode only when it detects writable device (USB storage). In which case it creates additional partition and is using it as backing store.

It mounts some layer on top of cdrom content. This layer is writable, but not persistent.

I remember, when I bought new laptop, I copy content of old using rsync or other tool, recreating initramdisk and install grub and I had old system on new laptop.
Calameres also copy livecd content. I am able to mount live content read-only, so I think to:

  1. copy fstab,passwd,shadow from old system
  2. format system partition as btrfs
  3. create and mount subvolumes
  4. copy live cd content
  5. restore fstab,passwd,shadow
  6. create initrd
  7. install grub2

everything seems be simple, but I do not know how to create standard(tumblewwed) btrfs subvolumes, Can anybody points me, how?

Ah, OK, it creates RAM disk (tmpfs).

i suppose, but it must use some onionfs (layered file system). When I use overlayfs, programs complain.

Probably I do not have to create tmpfs, sińce fs available just after boot (/) id writable.

I install system today. With help from Creating openSUSE-style btrfs root partition & subvolumes . But, Grub not working. I must start system by hand. I reinstall Grub2, but this did not help. I think I do mistake, when creating subvolumes or write /etc/fstab. I try to investigate.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.