Skip to content

Instantly share code, notes, and snippets.

@Ratler
Created July 28, 2012 07:47
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ratler/d867a58f9d0373051f47 to your computer and use it in GitHub Desktop.
Save Ratler/d867a58f9d0373051f47 to your computer and use it in GitHub Desktop.
Lunar 1.6.5 install guide
  1. lin moonbase

  2. lin lunar (pick default answer for all questions by hitting enter)

  3. lin installwatch

  4. lin udev (default answers)

  5. reboot (it's possible you get a weird crash on shutdown, just reset your machine)

  6. lrm kernel-headers-2.6

  7. lin kernel-headers

  8. lin gcc (default answers)

  9. lunar optimize

      -> GCC_4_7
    
        -> default
    
        -> Base speed optimization: Faster -O2
    
        -> CPU base arch selection: native
    
        -> Floating point optimization: none (gcc auto detects)
    
        -> General C/C++ options: -pipe (RECOMMENDED)
    
  10. lin bin86

  11. (optional for lilo users) lin lilo

  12. lrm module-init-tools

  13. rm /var/state/lunar/depends.cache (depends cache is screwed up, glibc try to get kernel-headers-2.6 again)

  14. lsh create_depends_cache

  15. lin linux (defaults, then pick yes to configure kernel, answer 1 for kmod)

Change the following things:

    General setup --->
  
        [*] Control Group Support
        
    Device Drivers --->
       
      Generic Driver Options --->

                        () path to uevent helper (remove /sbin/hotplug)

                        [*] Maintain a devtmpfs filesystem to mount at /dev

                        [*]     Automount devtmpfs at /dev, after the kernel mounted the rootfs (NEW)    

      SCSI device support --->

                        [*] SCSI low-level drivers  --->

                                          (Disable Emulex LightPulse Fibre Channel Support)

                                          < >  Emulex LightPulse Fibre Channel Support

Save the config and let it compile
  1. lin e2fsprogs

  2. lin coreutils

  3. lin lunar-init

  4. reboot

  5. lin -cr glibc (answer no for locales, next pick 1 for kernel-headers)

    If questions popup on dependencies choose defaults

  6. lin gcc (yes again)

  7. lin binutils

  8. lunar renew (answer yes to remove everything) "Do you wish to edit the update queue" n

    Answer default for the rest unless you know for sure you need it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment