Linux子系统换arch的一些问题

1.关于你要提交的问题

Q:是否在社区搜索了相关问题 (使用 “x” 选择)

  • [ ] 没有类似的issue

2. 详细叙述

(1) 具体问题
执行指令bash /usr/bin/run_container.sh --container_name arch --user 你的用户名 --lxd_image archlinux/current --lxd_remote 时出现问题,我无法独立解决,以下是相关报错

A:(termina) chronos@localhost ~ $ bash /usr/bin/run_container.sh --container_name arch --user 3391146750@qq.com --lxd_image archlinux/current --lxd_remote https://mirrors.tuna.tsinghua.edu.cn/lxc-images/
run_container: warning: run_container.sh is deprecated and will be removed
run_container: warning: use vmc container from crosh instead
run_container: warning: container token not supplied; garcon may not function
run_container: info: Container ‘arch’ does not exist; creating from ‘archlinux/current’ on https://mirrors.tuna.tsinghua.edu.cn/lxc-images/
Error: Get “http://unix.socket/1.0”: dial unix /mnt/stateful/lxd/unix.socket: connect: no such file or directory
run_container: error: Unable to create container from image ‘archlinux/current’

(2) 电脑具体配置和固件版本

  • 处理器:i7-1260p
  • 显卡(如有独立显卡请注明):iris Xe
  • 运行内存与储存内存 :16+1024/512 for fyde
  • FydeOS 版本:16.1

建议重装 Linux 子系统,再重新多执行几遍此命令

好的

(termina) chronos@localhost ~ $ bash /usr/bin/run_container.sh --container_name arch --user 3391146750@qq.com --lxd_image archlinux/current --lxd_remote https://mirrors.tuna.tsinghua.edu.cn/lxc-images/
run_container: warning: run_container.sh is deprecated and will be removed
run_container: warning: use vmc container from crosh instead
run_container: warning: container token not supplied; garcon may not function
run_container: info: Container ‘arch’ does not exist; creating from ‘archlinux/current’ on https://mirrors.tuna.tsinghua.edu.cn/lxc-images/
Creating arch
Error: Failed to add device “container_token”: Missing source path “/run/tokens/arch_token” for disk “container_token”
run_container: error: Failed to add container token

是不是玩chromebrew把系统玩坏了,你换个新账号了么:face_with_peeking_eye:

不知道,过一阵子还不行我重装试试

找到问题了,qq邮箱数字开头导致的问题

QQ邮箱导致的问题,因为QQ是数字开头

现在问题来了,怎么把一个用户的数据完整的转到另一个用户下

或者,怎么换邮件

你换linux的用户名就行,在打开linux的时候就有提示,linux用户名需要小写字母开头

容器装arch的时候要求必须用跟主系统一样的用户名(就是邮箱),如果是qq的话就会提示badname,用其他的就会失败

那邮箱换不了好像,你只能创建个新的本地账号了

本地帐号一遍过,但是我不太可能换帐号,因为新版本的备份工具必须包含账户