gpt4 book ai didi

linux - Live USB Linux 在 USB 拔出时 hibernate/卡住

转载 作者:太空宇宙 更新时间:2023-11-04 03:44:15 24 4
gpt4 key购买 nike

我想将 Windows To Go 解决方案中存在的功能复制到 Ubuntu Linux ( https://technet.microsoft.com/en-us/library/jj592680.aspx#wtg_faq_surprise )

If the Windows To Go drive is removed, the computer will freeze and the user will have 60 seconds to reinsert the Windows To Go drive. If the Windows To Go drive is reinserted into the same port it was removed from, Windows will resume at the point where the drive was removed. If the USB drive is not reinserted, or is reinserted into a different port, the host computer will turn off after 60 seconds.

这意味着:我在 USB 内存棒上运行 Linux,如果我不小心拔掉 USB 内存棒,我希望它能够卡住。如果我重新连接它,Linux 将检测到它并恢复工作。任何人都可以指出一些执行该操作的指示吗?

提前致谢!

最佳答案

我猜这会比你想象的更困难,Linux 内核和其他系统需要知道在它发生时不要 panic 。 Windows 可能针对启动驱动器故障进行了更好的设置。

关于linux - Live USB Linux 在 USB 拔出时 hibernate/卡住,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28752526/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com