This is G o o g l e's cache of http://www.debianclub.com/node/55 as retrieved on 16 Feb 2007 13:37:58 GMT.
G o o g l e's cache is the snapshot that we took of the page as we crawled the web.
The page may have changed since that time. Click here for the current page without highlighting.
This cached page may reference images which are no longer available. Click here for the cached text only.
To link to or bookmark this page, use the following url: http://www.google.com/search?hl=en&q=cache%3Ahttp%3A%2F%2Fwww.debianclub.com%2Fnode%2F55&btnG=Search


Google is neither affiliated with the authors of this page nor responsible for its content.

User login

Links

debianclub.com
debian.org
ubuntuclub.com
blognone.com

Syndicate

Syndicate content

บูตเงียบแบบกราฟิกส์ด้วย splashy

เคย ได้ยินเสียงบ่นจากผู้ใช้ที่คุ้นกับวินโดวส์บ่อยๆ ว่าเวลาบูตลินุกซ์แล้วเจอข้อความเต็มไปหมด บังเกิดความกลัว หรือไม่ก็รำคาญที่อ่านไม่รู้เรื่อง ทั้งที่อันที่จริง ผมเองรู้สึกสบายใจที่ได้เห็นขั้นตอนต่างๆ โดยละเอียด ดีกว่าเอาฉากสวยๆ มาบัง พอค้างแล้วก็ค้างเลย หาสาเหตุไม่ได้ สุดท้ายก็สูตรเดิม คือฟอร์แมต ลงใหม่

แต่ถ้ามองว่าเขาคือ end-user จริงๆ ยังไงก็ไม่สนใจจะดูขั้นตอนการบูตแน่ๆ ก็ตั้งฉากกั้นให้เขาสบายใจขึ้นได้ หรือจะตั้งเล่นๆ เพื่อความสวยงามเฉยๆ ก็ไม่ว่ากัน ใน debian มีสองวิธี คือใช้ bootsplash กับ splashy

bootsplash นั้น ดูจะใช้กันหลาย distro แต่ต้อง patch kernel ด้วย ส่วน splashy จะใช้การดัดแปลง sysvinit ล้วนๆ ไม่ต้อง patch kernel เลย ดังนั้น ในที่นี้ขอแนะนำ splashy ก่อน

# aptitude install splashy splashy-themes

แล้วก็ไปเพิ่ม boot parameter "splash vga=791 quiet" ในบูตโหลดเดอร์ ในกรณีที่เป็น grub ก็แก้บรรทัด "# kopt" (ไม่ต้องเอาคอมเมนต์ออก) โดยเพิ่มค่าต่อท้ายเข้าไป เช่น

# kopt=root=/dev/hda1 ro splash vga=791 quiet

แล้วสั่ง

# update-grub

(หรือจะแก้แบบเร็วโดยไปเพิ่ม boot parameter ต่อท้ายบรรทัด kernel เลยก็ได้ แต่ระวังว่าจะถูกเขียนทับเมื่อคุณสั่ง update-grub ครั้งต่อไป)

ส่วนถ้าเป็น lilo ก็เพิ่ม/แก้บรรทัด:

vga=791
append="quiet splash"

แล้วสั่ง

# lilo

ตรวจความเรียบร้อยแล้วรีบูต ก็จะเข้าระบบใหม่ด้วยหน้าจอรูปเพนกวิน (หลังจากมีข้อความขั้นแรกๆ นิดหน่อยไม่กี่บรรทัด)

ดูตัวอย่าง screenshot

ส่วนแพกเกจ splashy-themes ที่เราลงไปนั้น จะเพิ่มธีมอื่นให้เราใช้ได้นอกจากธีมปริยาย โดยดูธีมทั้งหมดได้โดยสั่ง:

# splashy_config --info

และกำหนดธีมได้โดยสั่ง:

# splashy_config -s theme-name

แอบดูรายละเอียดของธีมก่อนเลือกได้ที่ /etc/splashy/themes/