Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samwhelp/note-about-debian-iso-builder
note-about-debian-iso-builder
https://github.com/samwhelp/note-about-debian-iso-builder
iso-build iso-profile
Last synced: about 1 month ago
JSON representation
note-about-debian-iso-builder
- Host: GitHub
- URL: https://github.com/samwhelp/note-about-debian-iso-builder
- Owner: samwhelp
- License: mit
- Created: 2024-11-12T12:54:30.000Z (2 months ago)
- Default Branch: gh-pages
- Last Pushed: 2024-11-22T13:34:19.000Z (2 months ago)
- Last Synced: 2024-11-22T14:32:00.110Z (2 months ago)
- Topics: iso-build, iso-profile
- Language: SCSS
- Homepage: https://samwhelp.github.io/note-about-debian-iso-builder/
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 首頁
> Debian / ISO Builder / 探索筆記
| Link | GitHub |
| ---- | ------ |
| [ISO Builder 探索筆記](https://samwhelp.github.io/note-about-iso-builder/) | [GitHub](https://github.com/samwhelp/note-about-iso-builder) |
| [Debian / ISO Builder / 探索筆記](https://samwhelp.github.io/note-about-debian-iso-builder/) | [GitHub](https://github.com/samwhelp/note-about-debian-iso-builder) |## 主題
* [實作案例](#實作案例)
* [Boot ISO By GRUB](#boot-iso-by-grub)
* [Debian OS / Live System](#debian-os--live-system)
* [相關筆記](#相關筆記)## 實作案例
| 實作案例 |
| ------- |
| [debian-iso-builder-start](https://github.com/samwhelp/debian-iso-builder-start) |## Boot ISO By GRUB
> 將產出的「iso檔案」放置到「`/opt/iso/debian/latest/debian.iso`」這個路徑
> 產生一個檔案「`/boot/grub/custom.cfg`」,內容如下
``` sh
menuentry "Lika OS" --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_fileset 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」的開機選單,看到「`Lika OS`」這個選項。
## Debian OS / Live System
| Account | Value |
| -------- | ------ |
| Username | `user` |
| Password | `live` |若想要移除目前帳號的密碼,可以執行下面指令
``` sh
sudo passwd -d $(whoami)
```## 相關筆記
| Link | GitHub |
| ---- | ------ |
| [Debian 探索筆記](https://samwhelp.github.io/note-about-debian/) | [GitHub](https://github.com/samwhelp/note-about-debian) |
| [Eznixos 探索筆記](https://samwhelp.github.io/note-about-eznixos/) | [GitHub](https://github.com/samwhelp/note-about-eznixos) |
| [Lika OS 探索筆記](https://samwhelp.github.io/note-about-lika/) | [GitHub](https://github.com/samwhelp/note-about-lika) |
| [Lika OS / Live Build Config / 探索筆記](https://samwhelp.github.io/note-about-lika-live-build-config/) | [GitHub](https://github.com/samwhelp/note-about-lika-live-build-config) |## Samwhelp
* [個人筆記](https://samwhelp.github.io/book/)