ghostplant

Results 272 comments of ghostplant

Additionally, you can also change the parallel option for every different iteration. e.g. https://github.com/microsoft/tutel/blob/main/tutel/examples/helloworld_switch.py#L88 The value of `adaptive_r` varies from 0 to max(1, [Total GPU Count / Total Expert Count])

@risacher I think it is also a good choice. This version is suitable for micro service without install OpenSSH inside docker image and starts both of services. In terms of...

不常用的功能自行安装就可以了,否则 PE 体积太大:sudo apt update && sudo apt install adb fastboot

这种情况一般会发生在刻录USB不完整:刻录不完整导致引导时磁盘驱动丢失,最简单的验证方式是在Grub2通过“硬盘启动ISO”命令来验证是否可以进入桌面,如果可以,说明刻录USB过程出现了不完整、或者是错误的刻录方式,请使用良好的USB、正确的刻录方式刻录ISO,并务必等待刻录过程完整结束。 “硬盘启动ISO”方式说明: 1、把ubuntu-pe.iso放到任意分区的“根目录”,同一根目录创建一个空文件(比如命名为 default.txt): 2、在Grub2中键入如下命令,来直接启动ISO: ``` $ search --set -f /default.txt $ loopback lo /ubuntu-pe.iso $ linux (lo)/casper/vmlinuz boot=casper iso-scan/filename=/ubuntu-pe.iso $ initrd (lo)/casper/initrd.img $ boot ```

请问你是dd或者upe2usb刻录的吗?三方刻录方式(如ventoy)可能无法正确按照ubuntu pe需要的引导设置来启动

推荐upe2usb,这样可以把USB剩余空间利用起来。dd也行,只是没有USB剩余空间。 可以dd安装完后,USB启动桌面,插入另一个USB,然后在Ubuntu PE里面可以upe2usb方式写入ISO到第二个USB

或者您需要在ventoy里面改一下grub2配置,让它能启动正确的设备,参考:https://github.com/ghostplant/ubuntu-pe/issues/47

即使不改任何config,似乎标准Ventoy的“Boot in grub2 mode”是可以成功启动,有试过吗?

这个版本应该fix了efi for usb/cdrom的引导问题:https://github.com/ghostplant/web-ubuntu-os/releases/download/ubuntu-20.04/focal-mate-x86_64-20220112.iso

目前脚本只处理了这两种情况:传统组合(dos分区格式 + bios mbr引导),或者GPT组合(gpt分区格式 + bios efi引导),如果你的bios设置的是efi引导,脚本应该是支持安装的。