News

Information Technology [1]

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!

1 is the lowest and 5 the higher score.

 
Links
  1. http://siryeh.com/index.php?module=News&func=view&prop=Main&cat=33
  2. http://siryeh.com/javascript:ratingsratefromslider('News','7',20);
  3. http://siryeh.com/javascript:ratingsratefromslider('News','7',40);
  4. http://siryeh.com/javascript:ratingsratefromslider('News','7',60);
  5. http://siryeh.com/javascript:ratingsratefromslider('News','7',80);
  6. http://siryeh.com/javascript:ratingsratefromslider('News','7',100);