2025-04-01
02:07tobhe has joined #ubuntu-asahi
02:14tobhe_ has quit [Ping timeout: 480 seconds]
09:59number0ne_ has joined #ubuntu-asahi
10:05number0ne_ has quit [Quit: Konversation terminated!]
15:06Paul[m] has joined #ubuntu-asahi
15:06Paul[m]I'm trying to boot to an external USB stick (with https://tg.st/u/asahi-debian-live.tar extracted to it).... (full message at <https://matrix.org/oftc/media/v1/media/download/ARe17elCCowYElKbO2X2ofbjgbZQvbOxTS_1Rt8gk3WlRIMM8i0JfAupIb6ZtiDVC37VjVf0c6BDUlPuc2zO9nVCeWOfxaLgAG1hdHJpeC5vcmcvZmd1amFRcVJ0SGxZR3dTamllZXZOcHFv>)
15:06Paul[m]The goal for all of that is to resize my Ubuntu partition to make it bigger after I resized down my macOS partition
15:07Paul[m]Not sure if relevant but I'm on a Mac Mini M1 and the debian live is on a USB key connected to a USB-A port of my Mac Mini
15:26Paul[m]That's pretty weird btw because the U-Boot documentation for that version mentions `bootcmd_usb0`: https://docs.u-boot.org/en/v2024.04/develop/distro.html#:~:text=run%20bootcmd_usb0%20boots%20from%20the%20first%20usb%20mass%20storage%20device
15:32Paul[m]Not sure if relevant but here is what the `env` command returns:... (full message at <https://matrix.org/oftc/media/v1/media/download/AaYk51UvhWFPTa4Nx6qA2oulznU42zhLsQioEyC4rl29ReNv0WHYIMlFXfOBUVs4gp3zxzqBbPTX3c6c-5q2Ov1CeWOhTutgAG1hdHJpeC5vcmcvb05CSmlHV2NZVmp4dU5kdlZ2YkhGVFZK>)
15:40* Paul[m]uploaded an image: (2406KiB) < https://matrix.org/oftc/media/v1/media/download/ASAl78iygtuu2Uwzy7v3RoWVDSUbwUFNALqOEp7IQto3vQ383BMJG2jiDaPnncu0J2LVgx9eAbckvKNctype3YNCeWOhwt1AAGxvY2FsLmJlZXBlci5jb20vcGF1bC1kZS10ZXJyYXNzb25fdjcyd1N6WXc2QlFLTVMzSkhNZGs2R3FRbkJITTh3OE5RZjhLNDhWRTdkaE9uc3RoWVFwYW1BNXB5eDNVT2NkUw >
15:42Paul[m]ChatGPT is actually pretty good at it:... (full message at <https://matrix.org/oftc/media/v1/media/download/AYo78p8dddjfaxkXtUubHO3Tlg1Edi1bukTEhLaSZAXW9vRJvT70Y4QFh98bPKPMSM7KhSbFThK6gPbJcC3cERlCeWOh1vxwAG1hdHJpeC5vcmcvT1VmUEpjUGdXU1NickVUWkRMS3hBS2dP>)
15:49* Paul[m]sent a code block: https://matrix.org/oftc/media/v1/media/download/AQXBI1s01zuCtGosC-V1UxN60R7nem07QGFE05Zmoc1U3rdwvd2HNoETTuu0wPYVCtbcsfnvTUUhqJ_pU0bcStNCeWOiPAkQAG1hdHJpeC5vcmcvbXFuQ1NJeVZRVGtTZlNLUmtJV2FCY2tw
15:49Paul[m]Now it's showing this:... (full message at <https://matrix.org/oftc/media/v1/media/download/ATOOpTvCsGkwj8eC7K3Tj2XX4hpTLy3ULIapVaMQFCy0kBD0ZKZcYBcrssEHdeC661rXwoMv4EQdUgNOmLSjlHZCeWOiRowgAG1hdHJpeC5vcmcvb2lub1RnYWJPWkpTSXpBR3BMV3RVZ1BW>)
15:54tobhe[m]I guess try bootflow scan without -b and then try to use bootflow to select the correct entry and boot that directly
16:08* Paul[m]uploaded an image: Then it booted to GRUB shell (6780KiB) < https://matrix.org/oftc/media/v1/media/download/ATTbbhMnXK6y5IcCr3YubMw6AdmPZ-twxiU0WEIXwrPgG5Aa_QrZIZrk5grN0ZP5qtWDkRpd3sYfTHrR5_Q_vK5CeWOjVZUQAGxvY2FsLmJlZXBlci5jb20vcGF1bC1kZS10ZXJyYXNzb25fQ2RScGtqZ2R1VTkzZ1hQN3ZDQUZlb0duS2lKVThzOExCWkdTUHNSdUY4azdvNEpCdm1jaEFNdXkwaGMxdVNINQ >
16:12Paul[m]Ah we don't see it in that screen shot but I ran bootdev list and then bootdev select 4 before bootflow scan, bootflow list, bootflow select 0andbootflow boot`
16:14Paul[m]That's after that point that it showed a GRUB shell, dunno which one is it (from the USB key or not). Not sure how to open a GRUB menu from there
16:24* Paul[m]uploaded an image: I did this then ran `boot` (5689KiB) < https://matrix.org/oftc/media/v1/media/download/ATFunUgiEy4kpAd7TTcIBLiafhQKz3QR44pldAEIsz57n-H-cVnud-STiuici1OQGaYiop29g1NiG3wRFqOqsH9CeWOkSBGgAGxvY2FsLmJlZXBlci5jb20vcGF1bC1kZS10ZXJyYXNzb25fWTNqR05iM0lXd1V6NzZKYXhSWlVJMTg2WXcxbncxbmVhY2ZpU3JWUWJpSG9vY0htYU1ncHFSemtSWHY4R3lBbg >
16:31Saviq[m] has joined #ubuntu-asahi
16:31Saviq[m]32GB for Server!? ;)... (full message at <https://matrix.org/oftc/media/v1/media/download/AQtpwTbIguIP3Jd2zBcGD78At0xiCP1rW1HKi8nJes0KIXmII28cXUhHlsCutUbDfvXIWl0UxYREQe6hbvaPgupCeWOkpRjwAG1hdHJpeC5vcmcvWEdiY09halJQdHRZUGRnWG1ZcEZ6T1hN>)
16:40tobhe[m]I still wonder if the problem might just be that u-boot doesn't like that particular drive
17:32tobhe[m]we usually build there and then copy to the regular ppa once we are confident nothing breaks
17:42tobhe[m]you could just download the deb via the web interface and install it via apt install or dpkg -i
17:43tobhe[m]or add the ppa raise the priority to 1001 in /etc/apt/preferences.d/ubuntu-asahi.pref and the update
17:50tobhe[m]Saviq: I wonder if we could actually just write the ISO to disk and then have it install over itself
18:06tobhe[m]Paul: download link would be https://launchpad.net/~ubuntu-asahi/+archive/ubuntu/ubuntu-asahi-next/+files/u-boot-asahi_2024.10-1ubuntu0.1~asahi1_arm64.deb
18:14Paul[m]Cool let's see!... (full message at <https://matrix.org/oftc/media/v1/media/download/ARw3lk7tBng2b9vPM1D5f55xO3sCeABOxfJslC5_OSzM9Vd9Z441hClD5LO2hlHw7rthVnIIs3IZrClebvZdPu9CeWOqkahwAG1hdHJpeC5vcmcvUklFUXR4Z2hPaFNNRkRtY1lwakFPcWlk>)
18:16* Paul[m]uploaded an image: Here is what I see... Interestingly both `usb 1` and `usb 0` bring me to a GRUB shell (5283KiB) < https://matrix.org/oftc/media/v1/media/download/AR7tW4h_B0mWlHuoLaq7XCgRug1OTUhsemCOxvpHV9gjX8p_BbZnTQKvqX8N487Vrk4lGuf5TJVuHK9RIs7a4ZFCeWOqsmlQAGxvY2FsLmJlZXBlci5jb20vcGF1bC1kZS10ZXJyYXNzb25fRUM2SFZ2TUw1V1ZGUDdnMjZmWFZkZEZqRjlqTzY2QTN6VElIbFZuQnVwcXd2QjhxZlBDM3d2eGsxRlpWYnlTTQ >
18:21* Paul[m]uploaded an image: (5705KiB) < https://matrix.org/oftc/media/v1/media/download/AU40fjSLzsnUFNf_5F1tnJM3QO5y02aDS-XFYYoKFBl_RjnagwiSYBf0RWx8WQGhLYC97gtI0OM47J6YkLawNt5CeWOq9iLwAGxvY2FsLmJlZXBlci5jb20vcGF1bC1kZS10ZXJyYXNzb25feWhqTWFjSkJDYjFrVmpIaUNld29YbXB3QVFzNVN4a1B2MHNCak1OcVZQM1dOcFFMQ3BVcVJuN0t6T2I2d0lyUQ >
18:27* Paul[m]uploaded a video: hmm there is some error that shows up for a split second (1180KiB) < https://matrix.org/oftc/media/v1/media/download/AcK-TEVc53rwefiJygOf_h5b-k4qj-6Fztovlbu6YPUDhqYtStsmJ_oYCKGy91DBnicQjyo4hNq06rOtee5xfNJCeWOrUw9QAGxvY2FsLmJlZXBlci5jb20vcGF1bC1kZS10ZXJyYXNzb25fYzNPcldMWWVoWW5XbVIxNFF6cUlHa2dGN1ltbFpxbUFpTWtuMUVpcHUySDJSeDNraUwwMVdDVEF4akpkcXBlWg >
18:27* Paul[m]uploaded an image: (403KiB) < https://matrix.org/oftc/media/v1/media/download/AeWE3lJ1zdTTEmfJr0VESZcPMCizkznb8SleWmPhZssa7OQLjcumhcxT38zA2_oth0z1NTJCyTOuaS-kZeX8wE9CeWOrU28AAGxvY2FsLmJlZXBlci5jb20vcGF1bC1kZS10ZXJyYXNzb25fMjh4RmgxRkRtUUNkV3dOeUFkdWhNOTFaMEFWWWVjdUE1OTQ2UTFvVWVqOXBvQmVzcHM4bTRhV2N0Q1dTdUZORA >
18:27* Paul[m]uploaded an image: (246KiB) < https://matrix.org/oftc/media/v1/media/download/AVDJBhYOSDVUmmvaYbhvlX2_MPa-Jj7Z9PzGTgAi8L8YciG63obxbkM1K8-d6RsIHSYqVOs2jWFQM7ANYLOI_xNCeWOrU5GQAGxvY2FsLmJlZXBlci5jb20vcGF1bC1kZS10ZXJyYXNzb25fSEZLb3FSQVdHTUFMbE1Oc2Mxdm9MVlhBT0wzSWNJNEN3TVdLTnB3ZnlOcDRiQnJ4SmxINzNDTUFEaE1hcHEyRg >
18:31* Paul[m]uploaded an image: (137KiB) < https://matrix.org/oftc/media/v1/media/download/AaONlVY2unq3snrZoaOEeqJWcTsRDSnaH1bw4YoYInRpShNzB3odMc5bWAh1I33LGYL_3AWzcEN3J2qQevkDeX9CeWOrg-5wAGxvY2FsLmJlZXBlci5jb20vcGF1bC1kZS10ZXJyYXNzb25fbngzSFhmYjZXUTI0NTFwOVVEWVAwTzdWcGZJZUNXRDlMQUo4RTNvYU5pYTc3REhoWTRSTWhrSkx1QlQ3Yms1dg >
18:39Paul[m]When you can see from the GRUB shell that then opens that that is clearly no (hd0,msdos1) but (hd3,msdos1)
18:39* Paul[m]uploaded an image: (4028KiB) < https://matrix.org/oftc/media/v1/media/download/ARV6RLiNZf_tsGI3xHwkfF5qPAja5IR8JHajv64iz1cQRwvlaRH_G9r3_YRFrWS3qxEX48hp-HUOtv47MjiiVaJCeWOsA6ggAGxvY2FsLmJlZXBlci5jb20vcGF1bC1kZS10ZXJyYXNzb25fYzg5Ujh5SlY4OGxNZUJkSGpwMFNNQkQyc2lmYjFVWG5aaTZ5ZUp5S1FYWE9nTWhuZDVnaFZxczVHcUNNNmM5UA >
18:40Paul[m]When you can see from the GRUB shell that shows up immediately afterwards that there is clearly no (hd0,msdos1) but (hd3,msdos1)
18:40Paul[m]When you can see from the GRUB shell that shows up immediately afterwards that there is clearly no (hd0,msdos1) but there is a (hd3,msdos1)
18:51checkfoc_us9 has quit []
18:54checkfoc_us9 has joined #ubuntu-asahi
19:03checkfoc_us9 has quit []
19:03checkfoc_us9 has joined #ubuntu-asahi
19:21Paul[m]Ah yeah the `asahi-debian-live` image has the file `efi/debian/grub.cfg` that contains this:... (full message at <https://matrix.org/oftc/media/v1/media/download/AVm4mx-Zv1ijBGtKr0RM97OKTGRls54iZsxD1HXOATf-IDQ7xkqVCgxa3Qf847JFeqGo9TTK2o2Uuiv6nUI9NDZCeWOuauTgAG1hdHJpeC5vcmcvUGZkZERjU3hPc29pU1ZWZkx5SmhGY2Zu>)
19:23Paul[m]But either way if I manually write `linux (hd3,msdos1)/vmlinuz` as I did before it doesn't work
20:17Paul[m]@tobhe I'll try this one: https://github.com/UbuntuAsahi/ubuntu-asahi/issues/126#issuecomment-2368018367
20:18Paul[m]sudo dd if=Downloads/ubuntu-24.04-preinstalled-desktop-arm64+asahi.img of=/dev/rdisk12 bs=1m is the right way to go, right? Running this from a macOS computer
20:24Paul[m]I ran `bootmenu` from U-Boot and chose the USB device. It then showed `Booting: usb 0` and then promisingly showed some Ubuntu splash/loading screen with animation that looked different from the one I'm used to with Ubuntu server. After a while it just rebooted unfortunately
20:31Paul[m]I looked around but the biggest USB key I could find is 8 GB, which I guess won't be enough (at least for the Ubuntu live image)
20:31tobhe[m]so I think you could just run lsblk --fs to find the fs-uuid of the file system on your usb drive
20:32tobhe[m]and then:... (full message at <https://matrix.org/oftc/media/v1/media/download/Ae8wfED1HfRkodwCUZg87zrsrXUmqmxB1d9ESUkvLu0TEc34RJjgiSSv-LpeegItxGRo4xZWxmPNSTjSiXXNGPRCeWOyblIgAG1hdHJpeC5vcmcvSUpFRE5yclRTdHZBakx0SWtWT2lyZHds>)
20:41Paul[m]<tobhe[m]> "and then:..." <- Replace `efi/debian/grub.cfg` on my Debian USB key with this right?
20:59Paul[m]Is it still necessary to run update-m1n1 at all or is this already done in the triggers of the U-Boot DEB you sent me?
21:05Paul[m]Related: https://discussion.fedoraproject.org/t/inconsistent-failure-to-boot-after-update/117784/2
21:37Paul[m]Now I have some abort_td: Expected a TRB_TRANSFER TRB first as well (whichever comes first)