Debian / ISO Builder / 探索筆記
更多...
將產出的「iso檔案」放置到「/opt/iso/debian/latest/debian.iso」這個路徑
產生一個檔案「/boot/grub/custom.cfg」,內容如下
menuentry "Debian Live ISO" --class Debian {
set iso_file="/opt/iso/debian/latest/debian.iso"
search --set=iso_partition --no-floppy --file $iso_file
probe --set=iso_partition_uuid --fs-uuid $iso_partition
set img_dev="/dev/disk/by-uuid/$iso_partition_uuid"
loopback loop ($iso_partition)$iso_file
set extra_option=""
#set extra_option="components quiet splash"
set locale_option=""
#set locale_option="locales=en_US.UTF-8"
#set locale_option="locales=zh_TW.UTF-8"
#set locale_option="locales=zh_CN.UTF-8"
#set locale_option="locales=zh_HK.UTF-8"
#set locale_option="locales=ja_JP.UTF-8"
#set locale_option="locales=ko_KR.UTF-8"
set boot_option="${locale_option} ${extra_option}"
linux (loop)/live/vmlinuz boot=live buuid=${iso_partition_uuid} findiso=${iso_file} ${boot_option}
initrd (loop)/live/initrd.img
}
重新開機後,就會在「GRUB」的開機選單,看到「Debian Live ISO」這個選項。
https://salsa.debian.org/live-team/live-boot
https://salsa.debian.org/live-team/live-config
| Account |
Value |
| Username |
live |
| Password |
|
目前沒有設定密碼
若想要更改目前帳號的密碼,可以執行下面指令
若想要移除目前帳號的密碼,可以執行下面指令