切换导航
新动弹计划
搜索
文章
动弹
排行榜
登录
注册
×
搜索
文章
动弹
热门关键词
重读《掌控习惯》
ChatGPT
Docker
Laravel
读书
跑步
#daily tips#
#稍后阅读#
Falcon
主页
文章
动弹
冒泡
文集
Falcon
2023-12-11 08:16
冒泡
在cloudcone给ubuntu升级内核,完成后重启进入不了系统,在vnc看到 kernel panic:
unable to mount root fs on unknown-block
通过救援模式,死马当活马医我还拉回来了并且切换到了最新的内核,核心命令就是进入救援 rescue 模式后,其实rescue是另外一个linux系统,跟原系统不一样。
fdisk -l 查看原来系统盘的设备,如/dev/vdb1
挂载并chroot,这样就相当于使用了原系统的环境。
$ sudo mount /dev/vdb1 /mnt
$ sudo mount --bind /dev /mnt/dev
$ sudo mount --bind /dev/pts /mnt/dev/pts
$ sudo mount --bind /proc /mnt/proc
$ sudo mount --bind /sys /mnt/sys
$ sudo chroot /mnt
然后执行 update-initramfs -u -k 5.15.0-91-generic
5.15.0-91-generic 为/boot下的看到的内核文件之一,是我新升级的内核。
有警告时忽略。
最后执行: update-grub
参考:
https://www.geekswarrior.com/2019/07/solved-how-to-fix-kernel-panic-on-linux.html、
但是我后来发现,可能在重新前执行一下
dpkg --configure -a
就可以了,因为这条命令自动更新了很多启动相关的信息。
See system logs and 'systemctl status snapd.mounts-pre.target' for details.
Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 142.
Setting up ubuntu-server-minimal (1.481.1) ...
Setting up linux-image-5.15.0-91-generic (5.15.0-91.101) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.15.0-46-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.15.0-46-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-5.15.0-91-generic
I: /boot/initrd.img is now a symlink to initrd.img-5.15.0-91-generic
Setting up linux-modules-extra-5.15.0-91-generic (5.15.0-91.101) ...
Setting up linux-image-generic (5.15.0.91.88) ...
Setting up linux-modules-5.15.0-91-generic (5.15.0-91.101) ...
Setting up linux-generic (5.15.0.91.88) ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...
Processing triggers for rsyslog (8.2112.0-2ubuntu2.2) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for plymouth-theme-ubuntu-text (0.9.5+git20211018-1ubuntu3) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for install-info (6.8-4build1) ...
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-91-generic
I: The initramfs will attempt to resume from /dev/vda2
I: (UUID=2eafbaba-93ab-4336-8fcc-ba5e0a86aec4)
I: Set the RESUME variable to override this.
Processing triggers for linux-image-5.15.0-91-generic (5.15.0-91.101) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-91-generic
I: The initramfs will attempt to resume from /dev/vda2
I: (UUID=2eafbaba-93ab-4336-8fcc-ba5e0a86aec4)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-91-generic
Found initrd image: /boot/initrd.img-5.15.0-91-generic
Found linux image: /boot/vmlinuz-5.15.0-46-generic
Found initrd image: /boot/initrd.img-5.15.0-46-generic
Found linux image: /boot/vmlinuz-5.15.0-43-generic
Found initrd image: /boot/initrd.img-5.15.0-43-generic
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done
0 赞
暂无评论
查看
Falcon
2023-12-11 03:15
冒泡
#daily tips#
国内加速github的一个网站:
https://github.ur1.fun/
写入github地址后会得到一个克隆版的github repo,此时按github上的操作git clone即可。
或者在本地配置:git config --global url."
https://github.ur1.fun/".insteadOf
"
https://github.com/"
0 赞
暂无评论
查看
Falcon
2023-12-11 02:44
冒泡
docker-compose.yml 中,如果image中带上 sha256 , 使用docker compose 启动就不会联网检查是否有新版本。
如:mysql:
8.0.33@sha256
:xxxxxx
0 赞
暂无评论
查看
Falcon
2023-12-10 15:57
冒泡
发现另一个不错的laravel后台组件,文档很完整
https://backpackforlaravel.com/
0 赞
暂无评论
查看
Falcon
2023-12-10 07:37
冒泡
#ChatGPT#
#daily tips#
可以免费使用chatgpt4的网站
https://www.forefront.ai/
免费版不能使用gpt4了,但可以自定义机器人,这个可以探索一下
https://ora.ai/create
0 赞
暂无评论
查看
Falcon
2023-12-10 07:24
冒泡
#daily tips#
以图搜图或视频的网站和插件
1.以图搜视频
https://xslist.org/zh
2.TinEye
https://tineye.com/
3.以图搜动漫
https://trace.moe/
4.Search by Image 各大搜索引擎以图搜索集合
https://chrome.google.com/webstore/detail/search-by-image/cnojnbdhbhnkbcieeekonklommdnndci?utm_source=chrome-ntp-icon
0 赞
暂无评论
查看
Falcon
2023-12-10 04:12
冒泡
GitHub挂了?
0 赞
暂无评论
查看
Falcon
2023-12-10 02:13
冒泡
除了视频质疑之外,也有用户在使用中发现,在一些情况下,Gemini并没有正确反映真实的情况,例如,有用户测试后发现,对于2023年奥斯卡获奖者,Gemini Pro错误地表示最佳男主角是布兰登·格里森(Brendan Gleeson),而不是真正的得主布兰登·弗雷泽 (Brendan Fraser)。而当被要求给出6个字母的法语单词时,Gemini Pro给出了错误答案。
此外,Google援引的MMLU测试表格显示,在Gemini Ultra 90.0%的分数下面标有
CoT@32
,也就是“使用了思维链提示技巧、尝试32次选最好样本”;而GPT4 86.4%分数下却是5-shot。测试还显示Gemini Ultra对于GPT4只有几个百分点的微弱优势,但GPT4的发布时间早于Gemini半年以上。
在使用行业标准5-shot MMLU的情况下,HuggingFace技术主管Philipp Schmid根据技术报告中的数据重新分析并得出结论:假设使用5-shot,Gemini的得分实为83.7%,而非90.0%;GPT4则取得86.4%的得分。
对于视频造假质疑,一位AI行业从业者对第一财经记者表示,尽管官方声称是为了简洁展现而缩短了时间,但从官方后续的博客描述来看,此前的演示视频确实存在一定的误导性,会让外界误认为Gemini的响应和交互速度、准确性如视频所演示的那样,但其实它并未展示出全部的真实。
也有投资人表示,这或许也反映出新一波AI浪潮之下Google的焦虑。此前凭借AlphaGo在围棋领域的表现,Google在全球掀起了一波AI浪潮。但这一轮AI新浪潮的风头却被OpenAI的ChatGPT抢走,Google需要一款现象级AI产品来证明自己在人工智能领域的实力。毕竟产品的真正实力不能只看宣传片,更重要的还是在实际应用中的比试,届时用户将“用脚投票”。
0 赞
暂无评论
查看
Falcon
2023-12-09 15:32
冒泡
求某个内网 ip 映射到 localhost 的方法
比如:
http://10.16.22.23:3001
映射到
http://localhost:3001
>目标是 IP ?直接把 IP 配到 lo 上呗……
ip add 10.xxx lo
0 赞
暂无评论
查看
Falcon
2023-12-08 16:39
冒泡
折腾两天,终于做了一个webstack的docker 镜像并且部署到okteto上了,使用了最新WebStack-Laravel项目上的最新源码,运行环境是Apache而不是php内置服务器,性能要好一点。使用sqlite方便备份,不用mysql。
演示地址:
https://wsl-falconchen.cloud.okteto.net/
Github repo:
https://github.com/falconchen/webstack-rev/
0 赞
暂无评论
查看
70
71
72
73
74