页次: 1
设备处在有公网,但没有DHCP的环境下,尝试通过网络源安装,配置网络时遇到问题
操作步骤
在分区sda1下创建文件tags.txt和目录archlinux,将vmlinuz-linux与initramfs-linux.img保存在archlinx下
添加一个grub启动项
menuentry "archlinux" {
insmod part_gpt
search --file --set=root /tags.txt
set gfxpayload=keep
echo "Loading Kernel"
linux /archlinux/vmlinuz-linux archisobasedir=arch archiso_http_srv=http://mirrors.bfsu.edu.cn/archlinux/iso/latest/ net.ifnames=0 biosdevname=0 ip=10.32.201.55::10.32.201.1:255.255.255.0::eth1:off:223.5.5.5:: ---
echo "Loading Initrd"
initrd /archlinux/initramfs-linux.img
}
IP配置不生效,报错ipconfig: too many options for eth1
改成
linux /archlinux/vmlinuz-linux archisobasedir=arch archiso_http_srv=http://mirrors.bfsu.edu.cn/archlinux/iso/latest/ net.ifnames=0 biosdevname=0 ip=10.32.201.55::10.32.201.1:255.255.255.0::eth1:off nameserver=223.5.5.5 ---
IP配置生效,DNS配置无效,下载airootfs.sfs失败,求助怎么解决
参考
https://www.kernel.org/doc/Documentatio … fsroot.txt
https://docs.redhat.com/zh_hans/documen … mmand_line
离线
我没搜到这个报错字符串。
离线
页次: 1