Freeduc-cd how to

From OFSET Community Wiki
Jump to: navigation, search


How to Freeduc-CD 1.5 :

This text in French

How to install Freeduc-CD permanently on your machine :

Step 1 : What you need :

Qtparted enable to re-partition hard disk drives
  • At LEAST 3GB of FREE SPACE on hard disk, 7,5 GB are better if you will download a lot of supplementary packages in the future Freeduc-on-hd system. You can use a partitioning software (Partition Magic, QTParted or DiskDrake) to resize you existing partitions. Don't forget to save your important data to be safe. Think about the size and the number of partitions you want. Reading documents about partitioning also could be a very good idea (look below too. It's obvious, but I want to advise you to read all this page before beginning anything on the computer).
  • a Freeduc-CD 1.5.
  • If the Freeduc-on-hd system won't have a fast ftp internet access:
    • One of the following postinstall packages, to be put on a CDROM, an USB-key...; in the following we'll assume you have a CDROM.
      • post-install-full package if the computer won't have a fast internet access. Sadly, this would probably destroy Freeduc 1.5.
      • Or light package if the computer is going to have a fast Internet access under Freeduc. This one perhaps will be put on Freeduc-CD in the future, so you won't have to download and save it. It hasn't been tested on Freeduc 1.5.
      • Or postinstall 1, very old and depreciated. It could produce un-predictable results.
    • reiserfsprogs if you want to use reiserfs. Put it near the post-install package.
This situation would be sad! Be careful!
  • Some knowing about the way a GNU/Linux system install himself is needed. This document, in french, is very good, especially from "Quelles modifications apportera Linux a mon PC ?" to the FAQ. You should keep it under the eye while installing Freeduc-CD, with the following explanations(going in the "Pendant l'installation", "Les etapes de l'installation" and "Premier demarrage" chapters) :

Step 2

Step 3-First choice : install the system on a big partition :

  • Type
 # knoppix-installer
GIMP Icon.png
    • Tip:type knoppix-i and press tabulation key. Great, no?
  • Follow the instructions on screen.

Step 3-Second choice : install the system on several little partitions (better, but experts only) :

  • Type
 # IGNORE_CHECK=1 knoppix-installer
  • if you haven't managed you partitioning before start (I advise 128 for swap, more than 6GB for /, at least 1,5GB for /home, at least 22,5 MB for /boot if any), do it now choosing "Partition". Check the hard drive you want to work on by pressing space. Cfdisk is then launched. You won't be able to rezize existing partitions without losing datas with this tool. You should use QtParted instead. If you use it (at your own risk), choose write when finished, then quit. Reboot typing
    init 6
    When restarting, the "2" paramater can be used to avoid the graphical mode.

Cfdisk must be used with precaution

  • Choose "configure installation" and answer the questions. Use space to check and enter to validate :
    • If you don't know the answer to a question, keep the default choice and validate (but then should perhaps follow the step3-first choice instead of this one), except for the first, the answer must be
    • if you want to user a non-listed file system, keep the default answer, you'll change this setting later.
  • Choose "save configuration" in the main menu. Type
  • quit the knoppix-installer and edit /root/confinstall with zile, joe or vim :
    • you can modify
      if default setting doesn't sound good to you for the / partition.
    • you must put in
      where you want your additionals partitions to be mounted, usually /home (look at the example picture). Example for 3 differents partitions (/, /home and /var, without taking in account SWAP) : "/dev/hde5:/home /dev/hde7:/var".
    • Grub sadly isn't on Freeduc-CD, so write
    • Save and quit.
  • File systems creation :
    • If you want reiserfs for the additional partitions (and/or if you have chosen reiserfs in the conf file above for the "/"), you must install mkfs.reiserfs now. Unpack reiserfsprogs that you should have saved in the beginning (otherwise download it now). Put the
      file that has been unpacked in
      and type
      (found here).
    • Format the supplementary partitions you wrote in
      , in the filesystem you want, if it isn't done yet. For example:
      "mkfs.ext3 /dev/hde5"
      mkfs.reiserfs /dev/hde5
      Be sure to have correctly un-mounted any of the hard-disk partitions before using mkfs, and to have taken in account that their files(if any) will be destroyed.
  • Return in the
    IGNORE_CHECK=1 knoppix-installer
    and choose "Load configuration". Type
  • start installation and verify that the displayed information has been loaded from conf file(don't worry if the supplementary partitions aren't displayed).. During file duplication, don't notice the errors messages.


  • If you use a separate
    partition (very good idea, especially if you don't forget to make it read-only when everything works), the installer shouldn't be enough clever to install LiLo on it, so you should have to modify
    (eventually after having booted via the floppy or from the CD again). Don't forget to set active the partition where LiLo is if it isn't in the MBR. If you're a geek, you could be happy to learn that in some cases, installing both working LiLo and Grub is possible!

Step 4-Everyone: Post-installation packages :

  • Remove Freeduc-CD and reboot by typing
    init 6
  • if everythings is well, your new GNU / LinuxFreeduc system should start (if not, it's probably because you haven't done the right things about boot loader),
  • as root:
A network:Debian-edu's one
    • if the computer is on a network with a DHCP server, Freeduc will take an IP address automatically during the postinstallation. If you want to be in a static network configuration, type :
      ifconfig ethx IP
      Replace x by the number of your card (if there is only one network card, it's 0), and IP by the address you want to put, eg
      ifconfig eth0
      route add default gw iprouter
      by the IP of your router.
  • As simple user :
    • If you haven't got one of the postinstall packages, download one of them (see the top of this document).
    • If the postinstall is on a media (cdrom or modify the commands for others medias):
      • mount /mnt/cdrom
      • cd /mnt/cdrom
  • As root :
    • Go in the folder where the package is, if needed,
    • type (replacing the name written here by the real name of the postinstall package you choosed) :
    • tar xjvf freeduc-post[...].tarbzip2 -C /root
    • cd /root/freeduc-postinstall
    • if you use a proxy, modify the
      file, and proxy variables of the
      (both are in the
    • if you haven't got a lot of diskspace, you could eventually delete the directories beginning by 110 (if you're absolutly sure you won't ever use reiserfs), 250, 300, 350 and 400, 700, 800. Make your choice in fonction of the name of each. Be aware that the deletion of the three last ones can create problems.
    • if you're not using french as main language, delete
    • if you don't want numlock to be activated(especially if you're on a laptop), edit
      in the
      folder. There is a
      parameter inside, the number indicates how much console screens will have numlock activated. Change this number according your needs. You can delete the value after
      to have numlock off on every console.
    • The syntax is:
      ./ [--download | --install-net | --install-local] [ethx] [staticip]
      • If you've got a good internet link, choose
        but there might be problems if the package isn't specially made for 1.5 version.
      • install-local
        could work (not tested yet !) only if you choosed the "postinstall-full" package, but there might be problems if the package isn't specially made for 1.5 version.
      • Replace x by the number of the network card to use to go to the Internet (usually 0).
      • Write
        if you have already set up the network card manually a few times ago.
      • Example :
        ./ --install-local eth0 staticip

Atwork.gifLuckyMarche.jpeg Atwork.gifLuckyMarche.jpeg


{Documents used for help in writing this text : <>, thanks to you Fred.}

= Step 5-If you know what you're doing, you can edit
to set several disks at once), modifying and enabling configuration commands inside it.

Step 6-Monitoring hardware :

Disks :

  • Replace /dev/hdx by each smart hard drive you own (eg /dev/hda).
    • Type
      smartctl --smart=on --offlineauto=on --saveauto=on /dev/hdx
    • You can consult the values of the hard drive by typing
      smartctl -A /dev/hdx
    • To enable the monitoring, un-comment the smartd line in
      but you certainly need to learn a lot more about S.M.A.R.T to understand the values you'll obtain.

Energy :

To change the settings of the automatic screen saving, edit :
For this we need [ ACPI] (working badly on most computers. Be sure to have the latest version of your BIOS, and you may have to write
as a kernel option).
, automatically installed by the
post-install process, contains some tools described below. To verify that it's working, type
cat /proc/acpi/info
acpi -V
Datas can be read from files in
manually too.
  • Here is the list of non-compatible computers.
  • Here you can find if your computer need a patch.
  • You may have to configure
    They are by default set for maximum sleeping support, but there are great chances that you have to adapt them, especially concerning sleep state, as "mem" needs acpi 2.1 and a perfect design of the computer. But even if you use "standby" instead of "mem", let
    to true in any case. Any other value (including nothing) would desactivate all form of sleeping mode on the computer.
  • According to an old explanation, we can use:
    • Scripts in
      that will be executed when events in
      happens. For example, there is a problem with the power button:kids often press it. The best is to put the computer's unit behind a door, but you can modify the
      script, replacing the shutdown command by anything you want. To make it go to sleep, replace
      by a link to
      in the
    • athcool to save energy and warm if the processor is a 32 bits Athlon or Duron and if you know what you're doing(edit /etc/init.d/ to launch and configure athcool).
    • sleepd to put the computer to sleep when unused. In
      we must type
      -u delay -U delay -s script
      inside the quotes near
      replacing delay by the time in second before sleep and script by the script file wich will be executed to make the computer sleep (we can use
      for example). To temporary desactivate automatic sleeping, we can use

Step 7-Configure LiLo

  • WARNING, you MUST have a copy of the MBR. for this, type
    dd if=/dev/hdx of=/root/mbr bs=512 count=1
    , before moving the mbr file that you obtained on one or several removable disks.
  • You can comment in </pre>/etc/lilo.conf</pre> lignes regarding non-used kernels.
  • You can add
    in the sections of the kernels that will require a password to boot.
  • Type

Step 8-Setting up network

To share documents between several HD-installed-Freeducs, you can use nfs.

How to create a new Freeduc-CD meeting your needs

  • become a member of OFSET
  • join the development team
  • you will use the following HOWTO

How to burn Freeduc-CD iso image on a CD


  • use a rosting software like k3b (tools -> CD -> burn a CD image)


  • from command line:
  - cdrecord -v speed=16 dev=0,0,0 /buffer/mycd.iso

(replace 0,0,0 by the physical location of your CDW driver, given by # cdrecord -scanbus)

Download addresses:

[1] [2]

Personal tools