Forums

Resolved
0 votes
i don't want to dd iso to my whole usb disk.
i always try to boot iso from grub. both in hard disk and usb flash disk.
but with clear livecd , what's the cheat code to tell the kernel where the iso is ?
this is something like iso-scan for ubuntu, img_dev for arch, etc.

i've spend seral hours to try to boot the iso file, but always faild by receive this report:
failed to find the installer media.
i even tried to extract the iso to a partition.still faild.

currently my grub menu is :


menuentry "clear linux EFI"{
search --label --set "nvKubVar"
chainloader /EFI/BOOT/BOOTX64.EFI
}
menuentry "clear linux x64 livecd" {
set isofile="/iso/clear-32820-live-desktop.iso"
search --no-floppy -f --set=root $isofile
probe -u $root --set=uuid
loopback loop $isofile
linux (loop)/kernel/kernel.xz root=PARTUUID=$uuid lang=zh_CN console=tty0 console=ttyS0,115200n8 cryptomgr.notests init=/usr/bin/initra-desktop initcall_debug intel_iommu=igfx_off kvm-intel.nested=1 no_timer_check noreplace-smp page_alloc.shuffle=1 rcu_nocbs=0-64 rcupdate.rcu_expedited=1 rootfstype=ext4,btrfs,xfs,f2fs tsc=reliable rw rootwait
initrd (loop)/EFI/BOOT/initrd.gz
}
Tuesday, April 14 2020, 02:33 PM
Share this post:
Responses (2)
  • Accepted Answer

    Tuesday, April 14 2020, 11:24 PM - #Permalink
    Resolved
    0 votes
    thans for your advice,i've also tried the one for centos,not work too.

    i said to the kernel:
    root=live:LABEL=MYVOL
    liveimg
    live_dir=/iso/


    MYVOL is the partition label, /iso is the dir where the iso file was placed.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, April 14 2020, 08:30 PM - #Permalink
    Resolved
    0 votes
    You may need to search on the Centos forums for this as they have a wider user base. Anything which works for booting Centos should work for booting ClearOS.
    The reply is currently minimized Show
Your Reply