Difference between revisions of "Hd Install HowTo"


From Knoppix Documentation Wiki
Jump to: navigation, search
(Replacing page with '{{delete|out of date}}--~~~~')
 
(30 intermediate revisions by 18 users not shown)
Line 1: Line 1:
You CAN install newer versions of Knoppix on harddisk, if you wish, though installation is not required for productive use. Knoppix is designed to be a GNU/Linux LiveCD and not a HD installed Linux distro. A HD installed Knoppix will give you a running GNU/Linux system but it is not easy to support or administrate and add/remove of software is complicated and is best left to GNU/Linux experts. Examples of such issues can be found in the [http://www.knoppix.net/forum/viewforum.php?f=5 Hdd Install / Debian / Apt forum]. If you are not a Debian GNU/Linux expert & want a HD installed system then skip the LiveCDs and go directly to [http://www.debian.org Debian] and get Debian 3.1r0a (sarge).
+
{{delete|out of date}}--[[User:Werner P. Schulz|Werner P. Schulz]] 04:57, 22 February 2012 (MST)
 
+
That said, if you want to do this, you should just make sure there is some empty space on your harddrive so you can create at least 2 Linux partitions, one for the System (for Knoppix, minimal approx. 3 GB) and about minimal 200MB for [http://www.wikipedia.org/wiki/Virtual_memory Swap] during the installation process. It is VERY important that the swap space partition is of type "Linux Swap space" (or equivelent"). A partitioning program is integrated in the knoppix-installer.
+
 
+
It´s recommend to use 5 GB for root partition and 400 MB for swap partition.
+
 
+
''(NOTE: Be sure the root partition is the first partition on the drive, is formatted with ext2 or ext3, and is set to "active." The swap partition must be formatted with "linux-swap." Installation and subsequent booting will not continue otherwise.)''
+
 
+
 
+
There is ALWAYS some risk of losing data. Please ALWAYS make sure
+
that you have a working backup of your important data prior to
+
experimenting with ANY new software, no matter if Windows, Linux or
+
anything else.
+
 
+
You should get Knoppix version 3.4 or later and type '''sudo knoppix-installer''' in the shell if you want to do this. Have a look here for more info about [http://en.wikipedia.org/wiki/Sudo sudo]. In knoppix-installer, arrow keys move focus and space bar selects options.
+
 
+
Note: Do '''not''' use "knx-hdinstall" anymore. "knx-hdinstall" is no longer maintained, use "knoppix-installer" instead.
+
 
+
Or the [http://download.linuxtag.org/knoppix/KNOPPIX-FAQ-EN.txt Knopper FAQ] on doing it manually.
+
Once knoppix is installed on a hard disk, it's no longer a Knoppix;-) it's a
+
uncompressed complete Debian GNU/Linux.
+
 
+
=== Blind Installation ===
+
It's possible to install Knoppix on a PC's hd without a monitor, see [[Hd Install Without a Monitor HowTo]]
+
 
+
=== Updating HD installation ===
+
 
+
You can do a
+
 
+
for i in $(COLUMNS=240 dpkg -l | awk '{print $2}')
+
do:
+
echo dpkg-repack --root=/KNOPPIX "$i"
+
done
+
 
+
(The following worked for me with Knoppix 3.7 2004-12-08: create a bash script and sudo sh bashscriptname)
+
 
+
  #!/bin/bash
+
  #
+
  echo ""
+
  for i in $(COLUMNS=240 dpkg -l | awk '{print $2}') ; \
+
    do  echo dpkg-repack --root=/KNOPPIX "$i" ; \
+
        dpkg-repack --root=/KNOPPIX "$i" ; \
+
        mv *.deb /mnt/hdxn ; \
+
  done
+
  # where hdxn is your destination partition
+
  # for the packages (needs 700 MB free)
+
  echo ""
+
  read -p "Finished; press Enter to exit"
+
  echo ""
+
+
 
+
to create packages from a running KNOPPIX CD to a writable harddisk
+
partition, and install/update these packages with dpkg -i.
+
 
+
See:
+
 
+
* http://freshmeat.net/projects/dpkg/
+
* http://www.tldp.org/LDP/linuxcookbook/html/cookbook_4.html#SEC42
+
* http://www.debian.org/doc/packaging-manuals/dpkg-internals/
+
* http://www.debian.org/doc/manuals/apt-howto/index.en.html
+
 
+
Using the Knoppix repository at http://developer.linuxtag.net/knoppix/
+
plus the standard debian mirrors is easier, though.
+
See also : http://jaqque.sbih.org/kplug/apt-pinning.html
+
 
+
=== Installing Gnome ===
+
 
+
To install [http://en.wikipedia.org/wiki/Gnome Gnome], you have to type '''apt-get install gnome-bin gdm'''.<br>
+
Then execute '''update-alternatives --config x-window-manager''' and select '''[http://en.wikipedia.org/wiki/Gdm gdm]'''.
+
 
+
See also : http://wiki.debian.net/index.cgi?DebianGnome
+

Latest revision as of 11:57, 22 February 2012

Template:Delete--Werner P. Schulz 04:57, 22 February 2012 (MST)