
가이드:-https://ubuntu.com/server/docs/install/netboot-amd64를 사용하여 PXE 서버를 구축했으며 현재 작동 중입니다.
이를 바탕으로 디스크 없는 클라이언트가 가능한 환경을 만들 계획이다.
아직 수행된 단계:-
- 여기에서 루트 파일 시스템을 복사하려면 클라이언트(설치된 ISO, 파일, 소프트웨어 등)를 설정하십시오.
- 루트 파일 시스템을 NFS 서버에 복사했습니다.
현재 grub.cfg에서 이 rootfs를 전달하는 데 문제가 있습니다. 어디에(initrd/kernel) 매개변수를 전달해야 하는지 잘 모르겠습니다. 또한 initrd는 Ubuntu ISO에서 얻은 initrd이므로 변경해야 합니까?
내 현재 grub.cfg :-
set default="0" set timeout=-1
if loadfont unicode ; then set gfxmode=auto set locale_dir=$prefix/locale set lang=en_US fi terminal_output gfxterm
set menu_color_normal=white/black set menu_color_highlight=black/light-gray if background_color 44,0,30; then clear fi
function gfxmode { set gfxpayload="${1}" if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7 else
set vt_handoff= fi }
set linux_gfx_mode=keep
export linux_gfx_mode
menuentry 'Ubuntu 22.04' {
gfxmode $linux_gfx_mode #linux /distros/ubuntu22.04/vmlinuz $vt_handoff quiet splash
#linux /distros/ubuntu22.04/vmlinuz url=http://192.168.0.134/iso/ubuntu-22.04.1-live-server-amd64.iso only-ubiquity ip=dhcp ---
linux /distros/ubuntu22.04/vmlinuz
initrd /distros/ubuntu22.04/initrd
}