-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to use livefs-to-usb.sh #121
Comments
I'm afraid that's not quite as easy to reproduce as I'd like it to be. I can try to craft and upload an up-to-date usb version on my mirror if that helps. Do you have another Asahi installation on your machine or are you hoping to try Asahi without installing anything? Apple's bootloader can't natively boot from usb so you can't get away without installing at least the asahi boot chain up to u-boot. |
Currently I have only installed Asahi Linux UEFI to see the error. We even looked at the Asahi Linux Fedora USB. But what about Ubuntu? |
+ imnyang@localhost:~/ubuntu-asahi$ ./build.sh 516822
[info] Creating /home/imnyang/ubuntu-asahi/build/ubuntu.efi.img
mkfs.fat 4.2 (2021-01-31)
[info] Creating /home/imnyang/ubuntu-asahi/build/ubuntu.root.img
fallocate: fallocate failed: No space left on device
umount: /home/imnyang/ubuntu-asahi/build/mnt/var/cache/apt/archives: not found
umount: /home/imnyang/ubuntu-asahi/build/mnt/boot/efi: not found imnyang@localhost:~/ubuntu-asahi/scripts$ ./livefs-to-usb.sh 516822
[info] Creating live image
fallocate: fallocate failed: No space left on device
umount: /home/imnyang/ubuntu-asahi/build/mnt/var/cache/apt/archives: not found
umount: /home/imnyang/ubuntu-asahi/build/mnt/boot/efi: not found I'm trying it by referring to the Ubuntu build. |
I don't understand the meaning of build ID, how can I use this build.sh script? |
@uaysk I can't quite remember, but I know it's the build number posted on launchpad. Find the build ID by requesting it here. I think it would be good for your reference.
|
Sorry for taking so long to reply. Unfortunately launchpad is down right now but I can a bit of context. The ID indeed references a build on launchpad. My normal workflow looks like this:
Now there are a few problems: livefs-to-usb.sh probably needs an update, I haven't tried it in a while. I would like things to be easier to replicate. Providing a solution to build the livefs offline is on my todo list. In theory you could use one of my old builds and transform that into an usb disk, but launchpad deletes the build results after 2 days. After reading your previous messages I am also not sure if this is a solution that would actually work for you. Are you trying to test Ubuntu from USB without installing anything on your disk? Do you have another version of Asahi installed? Booting from USB unfortunately won't work unless you have at least the asahi boot chain up to u-boot installed. apple-boot doesn't support usb-boot at all. |
Thanks for your answer |
imnyang@ubuntu:~/ubuntu-asahi/scripts$ ./livefs-to-asahi.sh
[info] Creating /home/imnyang/ubuntu-asahi/build/ubuntu.efi.img
fallocate: cannot open /home/imnyang/ubuntu-asahi/build/ubuntu.efi.img: No such file or directory
umount: /home/imnyang/ubuntu-asahi/build/mnt/var/cache/apt/archives: not found
umount: /home/imnyang/ubuntu-asahi/build/mnt/boot/efi: not found Do you know how to solve this problem? |
Is it possible for someone to build a bootable ISO of UbuntuAsahi that we can just put on a usb stick (ventoy support would be nice) and then boot that Live USB version of UbuntuAsahi? It seems from what I've read in this thread that we'd first have add the U-boot modifications, but I already have a dual boot, I can boot AsahiLinux off a partition on m2 laptop, and I can boot Mac OSX off external USB even. Now I just want a way to boot LINUX off USB external SSD etc, whether a Live USB (volatile) or a full persistent install. |
Using Ventoy will be difficult. There will be a lot of mistranslations due to heavy reliance on translators. |
Great! Yes even if can only put "1 iso" on the USB that's fine, as long as there's a way to boot a Live USB, would be great. |
Does anyone know how to run this code?
I really want to use Asahi Linux via USB with Ubuntu.
The text was updated successfully, but these errors were encountered: