<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xml:lang="en">
  <title type="html">PixieLive - How-To</title>
  <subtitle type="html"></subtitle>
  <link href="https://pixielive.org/index.php?feed/category/How-To/atom" rel="self" type="application/atom+xml" />
  <link href="http://pixielive.org/index.php?" rel="alternate" type="text/html" title="" />
  <updated>2019-09-05T20:58:06+02:00</updated>
  <author>
    <name>Christian Lorandi</name>
  </author>
  <id>urn:md5:420041d3af3b66a087b22e9b14e3eb83</id>
  <generator uri="https://www.dotclear.org/">Dotclear</generator>
      <entry>
      <title>PixieLive4 to HDD as &quot;normal&quot; distro</title>
      <link href="http://pixielive.org/index.php?post/2013/12/19/PixieLive4-to-HDD-as-normal-distro" rel="alternate" type="text/html" title="PixieLive4 to HDD as &quot;normal&quot; distro" />
      <id>urn:md5:b10b9d402f04230f67c30513cb8af469</id>
      <published>2013-12-20T18:00:00+01:00</published>
                    <updated>2013-12-20T18:00:00+01:00</updated>
            <author>
        <name>Christian Lorandi</name>
      </author>
              <dc:subject>How-To</dc:subject>
                    <dc:subject>installation</dc:subject>
              <dc:subject>tutorial</dc:subject>
            <content type="html">&lt;p&gt;Dear PixieLive4 users, since some of you wanted to install PixieLive4 on their NetBooks HDD as &quot;normal&quot; (i.e. non live) distro, here is the quick and dirty guide.&lt;/p&gt;


&lt;p&gt;It's pretty straight forward, it can be summarized as:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;prepare an HDD partition&lt;/li&gt;
&lt;li&gt;extract the lzm modules&lt;/li&gt;
&lt;li&gt;remove 
pixielive scripts&lt;/li&gt;
&lt;li&gt;create missing directories&lt;/li&gt;
&lt;li&gt;copy /dev&lt;/li&gt;
&lt;li&gt;create an /etc/fstab&lt;/li&gt;
&lt;li&gt;install and configure grub (the bootloader)&lt;/li&gt;
&lt;li&gt;reboot and have fun!&lt;/li&gt;
&lt;/ul&gt; &lt;p&gt;This guide is not for newbies, i will not explain every command in the details, it would take too much time and you could damage your system if you don't know what you are doing.&lt;/p&gt;


&lt;p&gt;For the commands you don't know &quot;man&quot;, &quot;gentoo wiki&quot; and &quot;google&quot; are your friends.&lt;/p&gt;


&lt;p&gt;I cannot guarantee everything is done in the best way here, it worked on my computer so it should on your.&lt;/p&gt;

&lt;pre&gt;&lt;/pre&gt;

&lt;p&gt;Let's get started:&lt;/
p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;backup all of your documents&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;backup your windows partition if you think you will need it in future&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;make sure you have a backup of all your documents and software&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;double check you have a backup of all your documents and software (on a different disk)&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;boot PixieLive4 as usual&lt;/li&gt;
&lt;li&gt;Prepare an empty partition on your disk, at least 10GB (you can use fdisk or gparted)&lt;/li&gt;
&lt;li&gt;open a terminal window and become root
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;su&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;format the partition you created as ext3 (ext4 won't boot with grub-1)
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mkfs.ext3 /dev/sdaX #where X is the partition number&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;prepare the mount directory
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mkdir /gentoohdd&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;mount the partition in the directory (&lt;strong&gt;replace the X with your partition number&lt;/strong&gt;)
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mount /dev/sdaX /gentoohdd&lt;/code&gt;&lt;/li&gt;
&lt;/
ul&gt;&lt;/li&gt;
&lt;li&gt;recursively copy the content of every module on the partition (notice the / after $i, it's important). It will take a looong time
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;for i in /mnt/live/memory/bundles/*; do rsync -a &quot;$i/&quot; /gentoohdd; done&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;copy the /dev directory
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;cp -a /dev /gentoohdd&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;create the some missing directories:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mkdir /gentoohdd/sys&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mkdir /gentoohdd/proc&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mkdir /gentoohdd/run&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mkdir /gentoohdd/tmp&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mkdir /gentoohdd/mnt&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mkdir /gentoohdd/media&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;create the fstab file (&lt;strong&gt;replace the X with your partition number&lt;/strong&gt;)
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;echo &quot;/dev/sdaX / ext3 noatime 0 1&quot; &amp;gt; /gentoohdd/etc/fstab&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;install grub
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;grub-install --root-directory=/gentoohdd /dev/sda&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;copy the kernel in place
&lt;ul&gt;
n&lt;li&gt;&lt;code&gt;cp /mnt/live/memory/data/PixieLive4/boot/vmlinuz /gentoohdd/boot&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;create a grub menu configuration (&lt;strong&gt;replace the Y with your partition number in the grub way, usually Y=X-1&lt;/strong&gt;)
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;nano /gentoohdd/boot/grub/menu.lst&lt;/code&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;##############################&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;default 0&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;timeout 5&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;title PixieLive4-HDD&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;root (hd0,Y) # usually Y = X-1&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;kernel /boot/vmlinuz root=/dev/sdaX&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;# you don't need this part if you don't have Windows installed&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;title Windows&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;rootnoverify (hd0,0) # assuming windows is on the first partition of the first disk&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;makeactive&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;chainloader +1&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;##############################&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;remove unneeded 
pixielive init scripts
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;rm /gentoohdd/etc/init.d/pixielive*&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;rm /gentoohdd/etc/conf.d/pixielive*&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;rm /gentoohdd/etc/runlevels/default/pixielive*&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;rm /gentoohdd/etc/runlevels/boot/pixielive*&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;rm /gentoohdd/etc/runlevels/shutdown/*&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;rebuild the shutdown runlevel
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;ln -s /etc/init.d/killprocs /gentoohdd/etc/runlevels/shutdown&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ln -s /etc/init.d/mount-ro /gentoohdd/etc/runlevels/shutdown&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ln -s /etc/init.d/savecache /gentoohdd/etc/runlevels/shutdown&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;copy the xorg.conf
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;cp -a /etc/X11/xorg.conf /gentoohdd/etc/X11&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;unmount the gentoohdd partition
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;umount /gentoohdd&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;reboot from the hdd&lt;/li&gt;
&lt;/ul&gt;</content>
      
          </entry>
      <entry>
      <title>PixieLive3RC1, modules cutomization</title>
      <link href="http://pixielive.org/index.php?post/2013/04/11/PixieLive3-RC1%2C-modules-cutomization" rel="alternate" type="text/html" title="PixieLive3RC1, modules cutomization" />
      <id>urn:md5:288788a5655fdc80fdfb6a31ab1d51a3</id>
      <published>2013-04-11T08:00:00+02:00</published>
              <updated>2013-04-11T11:39:05+02:00</updated>
                  <author>
        <name>Christian Lorandi</name>
      </author>
              <dc:subject>How-To</dc:subject>
                  <content type="html">&lt;p&gt;A quick explanation on how to customize the modules in your Pendrive, removing unnecessary programs to earn some space.&lt;/p&gt; &lt;p&gt;Some of you may wonder why i included so many softwares in a live distro, the answer is:&lt;/p&gt;

&lt;h4&gt;Because you can select them by yourself!!!&lt;/h4&gt;

&lt;p&gt;If you peek into the PixieLive3RC1/modules directory you will notice a strange code on modules names.
They are numbered.  The numbering system is a code which tells you the modules dependencies.&lt;/p&gt;


&lt;h4&gt;There are 5 different modules categories (Identified by the starting letter).&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;B&lt;/strong&gt; - Basic modules
&lt;ul&gt;
&lt;li&gt;don't touch them, they are always needed by the system&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;S&lt;/strong&gt; - Single modules
&lt;ul&gt;
&lt;li&gt;they doesn't require any other module&lt;/li&gt;
&lt;li&gt;they are not required by anyone else&lt;/li&gt;
&lt;li&gt;you can freely remove them&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;C&lt;/strong&gt; - 
Children modules
&lt;ul&gt;
&lt;li&gt;they are not required by anyone&lt;/li&gt;
&lt;li&gt;you can remove them if you don't need them&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;G&lt;/strong&gt; - Grandparent modules
&lt;ul&gt;
&lt;li&gt;they are required by some other modules (type C or P)&lt;/li&gt;
&lt;li&gt;they don't require any other module&lt;/li&gt;
&lt;li&gt;before removing them you should remove any other program which require them&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;P&lt;/strong&gt; - Parent Modules
&lt;ul&gt;
&lt;li&gt;they are required by some  other modules (type C or P)&lt;/li&gt;
&lt;li&gt;they require some other module&lt;/li&gt;
&lt;li&gt;before removing them you should remove any other program which require them (type C or P)&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After the name there is an additional code which describe the dependencies&lt;/p&gt;


&lt;h4&gt;Dependencies code:&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;R&lt;/strong&gt; - requires
&lt;ul&gt;
&lt;li&gt;packages required by this package&lt;/li&gt;
&lt;li&gt;you can't remove them or this package will not work anymore&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;I&lt;/strong&gt; - Is required
&lt;ul&gt;
&lt;li&gt;packages which 
require this package&lt;/li&gt;
&lt;li&gt;if you remove this package, they will not work anymore&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's it!&lt;/p&gt;


&lt;h4&gt;A practical example:&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;P35_imagemagick-6.7.8.7_RP34G47G61_IC04P40C26.lzm&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;parent module
&lt;ul&gt;
&lt;li&gt;it require other modules&lt;/li&gt;
&lt;li&gt;it is required by other modules&lt;/li&gt;
&lt;li&gt;you will have to work a bit before removing it&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;is required by
&lt;ul&gt;
&lt;li&gt;C04 - C04_calibre-0.9.20_RP39P38G54G58P35.lzm&lt;/li&gt;
&lt;li&gt;P40 - P40_inkscape-0.48.4_RG51G48P35G61G62G59_IC26.lzm&lt;/li&gt;
&lt;li&gt;C26 - C26_lyx-2.0.5.1_RP35G55G42P37G48P40G59.lzm (it's in the LaTeX directory)&lt;/li&gt;
&lt;li&gt;if you remove P35_imagemagick these programs will not work properly anymore&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;requires
&lt;ul&gt;
&lt;li&gt;P34 - P34_lensfun-0.2.5-r2_RG59_IC05P35.lzm&lt;/li&gt;
&lt;li&gt;G47 - G47_exiv2-0.23-r1_IC29C05P35C23.lzm&lt;/li&gt;
&lt;li&gt;G61 - G61_lcms-1.19_IP40P35.lzm&lt;/li&gt;
&lt;li&gt;you can't remove these packages or P35_imagemagick will stop working properly&lt;/li&gt;
&lt;/ul&gt;&lt;/
li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Paying attention to the dependencies indicated on the packages names you can easily customize you image.&lt;/p&gt;


&lt;h4&gt;Notes:&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Some packages are grouped in the LaTeX subdirectory for convenience, you can create your own groups (subdirectories), they doesn't affect the module loading in any way.&lt;/li&gt;
&lt;li&gt;I created the LaTeX group so who doesn't need LaTeX can easily remove all the packages related to it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Open for discussion!&lt;/p&gt;</content>
      
          </entry>
      <entry>
      <title>How to install it on your HDD</title>
      <link href="http://pixielive.org/index.php?post/2010/08/25/How-to-install-it-on-you-HDD" rel="alternate" type="text/html" title="How to install it on your HDD" />
      <id>urn:md5:d7392008cc2478abb0022bc2ae82b503</id>
      <published>2010-08-25T20:45:00+02:00</published>
              <updated>2013-04-20T14:43:18+02:00</updated>
                  <author>
        <name>Christian Lorandi</name>
      </author>
              <dc:subject>How-To</dc:subject>
                    <dc:subject>boot</dc:subject>
              <dc:subject>grub</dc:subject>
            <content type="html">&lt;p&gt;If you don't like to use PixieLive from the SD card (i.e. because you want your SD slot free) and you don't want to use it from your USB pendrive, you can run it from any partition on your HDD, you just need a partition, and GRUB.&lt;/p&gt; &lt;p&gt;A quick how-to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;copy boot/&lt;strong&gt;vmlinuz&lt;/strong&gt; and boot/&lt;strong&gt;initrd.gz&lt;/strong&gt; into the PixieLive directory (just files, not the boot directory)&lt;/li&gt;
&lt;li&gt;copy PixieLive directory into the partition you prefer (but &lt;strong&gt;NOT a NTFS&lt;/strong&gt; or the system will slow down due to the ntfs-3g slowness)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;DO NOT RENAME PixieLive 
directory&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;set the PixieLive section in your grub menu.lst in this way:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;#---------------------------------------------------------&lt;br /&gt;title PixieLive &lt;br /&gt;root (hd0, NUMBER_OF_THE_PARTITION)&lt;br /&gt;kernel /PixieLive/vmlinuz ramdisk_size=9000 root=/dev/ram0 resume=/dev/YOUR_SWAP_DIR rw AllowSuspension
&lt;br /&gt;initrd /PixieLive/initrd.gz&lt;br /&gt;#---------------------------------------------------------&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;pay attention, the numbering of partitions in (hd0, ?) start from 0, not from 1, so&lt;strong&gt; /dev/sda3&lt;/strong&gt; is &lt;strong&gt;(hd0,2)&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;resume&lt;/strong&gt;=/dev/sd?? may be omitted if you don't have any swap partition or don't want to hibernate the system&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;AllowSuspension &lt;/strong&gt;is only useful if you want to enable suspension on your system, and it's written on the same line of kernel... it seems on another line for the word-wrap&lt;/li&gt;
&lt;li&gt;Enjoy you semi-live distribution ;)&lt;/li&gt;
&lt;li&gt;If you 
boot from an ext(2,3,4) partition, you should use this fix &lt;a href=&quot;http://pixielive.org/dotclear/public/Config/ext_writing_fix.lzm&quot;&gt;Ext Wrinting Fix&lt;/a&gt; as described &lt;a href=&quot;http://pixielive.org/dotclear/index.php?post/2010/08/31/Fix-for-ext-installation&quot;&gt;here&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;add &lt;strong&gt;changes=/PixieLive/&lt;/strong&gt; to the kernel line to enable persistent changes feature&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;&lt;em&gt;PS: If you don't have have any grub installed, because you don't have any other linux distro installed... i think you will need to google a little bit to find out the solution, i don't have it yet :-p&lt;/em&gt;&lt;br /&gt;</content>
      
          </entry>
  </feed>
