<?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 - Tag - installation</title>
  <subtitle type="html"></subtitle>
  <link href="https://pixielive.org/index.php?feed/tag/installation/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>
  </feed>
