是否可以在同一pendrive上启动Raspberry Pi和PC的Ubuntu?

发布于 2025-02-08 16:36:00 字数 195 浏览 2 评论 0原文

我有一个从USB/SSD启动Ubuntu的Raspberry Pi 400。

我想知道是否有一种方法可以从同一pendrive启动,但是在PC上,当然,在该SSD上的其他分区上安装了X86-64的相应Ubuntu。

有了第三个数据分区,这将是两全其美的最好的,在需要更多的“权力”时,使用PI来轻松便携性,并且

有人尝试过这种事情吗?

I have a Raspberry Pi 400 booting Ubuntu from a USB/SSD.

I was wondering if there is a way to boot from same pendrive but on a PC, of course with a corresponding Ubuntu for x86-64 installed on a different partition on that SSD.

With a third partition for data, it would be the best of both worlds, using the Pi for easy portability and a PC when requiring more "power"

Anyone has experimented with such thing?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

绳情 2025-02-15 16:36:00

查看Berryboot,这可能会有所帮助。

如果那不起作用,请参见答案 https://raspberrypi.stackexchange.com/a/388888

否。您可以(我相信这是Berryboot可能会做的;我没有使用过)加载最小的根fs,可能是来自Initramfs,向用户提供选项,然后切换root Filesystem(这就是Initramfs内核的方法)总是这样),但显然涉及一些工作。
或者,您可以编写自己的引导加载程序代码,但这是更多的工作,可能需要一些专有知识(我不确定)。

另请参见 https://superuser.com/a/11520139/1167517 覆盆子Pi 3

明显的免责声明:使用引导文件非常危险,可能会导致不可引导驱动器。在执行此操作之前,请确保从SD卡备份文件。

Check out BerryBoot, that might help with that.

If that doesn't work, see answer https://raspberrypi.stackexchange.com/a/38888.

No. You could (I believe this is what something like berryboot probably does; I haven't used it) load a minimal root fs, possibly from an initramfs, present the user with options, and then switch the root filesystem (which is what initramfs kernels always do), but obviously there is a bit of work involved.
Alternately, you could write your own bootloader code, but this is even more work, and may require some proprietary knowledge (I'm not sure).

Also see https://superuser.com/a/1520139/1167517, which details how to boot from selected partition on a Raspberry PI 3.

Obvious disclaimer: Playing with boot files is highly dangerous and can cause a non bootable drive. Make sure to backup files from SD card before doing this.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文