Information Technology

Information Technology: Gentoo 的單人模式(Single mode)

Contributed by tyroneyeh on Mar 19, 2009 - 10:23 PM

因為在 net 中加了 postup() 開機的時候卡在那裡,所以找了一下 Gentoo Linux 的 Single Mode 要怎麼進入!

查到的是用光碟片進入後再 chroot 切到正式系統,不過在另外查到是加入 softlevel=single 即可

就是開機到 Grub 時,在 Kernel List 上按 e,在 kernel 那一行的最後面加入 softlevel=single

如下

root (hd0,0)
kernel /kernel-genkernel-x86-2.6.27-gentoo-r8 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 softlevel=single
initrd /initramfs-genkernel-x86-2.6.27-gentoo-r8

ps. 因為用 Wireless 的關係,所以加了 postup() 讓一些服務重起,postup 也可以拿來做 DDNS 的更新 ip 的功能!
 

Rating

No one has rated this item yet - be the first!

  • Currently 0 / 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

1 is the lowest and 5 the higher score.

 

發票登錄摘要

使用者數: 137 位
發票張數: 9980張
花費金額: 84931209423元
中獎金額: 2012000元
金額比率: 0 %
Loading