Difference between revisions of "Should be deleted, "Installation of older Knoppix to HDD" is a better mirror page"


From Knoppix Documentation Wiki
Jump to: navigation, search
(restored)
Line 62: Line 62:
  
 
Reboot Knoppix.
 
Reboot Knoppix.
 +
[http://www.shfldz.com 光栅尺]
 +
[http://www.home-trade.net/superdata.htm 速达软件]
 +
 +
 +
 +
[http://www.mhgzs.com 紫砂]
 +
 +
 +
 +
[http://www.autoing.com.cn 租车]
 +
 +
[http://www.lkcx.com 巡更]
 +
 +
[http://www.office-021.com 上海办公楼]
 +
[http://www.5151office.cn 上海写字楼]
 +
 +
 +
 +
 +
[http://www.paybacksh.com 数字化仪]
 +
 +
 +
 +
 +
 +
 +
 +
[http://www.9136.cn 传真通]
 +
 +
 +
 +
 +
[http://www.9136.cn/fax.asp 虚拟传真机]
 +
 +
[http://www.9136.cn/fax.asp 无纸办公]
 +
 +
 +
 +
 +
[http://www.9136.cn/fax.asp 传真通]
 +
 +
 +
[http://www.9136.cn/fax.asp 无纸传真机]
 +
[http://www.9136.cn/voip.asp voip]
 +
 +
 +
 +
 +
[http://www.9135.cn 虚拟主机]
 +
[http://www.9135.cn 网络空间]
 +
[http://www.9135.cn 网站推广]
 +
[http://www.9135.cn google推广]
 +
 +
 +
[http://www.9135.cn 空间租用]
 +
[http://www.9135.cn 网页设计]
 +
 +
[http://www.9135.cn 网络优化]

Revision as of 02:15, 12 September 2005

Described installation was tried on Dannix (Knoppix CZ) from 3.7. 2003 Boot Knoppix CD

Run Root Console

Use "fdisk" to create two primary partitions. Larger for OS (for example /dev/hda1 as type 83 Linux) and smaller for swap (for example /dev/hda2 as type 82 Linux Swap). Don't forget to set up bootable attribute "a" to /dev/hda1.

mke2fs /dev/hda1                     - initialization of the device
mkdir /mnt/hda1                      - creating of the mounting point
mount -t ext2 /dev/hda1 /mnt/hda1    - mounting of the device
cp -a /KNOPPIX/* /mnt/hda1           - copy of needed files
cp /etc/fstab /mnt/hda1/etc          - copy "fstab" file to new system location
chroot /mnt/hda1                     - moving to interactive shell

Modify "/etc/fstab" file:

  /dev/hda2      none	  swap	sw		0 0
  /dev/hda1     /	  ext2	noatime	0 1
  none          /proc	  proc	defaults	0 0
  none          /dev/shm tmpfs	defaults	0 0
  /dev/cdrom    /cdrom	  auto	noauto,user	0 0
  /dev/fd0      /floppy  auto	noauto,user,umask=000	0 0
mkdir /dev/shm                       - create needed directory

Modify "/etc/lilo.conf" file:

lba32
boot=/dev/hda
prompt
delay=50
vga=normal
default=DaNiX
image=/vmlinuz
	append="lang=us apm=power-off"
	root=/dev/hda1
	label=DaNiX
	read-write
lilo                                 - write new informatin to MBR

Modify "/etc/init.d/*xsession" file. Find "USER=knoppix" and change it to "USER=root" (aproximately 5th line) Reboot Knoppix and then boot it from HDD (NOT from CD!!!)

Run Root Console

mkswap /dev/hda2                     - setting up /dev/hda2 as swap device

Reboot Knoppix

The Knoppix system is now installed on your HDD and you can run it as root user.

Run Knoppix OS as a different user (not root)

Run Root Console

adduser                              - create new user
     .
     .

Modify "/etc/init.d/*xsession" file. Find "USER=root" and change it to "USER=%UserName%" (aproximately 5th line), where %UserName% is the user name of created user.

Run "visudo" to modify "/etc/sudoers". There you have to find and change "knoppix" to "%UserName%", where %UserName% is the user name of created user.

This change will allow you to run Root Console.

Reboot Knoppix. 光栅尺 速达软件 [ [ [ 紫砂 [ [ [ 租车 [ 巡更 [ 上海办公楼 上海写字楼 [ [ [ [ 数字化仪 [ [ [ [ [ [ [ 传真通 [ [ [ [ 虚拟传真机 [ 无纸办公 [ [ [ [ 传真通 [ [ 无纸传真机 voip [ [ [ [ 虚拟主机 网络空间 网站推广 google推广 [ [ 空间租用 网页设计 [ 网络优化