<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://doc.lunar-linux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://doc.lunar-linux.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ratler</id>
		<title>Lunar Linux - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://doc.lunar-linux.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ratler"/>
		<link rel="alternate" type="text/html" href="http://doc.lunar-linux.org/Special:Contributions/Ratler"/>
		<updated>2026-04-04T14:39:43Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.1</generator>

	<entry>
		<id>http://doc.lunar-linux.org/Installation:No_CD</id>
		<title>Installation:No CD</title>
		<link rel="alternate" type="text/html" href="http://doc.lunar-linux.org/Installation:No_CD"/>
				<updated>2010-08-23T16:23:57Z</updated>
		
		<summary type="html">&lt;p&gt;Ratler: /* Usb bootable lunar */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing Lunar-Linux without a CD drive or other removable media isn't really that hard. There are several ways of emulating a cd-rom with linux. There's some easy ways and some hard ways. I'll try to discuss all of them.&lt;br /&gt;
&lt;br /&gt;
''Disclaimer: The methods below might destroy all your data and not work for you at all. Make backups! You yourself are responsible for your own data and system!''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Booting the ISO from a hard disk partition==&lt;br /&gt;
&lt;br /&gt;
Yes, I'm not kidding. This is by far one of the easiest methods. The idea behind this method is that you can boot the ISO from any media, all you need to do is boot from it. If that means that the ISO is somehow written on your hard disk, and you have a bootloader capable of booting boot sectors (like lilo, grub, windows all can do), then you're in business.&lt;br /&gt;
&lt;br /&gt;
'''requires:'''&lt;br /&gt;
&lt;br /&gt;
* Enough free disk space plus partition big enough for the iso image&lt;br /&gt;
* Any installed operating system and tools that allow directly to write to a partition&lt;br /&gt;
* A working boot loader like windows' bootloader, lilo or grub&lt;br /&gt;
&lt;br /&gt;
Your best bet is to free some space at the end of your disk. Make sure this is '''larger''' than the lunar iso (somewhere around 350mb). Create a partition and ''copy'' the contents of the iso to that partition:&lt;br /&gt;
&lt;br /&gt;
 cat lunar-1.5.1-i686.iso &amp;gt; /dev/hda15&lt;br /&gt;
&lt;br /&gt;
Once done, you should edit your bootloader (be it windows or grub or lilo) and make it boot the boot sector of the iso. Here's the lilo entry you would need:&lt;br /&gt;
&lt;br /&gt;
 other = /dev/hda15&lt;br /&gt;
     label = lunar-1.5.1&lt;br /&gt;
&lt;br /&gt;
That's it! reboot and select the iso entry, and you're ready to go! The lunar installer should start and everything should work just as good as from a CD!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Chrooting into the ISO==&lt;br /&gt;
&lt;br /&gt;
===Installing from 2.4 kernels with devfs support===&lt;br /&gt;
&lt;br /&gt;
If the above method fails, you can always manually chroot into the ISO and start the installer manually too.&lt;br /&gt;
&lt;br /&gt;
'''requires:'''&lt;br /&gt;
&lt;br /&gt;
* A running linux installation with relatively new 2.4 kernel that has devfs support and  allows chroot usage (must be root)&lt;br /&gt;
&lt;br /&gt;
This method is a bit trickier since you will be repartitioning your hard disk from which you just have booted, so you should actually install a '''small''' linux installation somewhere near the end of your disk, losetup/loopmount the iso on there, and then install to partitions that are NOT active/mounted. This might even fail since the kernel doesn't like changing partitions when it's running.&lt;br /&gt;
&lt;br /&gt;
So, start out by getting your 'tiny' linux running anf booting. Preferably install it at the end of your hard disk and re-partition the beginning of your hard disk already for the lunar installation. Reboot your system so the partitions are known by the kernel, and prepare to mount the ISO over loop:&lt;br /&gt;
&lt;br /&gt;
 losetup /dev/loop0 lunar-1.5.1-i686.iso&lt;br /&gt;
 mount /dev/loop0 /mnt -o ro&lt;br /&gt;
 chroot /mnt /sbin/lunar-install&lt;br /&gt;
&lt;br /&gt;
that's it! The installer should run and you can perform all steps necessary for installing lunar on the remaining partitions. At the end, make sure you don't accidentally overwrite your bootstrap linux installation so you can fallback to it. Beware that you might want to add the bootstrap bootloader info too, in case you want to boot that installation if something goes wrong. Once lunar installs succesfully, you can remove this partition of course.&lt;br /&gt;
&lt;br /&gt;
===Installing from 2.6 kernels with udev support===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===This is something different===&lt;br /&gt;
When the previous installation methods fail this is one you can ry as well:&lt;br /&gt;
&lt;br /&gt;
A more up-to-date method for 2.6 kernels with udev was outlined on #lunar (for installing from Debian?):&lt;br /&gt;
&lt;br /&gt;
 root@rescue ~ # wget http://download.lunar-linux.org/lunar/lunar-1.6.1-i686.iso.bz2&lt;br /&gt;
 root@rescue ~ # bunzip2 lunar-1.6.1-i686.iso.bz2 &lt;br /&gt;
 root@rescue ~ # mkdir tmp&lt;br /&gt;
 root@rescue ~ # mount lunar-1.6.1-i686.iso -o loop -t iso9660 tmp&lt;br /&gt;
 root@rescue ~ # cp -R tmp/* /tmp/&lt;br /&gt;
 root@rescue ~ # cp -R tmp/.packages /tmp/&lt;br /&gt;
 root@rescue ~ # cp -R tmp/.lunar-cd /tmp/&lt;br /&gt;
 root@rescue ~ # cd /tmp/&lt;br /&gt;
 root@rescue /tmp # mkdir -p proc &amp;amp;&amp;amp; mount -t proc proc ./proc&lt;br /&gt;
 root@rescue /tmp # mkdir -p dev &amp;amp;&amp;amp; mount -o bind /dev ./dev&lt;br /&gt;
 root@rescue /tmp # mkdir -p dev/pts &amp;amp;&amp;amp; mount -t devpts devpts ./dev/pts&lt;br /&gt;
 root@rescue /tmp # cd dev&lt;br /&gt;
 root@rescue /tmp/dev # ln -sf /proc/self/fd&lt;br /&gt;
 root@rescue /tmp/dev # ln -sf fd/0 stdin&lt;br /&gt;
 root@rescue /tmp/dev # ln -sf fd/1 stdout&lt;br /&gt;
 root@rescue /tmp/dev # ln -sf fd/2 stderr&lt;br /&gt;
 root@rescue /tmp/dev # rm null&lt;br /&gt;
 root@rescue /tmp/dev # mknod null c 1 3&lt;br /&gt;
 root@rescue /tmp/dev # cd&lt;br /&gt;
&lt;br /&gt;
 root@rescue ~ # chroot /tmp /sbin/lunar-install&lt;br /&gt;
&lt;br /&gt;
Version numbers obviously change over time, so please check the steps above before you begin.&lt;br /&gt;
&lt;br /&gt;
===Usb bootable lunar===&lt;br /&gt;
Starting from Lunar 1.6.5 the ISO support hybrid mode. To prepare your usb stick with the lunar iso &lt;br /&gt;
this is all you have to do&lt;br /&gt;
&lt;br /&gt;
 dd if=lunar.iso of=/dev/sdb bs=8192k&lt;br /&gt;
&lt;br /&gt;
or alternatively using cat&lt;br /&gt;
&lt;br /&gt;
 cat lunar.iso &amp;gt; /dev/sdb&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Make sure it's /dev/sdb and not /dev/sdb1. Replace sdb with the device representing the usb stick on your system.&lt;br /&gt;
&lt;br /&gt;
===Usb bootable lunar (old way, pre 1.6.5)===&lt;br /&gt;
&lt;br /&gt;
 root@morholt ~ # mkdosfs -F 16 /dev/sda1&lt;br /&gt;
 mkdosfs 2.11 (12 Mar 2005)&lt;br /&gt;
 root@morholt ~ # mkdir /mnt/stick&lt;br /&gt;
 root@morholt ~ # mkdir /mnt/iso&lt;br /&gt;
 root@morholt ~ # modprobe loop     &lt;br /&gt;
 root@morholt ~ # mount lunar-1.6.4-beta1-i686.iso -o loop /mnt/iso&lt;br /&gt;
 root@morholt ~ # mount /dev/sda1 /mnt/stick&lt;br /&gt;
 root@morholt ~ # cp -R /mnt/iso/isolinux /mnt/stick/syslinux&lt;br /&gt;
 root@morholt ~ # rename isolinux syslinux /mnt/stick/syslinux/isolinux*&lt;br /&gt;
 root@morholt ~ # ls /mnt/stick/syslinux/&lt;br /&gt;
 boot.cat  f2.txt  f4.txt           initrd  memtest  safe          syslinux.cfg&lt;br /&gt;
 f1.txt    f3.txt  generate-iso.sh  linux   readme   syslinux.bin&lt;br /&gt;
 root@morholt ~ # cp ~samuel/lunar-1.6.4-beta1-i686.iso /mnt/stick/&lt;br /&gt;
 root@morholt ~ # syslinux /dev/sda1&lt;br /&gt;
 root@morholt ~ # fdisk -l /dev/sda&lt;br /&gt;
 Disk /dev/sda: 1027 MB, 1027603456 bytes&lt;br /&gt;
 255 heads, 63 sectors/track, 124 cylinders&lt;br /&gt;
 Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;
 Disk identifier: 0x00000000&lt;br /&gt;
 &lt;br /&gt;
    Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
 /dev/sda1   *           1         125     1003464    b  W95 FAT32&lt;br /&gt;
 Partition 1 has different physical/logical endings:&lt;br /&gt;
      phys=(1023, 254, 63) logical=(124, 236, 63)&lt;br /&gt;
 # following step installs an mbr on the usbstick. Pay attention you need the stick, not the partition on the stick!&lt;br /&gt;
 root@morholt ~ # dd if=/usr/share/syslinux/mbr.bin of=/dev/sda&lt;br /&gt;
 # if you want you can install the module ''mbr'' to do the same for you (root@morholt ~ # install-mbr /dev/sda)  NOT NEEDED IF YOU DID THE DD!!&lt;/div&gt;</summary>
		<author><name>Ratler</name></author>	</entry>

	<entry>
		<id>http://doc.lunar-linux.org/Installation:No_CD</id>
		<title>Installation:No CD</title>
		<link rel="alternate" type="text/html" href="http://doc.lunar-linux.org/Installation:No_CD"/>
				<updated>2010-08-23T16:20:36Z</updated>
		
		<summary type="html">&lt;p&gt;Ratler: Added new method of booting from usb stick.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing Lunar-Linux without a CD drive or other removable media isn't really that hard. There are several ways of emulating a cd-rom with linux. There's some easy ways and some hard ways. I'll try to discuss all of them.&lt;br /&gt;
&lt;br /&gt;
''Disclaimer: The methods below might destroy all your data and not work for you at all. Make backups! You yourself are responsible for your own data and system!''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Booting the ISO from a hard disk partition==&lt;br /&gt;
&lt;br /&gt;
Yes, I'm not kidding. This is by far one of the easiest methods. The idea behind this method is that you can boot the ISO from any media, all you need to do is boot from it. If that means that the ISO is somehow written on your hard disk, and you have a bootloader capable of booting boot sectors (like lilo, grub, windows all can do), then you're in business.&lt;br /&gt;
&lt;br /&gt;
'''requires:'''&lt;br /&gt;
&lt;br /&gt;
* Enough free disk space plus partition big enough for the iso image&lt;br /&gt;
* Any installed operating system and tools that allow directly to write to a partition&lt;br /&gt;
* A working boot loader like windows' bootloader, lilo or grub&lt;br /&gt;
&lt;br /&gt;
Your best bet is to free some space at the end of your disk. Make sure this is '''larger''' than the lunar iso (somewhere around 350mb). Create a partition and ''copy'' the contents of the iso to that partition:&lt;br /&gt;
&lt;br /&gt;
 cat lunar-1.5.1-i686.iso &amp;gt; /dev/hda15&lt;br /&gt;
&lt;br /&gt;
Once done, you should edit your bootloader (be it windows or grub or lilo) and make it boot the boot sector of the iso. Here's the lilo entry you would need:&lt;br /&gt;
&lt;br /&gt;
 other = /dev/hda15&lt;br /&gt;
     label = lunar-1.5.1&lt;br /&gt;
&lt;br /&gt;
That's it! reboot and select the iso entry, and you're ready to go! The lunar installer should start and everything should work just as good as from a CD!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Chrooting into the ISO==&lt;br /&gt;
&lt;br /&gt;
===Installing from 2.4 kernels with devfs support===&lt;br /&gt;
&lt;br /&gt;
If the above method fails, you can always manually chroot into the ISO and start the installer manually too.&lt;br /&gt;
&lt;br /&gt;
'''requires:'''&lt;br /&gt;
&lt;br /&gt;
* A running linux installation with relatively new 2.4 kernel that has devfs support and  allows chroot usage (must be root)&lt;br /&gt;
&lt;br /&gt;
This method is a bit trickier since you will be repartitioning your hard disk from which you just have booted, so you should actually install a '''small''' linux installation somewhere near the end of your disk, losetup/loopmount the iso on there, and then install to partitions that are NOT active/mounted. This might even fail since the kernel doesn't like changing partitions when it's running.&lt;br /&gt;
&lt;br /&gt;
So, start out by getting your 'tiny' linux running anf booting. Preferably install it at the end of your hard disk and re-partition the beginning of your hard disk already for the lunar installation. Reboot your system so the partitions are known by the kernel, and prepare to mount the ISO over loop:&lt;br /&gt;
&lt;br /&gt;
 losetup /dev/loop0 lunar-1.5.1-i686.iso&lt;br /&gt;
 mount /dev/loop0 /mnt -o ro&lt;br /&gt;
 chroot /mnt /sbin/lunar-install&lt;br /&gt;
&lt;br /&gt;
that's it! The installer should run and you can perform all steps necessary for installing lunar on the remaining partitions. At the end, make sure you don't accidentally overwrite your bootstrap linux installation so you can fallback to it. Beware that you might want to add the bootstrap bootloader info too, in case you want to boot that installation if something goes wrong. Once lunar installs succesfully, you can remove this partition of course.&lt;br /&gt;
&lt;br /&gt;
===Installing from 2.6 kernels with udev support===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===This is something different===&lt;br /&gt;
When the previous installation methods fail this is one you can ry as well:&lt;br /&gt;
&lt;br /&gt;
A more up-to-date method for 2.6 kernels with udev was outlined on #lunar (for installing from Debian?):&lt;br /&gt;
&lt;br /&gt;
 root@rescue ~ # wget http://download.lunar-linux.org/lunar/lunar-1.6.1-i686.iso.bz2&lt;br /&gt;
 root@rescue ~ # bunzip2 lunar-1.6.1-i686.iso.bz2 &lt;br /&gt;
 root@rescue ~ # mkdir tmp&lt;br /&gt;
 root@rescue ~ # mount lunar-1.6.1-i686.iso -o loop -t iso9660 tmp&lt;br /&gt;
 root@rescue ~ # cp -R tmp/* /tmp/&lt;br /&gt;
 root@rescue ~ # cp -R tmp/.packages /tmp/&lt;br /&gt;
 root@rescue ~ # cp -R tmp/.lunar-cd /tmp/&lt;br /&gt;
 root@rescue ~ # cd /tmp/&lt;br /&gt;
 root@rescue /tmp # mkdir -p proc &amp;amp;&amp;amp; mount -t proc proc ./proc&lt;br /&gt;
 root@rescue /tmp # mkdir -p dev &amp;amp;&amp;amp; mount -o bind /dev ./dev&lt;br /&gt;
 root@rescue /tmp # mkdir -p dev/pts &amp;amp;&amp;amp; mount -t devpts devpts ./dev/pts&lt;br /&gt;
 root@rescue /tmp # cd dev&lt;br /&gt;
 root@rescue /tmp/dev # ln -sf /proc/self/fd&lt;br /&gt;
 root@rescue /tmp/dev # ln -sf fd/0 stdin&lt;br /&gt;
 root@rescue /tmp/dev # ln -sf fd/1 stdout&lt;br /&gt;
 root@rescue /tmp/dev # ln -sf fd/2 stderr&lt;br /&gt;
 root@rescue /tmp/dev # rm null&lt;br /&gt;
 root@rescue /tmp/dev # mknod null c 1 3&lt;br /&gt;
 root@rescue /tmp/dev # cd&lt;br /&gt;
&lt;br /&gt;
 root@rescue ~ # chroot /tmp /sbin/lunar-install&lt;br /&gt;
&lt;br /&gt;
Version numbers obviously change over time, so please check the steps above before you begin.&lt;br /&gt;
&lt;br /&gt;
===Usb bootable lunar===&lt;br /&gt;
Starting from Lunar 1.6.5 the ISO support hybrid mode. To prepare your usb stick with the lunar iso &lt;br /&gt;
this is all you need to do&lt;br /&gt;
&lt;br /&gt;
 dd if=lunar.iso of=/dev/sdb bs=8192k&lt;br /&gt;
&lt;br /&gt;
or alternatively using cat&lt;br /&gt;
&lt;br /&gt;
 cat lunar.iso &amp;gt; /dev/sdb&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Make sure it's /dev/sdb and not /dev/sdb1. Replace sdb with the device representing the usb stick on your system.&lt;br /&gt;
&lt;br /&gt;
===Usb bootable lunar (old way, pre 1.6.5)===&lt;br /&gt;
&lt;br /&gt;
 root@morholt ~ # mkdosfs -F 16 /dev/sda1&lt;br /&gt;
 mkdosfs 2.11 (12 Mar 2005)&lt;br /&gt;
 root@morholt ~ # mkdir /mnt/stick&lt;br /&gt;
 root@morholt ~ # mkdir /mnt/iso&lt;br /&gt;
 root@morholt ~ # modprobe loop     &lt;br /&gt;
 root@morholt ~ # mount lunar-1.6.4-beta1-i686.iso -o loop /mnt/iso&lt;br /&gt;
 root@morholt ~ # mount /dev/sda1 /mnt/stick&lt;br /&gt;
 root@morholt ~ # cp -R /mnt/iso/isolinux /mnt/stick/syslinux&lt;br /&gt;
 root@morholt ~ # rename isolinux syslinux /mnt/stick/syslinux/isolinux*&lt;br /&gt;
 root@morholt ~ # ls /mnt/stick/syslinux/&lt;br /&gt;
 boot.cat  f2.txt  f4.txt           initrd  memtest  safe          syslinux.cfg&lt;br /&gt;
 f1.txt    f3.txt  generate-iso.sh  linux   readme   syslinux.bin&lt;br /&gt;
 root@morholt ~ # cp ~samuel/lunar-1.6.4-beta1-i686.iso /mnt/stick/&lt;br /&gt;
 root@morholt ~ # syslinux /dev/sda1&lt;br /&gt;
 root@morholt ~ # fdisk -l /dev/sda&lt;br /&gt;
 Disk /dev/sda: 1027 MB, 1027603456 bytes&lt;br /&gt;
 255 heads, 63 sectors/track, 124 cylinders&lt;br /&gt;
 Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;
 Disk identifier: 0x00000000&lt;br /&gt;
 &lt;br /&gt;
    Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
 /dev/sda1   *           1         125     1003464    b  W95 FAT32&lt;br /&gt;
 Partition 1 has different physical/logical endings:&lt;br /&gt;
      phys=(1023, 254, 63) logical=(124, 236, 63)&lt;br /&gt;
 # following step installs an mbr on the usbstick. Pay attention you need the stick, not the partition on the stick!&lt;br /&gt;
 root@morholt ~ # dd if=/usr/share/syslinux/mbr.bin of=/dev/sda&lt;br /&gt;
 # if you want you can install the module ''mbr'' to do the same for you (root@morholt ~ # install-mbr /dev/sda)  NOT NEEDED IF YOU DID THE DD!!&lt;/div&gt;</summary>
		<author><name>Ratler</name></author>	</entry>

	<entry>
		<id>http://doc.lunar-linux.org/Installation:No_CD</id>
		<title>Installation:No CD</title>
		<link rel="alternate" type="text/html" href="http://doc.lunar-linux.org/Installation:No_CD"/>
				<updated>2010-08-23T16:10:59Z</updated>
		
		<summary type="html">&lt;p&gt;Ratler: /* Usb bootable lunar */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing Lunar-Linux without a CD drive or other removable media isn't really that hard. There are several ways of emulating a cd-rom with linux. There's some easy ways and some hard ways. I'll try to discuss all of them.&lt;br /&gt;
&lt;br /&gt;
''Disclaimer: The methods below might destroy all your data and not work for you at all. Make backups! You yourself are responsible for your own data and system!''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Booting the ISO from a hard disk partition==&lt;br /&gt;
&lt;br /&gt;
Yes, I'm not kidding. This is by far one of the easiest methods. The idea behind this method is that you can boot the ISO from any media, all you need to do is boot from it. If that means that the ISO is somehow written on your hard disk, and you have a bootloader capable of booting boot sectors (like lilo, grub, windows all can do), then you're in business.&lt;br /&gt;
&lt;br /&gt;
'''requires:'''&lt;br /&gt;
&lt;br /&gt;
* Enough free disk space plus partition big enough for the iso image&lt;br /&gt;
* Any installed operating system and tools that allow directly to write to a partition&lt;br /&gt;
* A working boot loader like windows' bootloader, lilo or grub&lt;br /&gt;
&lt;br /&gt;
Your best bet is to free some space at the end of your disk. Make sure this is '''larger''' than the lunar iso (somewhere around 350mb). Create a partition and ''copy'' the contents of the iso to that partition:&lt;br /&gt;
&lt;br /&gt;
 cat lunar-1.5.1-i686.iso &amp;gt; /dev/hda15&lt;br /&gt;
&lt;br /&gt;
Once done, you should edit your bootloader (be it windows or grub or lilo) and make it boot the boot sector of the iso. Here's the lilo entry you would need:&lt;br /&gt;
&lt;br /&gt;
 other = /dev/hda15&lt;br /&gt;
     label = lunar-1.5.1&lt;br /&gt;
&lt;br /&gt;
That's it! reboot and select the iso entry, and you're ready to go! The lunar installer should start and everything should work just as good as from a CD!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Chrooting into the ISO==&lt;br /&gt;
&lt;br /&gt;
===Installing from 2.4 kernels with devfs support===&lt;br /&gt;
&lt;br /&gt;
If the above method fails, you can always manually chroot into the ISO and start the installer manually too.&lt;br /&gt;
&lt;br /&gt;
'''requires:'''&lt;br /&gt;
&lt;br /&gt;
* A running linux installation with relatively new 2.4 kernel that has devfs support and  allows chroot usage (must be root)&lt;br /&gt;
&lt;br /&gt;
This method is a bit trickier since you will be repartitioning your hard disk from which you just have booted, so you should actually install a '''small''' linux installation somewhere near the end of your disk, losetup/loopmount the iso on there, and then install to partitions that are NOT active/mounted. This might even fail since the kernel doesn't like changing partitions when it's running.&lt;br /&gt;
&lt;br /&gt;
So, start out by getting your 'tiny' linux running anf booting. Preferably install it at the end of your hard disk and re-partition the beginning of your hard disk already for the lunar installation. Reboot your system so the partitions are known by the kernel, and prepare to mount the ISO over loop:&lt;br /&gt;
&lt;br /&gt;
 losetup /dev/loop0 lunar-1.5.1-i686.iso&lt;br /&gt;
 mount /dev/loop0 /mnt -o ro&lt;br /&gt;
 chroot /mnt /sbin/lunar-install&lt;br /&gt;
&lt;br /&gt;
that's it! The installer should run and you can perform all steps necessary for installing lunar on the remaining partitions. At the end, make sure you don't accidentally overwrite your bootstrap linux installation so you can fallback to it. Beware that you might want to add the bootstrap bootloader info too, in case you want to boot that installation if something goes wrong. Once lunar installs succesfully, you can remove this partition of course.&lt;br /&gt;
&lt;br /&gt;
===Installing from 2.6 kernels with udev support===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===This is something different===&lt;br /&gt;
When the previous installation methods fail this is one you can ry as well:&lt;br /&gt;
&lt;br /&gt;
A more up-to-date method for 2.6 kernels with udev was outlined on #lunar (for installing from Debian?):&lt;br /&gt;
&lt;br /&gt;
 root@rescue ~ # wget http://download.lunar-linux.org/lunar/lunar-1.6.1-i686.iso.bz2&lt;br /&gt;
 root@rescue ~ # bunzip2 lunar-1.6.1-i686.iso.bz2 &lt;br /&gt;
 root@rescue ~ # mkdir tmp&lt;br /&gt;
 root@rescue ~ # mount lunar-1.6.1-i686.iso -o loop -t iso9660 tmp&lt;br /&gt;
 root@rescue ~ # cp -R tmp/* /tmp/&lt;br /&gt;
 root@rescue ~ # cp -R tmp/.packages /tmp/&lt;br /&gt;
 root@rescue ~ # cp -R tmp/.lunar-cd /tmp/&lt;br /&gt;
 root@rescue ~ # cd /tmp/&lt;br /&gt;
 root@rescue /tmp # mkdir -p proc &amp;amp;&amp;amp; mount -t proc proc ./proc&lt;br /&gt;
 root@rescue /tmp # mkdir -p dev &amp;amp;&amp;amp; mount -o bind /dev ./dev&lt;br /&gt;
 root@rescue /tmp # mkdir -p dev/pts &amp;amp;&amp;amp; mount -t devpts devpts ./dev/pts&lt;br /&gt;
 root@rescue /tmp # cd dev&lt;br /&gt;
 root@rescue /tmp/dev # ln -sf /proc/self/fd&lt;br /&gt;
 root@rescue /tmp/dev # ln -sf fd/0 stdin&lt;br /&gt;
 root@rescue /tmp/dev # ln -sf fd/1 stdout&lt;br /&gt;
 root@rescue /tmp/dev # ln -sf fd/2 stderr&lt;br /&gt;
 root@rescue /tmp/dev # rm null&lt;br /&gt;
 root@rescue /tmp/dev # mknod null c 1 3&lt;br /&gt;
 root@rescue /tmp/dev # cd&lt;br /&gt;
&lt;br /&gt;
 root@rescue ~ # chroot /tmp /sbin/lunar-install&lt;br /&gt;
&lt;br /&gt;
Version numbers obviously change over time, so please check the steps above before you begin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Usb bootable lunar (old way, pre 1.6.5)===&lt;br /&gt;
&lt;br /&gt;
 root@morholt ~ # mkdosfs -F 16 /dev/sda1&lt;br /&gt;
 mkdosfs 2.11 (12 Mar 2005)&lt;br /&gt;
 root@morholt ~ # mkdir /mnt/stick&lt;br /&gt;
 root@morholt ~ # mkdir /mnt/iso&lt;br /&gt;
 root@morholt ~ # modprobe loop     &lt;br /&gt;
 root@morholt ~ # mount lunar-1.6.4-beta1-i686.iso -o loop /mnt/iso&lt;br /&gt;
 root@morholt ~ # mount /dev/sda1 /mnt/stick&lt;br /&gt;
 root@morholt ~ # cp -R /mnt/iso/isolinux /mnt/stick/syslinux&lt;br /&gt;
 root@morholt ~ # rename isolinux syslinux /mnt/stick/syslinux/isolinux*&lt;br /&gt;
 root@morholt ~ # ls /mnt/stick/syslinux/&lt;br /&gt;
 boot.cat  f2.txt  f4.txt           initrd  memtest  safe          syslinux.cfg&lt;br /&gt;
 f1.txt    f3.txt  generate-iso.sh  linux   readme   syslinux.bin&lt;br /&gt;
 root@morholt ~ # cp ~samuel/lunar-1.6.4-beta1-i686.iso /mnt/stick/&lt;br /&gt;
 root@morholt ~ # syslinux /dev/sda1&lt;br /&gt;
 root@morholt ~ # fdisk -l /dev/sda&lt;br /&gt;
 Disk /dev/sda: 1027 MB, 1027603456 bytes&lt;br /&gt;
 255 heads, 63 sectors/track, 124 cylinders&lt;br /&gt;
 Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;
 Disk identifier: 0x00000000&lt;br /&gt;
 &lt;br /&gt;
    Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
 /dev/sda1   *           1         125     1003464    b  W95 FAT32&lt;br /&gt;
 Partition 1 has different physical/logical endings:&lt;br /&gt;
      phys=(1023, 254, 63) logical=(124, 236, 63)&lt;br /&gt;
 # following step installs an mbr on the usbstick. Pay attention you need the stick, not the partition on the stick!&lt;br /&gt;
 root@morholt ~ # dd if=/usr/share/syslinux/mbr.bin of=/dev/sda&lt;br /&gt;
 # if you want you can install the module ''mbr'' to do the same for you (root@morholt ~ # install-mbr /dev/sda)  NOT NEEDED IF YOU DID THE DD!!&lt;/div&gt;</summary>
		<author><name>Ratler</name></author>	</entry>

	</feed>