• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Kermion
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 8
    • Best 0
    • Controversial 0
    • Groups 0

    Kermion

    @Kermion

    0
    Reputation
    1
    Profile views
    8
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Kermion Unfollow Follow

    Latest posts made by Kermion

    • RE: Creating & deploying live OS

      @george1421 Hi, I`m sorry , i have attached wrong info and screenshot with video. It was a result of my attempts to boot from .tgz ubuntu which i found in an old sysadmin files, which very like a foreman tools.

      posted in Linux Problems
      K
      Kermion
    • RE: Creating & deploying live OS

      @kermion
      Now i get a help from LTSP , but still stuck with this:

      image (19).png

      and here is a video of boot process:
      [https://temp.sh/WAZio/Screen Recording 2022-08-16 at 22.08.18.mov](link url)

      posted in Linux Problems
      K
      Kermion
    • RE: Creating & deploying live OS

      @kermion
      61017f32-2bf0-4965-aef5-a8149298124d-image.png

      FYI , Both files uploaded succesfully.

      Trying to boot with

      kernel http://${fog-ip}/img/PopOS/linux/boot/vmlinuz
      initrd http://${fog-ip}/img/PopOS/linux/boot/initrfs.img
      imgargs vmlinuz initrd=initrfs.img root=http://${fog-ip}/img/PopOS/ load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 apparmor=0
      boot || goto MENU
      

      thought if it search in /linux, maybe http://${fog-ip}/img/PopOS/ will work. But no luck =(

      UPD: looking in /var/log/livedbg and found this errors
      f2e43b09-81f4-4a80-9d95-e78a88ee7508-image.png
      Maybe i need to somehow load aufs-dkms ,but i cannot find it for PopOS.
      Going to linux-live github to get some answers.

      posted in Linux Problems
      K
      Kermion
    • RE: Creating & deploying live OS

      @george1421
      Now it looks like OS structure from / ,except few directories and file named 01-core.sb(its a squashfs file with all of files in that dir)
      I dont know what i need to put in linux folder. Searching in linux-live sources for 'Looking for linux data" i found a file

      https://github.com/Tomas-M/linux-live/blob/master/livekitlib
      

      Looks like one of initial loaded files searching for /linux on mounted devices. This folder can be changed before creating clone of OS.

      posted in Linux Problems
      K
      Kermion
    • RE: Creating & deploying live OS

      @george1421 said in Creating & deploying live OS:

      ls -la /var/www/html/img/PopOS/linux/

      Arrgh, missed with replyed message.
      Here is a text version:

      ls -la /var/www/html/img/PopOS/linux/
      total 1878772
      drwxr-xr-x.  12 root root        192 Aug 15 21:14 .
      drwxr-xr-x.   4 root root         67 Aug 15 21:09 ..
      -rw-r--r--.   1 root root 1923846144 Aug 12 22:45 01-core.sb
      lrwxrwxrwx.   1 root root          7 Feb 19 09:27 bin -> usr/bin
      drwxr-xr-x.   3 root root       4096 Aug 13 01:41 boot
      drwxr-xr-x.   2 root root          6 Aug 12 22:08 changes
      drwxr-xr-x. 137 root root       8192 Aug 12 22:05 etc
      drwxr-xr-x.   3 root root         21 Aug 12 21:17 home
      lrwxrwxrwx.   1 root root          7 Feb 19 09:27 lib -> usr/lib
      lrwxrwxrwx.   1 root root          9 Feb 19 09:27 lib64 -> usr/lib64
      drwxr-xr-x.   2 root root          6 Aug 12 22:08 modules
      drwxr-xr-x.   2 root root          6 Aug 12 21:17 opt
      drwx------.   7 root root        176 Aug 12 22:02 root
      lrwxrwxrwx.   1 root root          8 Feb 19 09:27 sbin -> usr/sbin
      drwxr-xr-x.   2 root root          6 Feb 19 09:27 srv
      drwxr-xr-x.  14 root root        160 Feb 19 09:27 usr
      drwxr-xr-x.  14 root root        167 Aug 12 21:17 var
      

      Looks like /linux path hardcoded during cloning PopOS with a linux-live.

      posted in Linux Problems
      K
      Kermion
    • RE: Creating & deploying live OS

      @george1421

      @george1421
      HI,Thank you for help.
      Just tried to boot with your menu:
      0bc42aa5-56e9-4a74-aba5-a42292202bd4-image.png

      Files is already on place:
      edc5a798-8ff1-464f-9298-e01f7308aa26-image.png

      File 01-core.sb
      01-core.sb: Squashfs filesystem, little endian, version 4.0, xz compressed, 1923844258 bytes, 199253 inodes, blocksize: 1048576 bytes, created: Fri Aug 12 19:45:03 2022
      

      Also i re-read your message and extracted files from 01-core.sb in linux folder:

      [root@fog linux]# ls -al
      total 1878772
      drwxr-xr-x.  12 root root        192 Aug 15 21:14 .
      drwxr-xr-x.   4 root root         67 Aug 15 21:09 ..
      -rw-r--r--.   1 root root 1923846144 Aug 12 22:45 01-core.sb
      lrwxrwxrwx.   1 root root          7 Feb 19 09:27 bin -> usr/bin
      drwxr-xr-x.   3 root root       4096 Aug 13 01:41 boot
      drwxr-xr-x.   2 root root          6 Aug 12 22:08 changes
      drwxr-xr-x. 137 root root       8192 Aug 12 22:05 etc
      drwxr-xr-x.   3 root root         21 Aug 12 21:17 home
      lrwxrwxrwx.   1 root root          7 Feb 19 09:27 lib -> usr/lib
      lrwxrwxrwx.   1 root root          9 Feb 19 09:27 lib64 -> usr/lib64
      drwxr-xr-x.   2 root root          6 Aug 12 22:08 modules
      drwxr-xr-x.   2 root root          6 Aug 12 21:17 opt
      drwx------.   7 root root        176 Aug 12 22:02 root
      lrwxrwxrwx.   1 root root          8 Feb 19 09:27 sbin -> usr/sbin
      drwxr-xr-x.   2 root root          6 Feb 19 09:27 srv
      drwxr-xr-x.  14 root root        160 Feb 19 09:27 usr
      drwxr-xr-x.  14 root root        167 Aug 12 21:17 var
      [root@fog linux]# pwd
      /var/www/html/img/PopOS/linux
      

      Doesnt work- the same error - Couldnt locate linux data. Im thinking is why there is a /linux - like it searching in linux folder in root.Also i cannot change this dir with
      “root=http://${fog-ip}/img/PopOS/linux/” even if im putting “root=http://${fog-ip}/img/PopOS/linux/BLABLA” it searching in /linux anyway.

      posted in Linux Problems
      K
      Kermion
    • Creating & deploying live OS

      Hello, i want to deploy live image via fog and ipxe, so i have created a clone from working OS with “Linux-live” and now i have iso with such structure

      ls -l
      total 1878760
      -rw-r–r–. 1 root root 1923846144 Aug 12 22:45 01-core.sb
      drwxr-xr-x. 3 root root 4096 Aug 12 22:08 boot
      drwxr-xr-x. 2 root root 6 Aug 12 22:08 changes
      drwxr-xr-x. 2 root root 6 Aug 12 22:08 modules

      ls -l boot
      total 24240
      -rwxr-xr-x. 1 root root 1292 Aug 12 22:08 bootinst.bat
      -rwxr-xr-x. 1 root root 1236 Aug 12 22:08 bootinst.sh
      -rw-r–r–. 1 root root 7336 Aug 12 22:08 bootlogo.png
      drwxr-xr-x. 3 root root 18 Aug 12 22:08 EFI
      -rwxr-xr-x. 1 root root 208480 Aug 12 22:08 extlinux.x32
      -rwxr-xr-x. 1 root root 209424 Aug 12 22:08 extlinux.x64
      -rw-r–r–. 1 root root 12202288 Aug 12 22:08 initrfs.img
      -rw-r–r–. 1 root root 40960 Aug 12 22:08 isolinux.bin
      -r–r–r–. 1 root root 2048 Aug 12 22:59 isolinux.boot
      -rw-r–r–. 1 root root 116552 Aug 12 22:08 ldlinux.c32
      -rw-r–r–. 1 root root 181944 Aug 12 22:08 libcom32.c32
      -rw-r–r–. 1 root root 23628 Aug 12 22:08 libutil.c32
      -rw-r–r–. 1 root root 440 Aug 12 22:08 mbr.bin
      -rw-r–r–. 1 root root 46909 Aug 12 22:08 pxelinux.0
      -rw-r–r–. 1 root root 457 Aug 12 22:08 syslinux.cfg
      -rw-r–r–. 1 root root 126511 Aug 12 22:08 syslinux.com
      -rw-r–r–. 1 root root 243712 Aug 12 22:08 syslinux.exe
      -rw-r–r–. 1 root root 26684 Aug 12 22:08 vesamenu.c32
      -rw-------. 1 root root 11342464 Aug 12 22:08 vmlinuz

      Anyone have an idea or experience with such thing?
      Even dont know from what to start to try and what to add to ipxe menu.

      I have an update:
      1.
      Simple string =>
      sanboot http://${fog-ip}/img/PopOS/popos_live.iso
      shows me an error:
      looking for linux data in /linux…
      Fatal error occurred Couldnt locate linux data

      kernel http://${fog-ip}/img/PopOS/linux/boot/vmlinuz
      initrd http://${fog-ip}/img/PopOS/linux/boot/initrfs.img root=http://${fog-ip}/img/PopOS/linux/ load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 apparmor=0 debug
      boot || goto MENU

      Kernel Panic -not syncing : VFS unable to mount rootfs on unknown-block{0,0}


      Looks like something wring with rootfs. Anyway it should loads properly with Menu 1 =(
      will try later , any advices?

      posted in Linux Problems
      K
      Kermion