-
Notifications
You must be signed in to change notification settings - Fork 68
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
strat: unable chroot() to /bedrock/strata/arch-arm #268
Comments
Very cool!
I've never seen that error actually trigger before, which is probably why the typo that dropped the word "to" from that error message has been able to stick around for so long.
This broadly makes sense.
Various distro packages add things like FWIW, I plan to completely rework this subsystem in Bedrock Linux 0.8 Naga so that it'll be both faster and more robust to this kind of failure mode.
While
|
Thanks for responding, this issue happens both with or without root. |
Not sure if this is helpful. but on this final line, it states
EDIT: inode 1 points to my fat32 partition /media/mezza/ADB5-5FB9
├── bootloader
│ ├── hekate_ipl.ini
│ ├── ini
│ │ └── L4T-bionic.ini
│ ├── nyx.ini
│ ├── payloads
│ ├── res
│ │ ├── icon_payload.bmp
│ │ └── icon_switch.bmp
│ ├── sys
│ │ ├── emummc.kipm
│ │ ├── libsys_lp0.bso
│ │ ├── libsys_minerva.bso
│ │ ├── nyx.bin
│ │ ├── res.pak
│ │ └── thk.bin
│ └── update.bin
└── switchroot
├── install
│ ├── l4t.00
│ └── l4t.01
└── ubuntu
├── bootlogo_ubuntu.bmp
├── boot.scr
├── coreboot.rom
├── icon_ubuntu_hue.bmp
├── Image
├── initramfs
├── overlays
│ ├── nfs.txt
│ ├── tegra210-icosa_emmc-overlay.dtbo
│ └── tegra210-icosa-UART-B-overlay.dtbo
├── tegra210-icosa.dtb
├── uenv_readme.txt
└── uenv.txt |
The way 0.7 Poki normally works:
(For anyone from the future, note just about all of this is expected to change in 0.8 Naga) My only guess is your effort to get Bedrock on the Switch resulted in breaking expectations around the first two bullet points above. Maybe If we don't figure this out and you throw in the towel, do note 0.8 plans include (re)introducing a non-hijack option that may be easier to get onto hardware that isn't amenable to hijacking. Consider revisiting this effort then. |
This was an issue with the I appreciate your help, I'll let you know if anything else goes wrong in the meantime! |
Nice, happy to hear it's now working :) |
Hi, I have installed bedrock Linux onto my Nintendo Switch running Ubuntu 18.04.6. I ran the aarch64 script, changed some switchroot bootloader configuration and was eventually able to boot into bedrock without any errors.
The problem arises after executing
brl strat arch-arm bash
. I get the following error:strat: unable chroot() to /bedrock/strata/arch-arm
This also terminates
/bedrock/run/profile
after boot, leaving the bedrock strata in a "broken" state untilbrl repair bedrock
is executed. This changes it back to "enabled" onbrl status
, but throwsERROR: unexpected error occured
(debug log here: https://pastebin.com/AidtX1uq)
I can run commands located in the arch-arm rootfs using
chroot /bedrock/strata/arch-arm/ bash
, but commands such assu
will instead returnstrat: unable chroot() to /bedrock/strata/ubuntu
.Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: