<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/gujin/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/gujin/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 07 Feb 2019 03:47:12 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gujin/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Home modified by Etienne LORRAIN</title><link>https://sourceforge.net/p/gujin/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,8 +1,476 @@
-Welcome to your wiki!
-
-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
-
-The wiki uses [Markdown](/p/gujin/wiki/markdown_syntax/) syntax.
-
-[[project_admins]]
-[[download_button]]
+
+
+
+
+&amp;lt;title&amp;gt;Gujin boot/Linux/system loader&amp;lt;/title&amp;gt;
+&amp;lt;meta content="program to start your PC and run Linux, Windows, *BSD from floppies, CDROMs, DVDs, hard disks..." name="Description"&amp;gt;
+&amp;lt;meta content="MBR bootloader bootmanager fdisk partition real-mode GCC Linux" name="Keywords"&amp;gt;
+
+
+
+
+&lt;h1&gt;&lt;a href="http://sourceforge.net/projects/gujin" target="_top"&gt; Gujin&lt;/a&gt; is hosted by
+&lt;a href="http://sourceforge.net/projects/gujin"&gt;
+&lt;img align="center" alt="Get gujin boot/system loader at SourceForge.net. Fast, secure and Free Open Source software downloads" height="30" src="http://sflogo.sourceforge.net/sflogo.php?group_id=15465&amp;amp;type=12" width="120"/&gt;&lt;/a&gt;
+&lt;/h1&gt;
+&lt;p&gt;Version v2.8.5&lt;/p&gt;
+&lt;hr/&gt;
+
+&lt;ul&gt;
+&lt;li&gt;&lt;a href="#WhatIsIt"&gt;What is Gujin&lt;/a&gt;&lt;/li&gt;
+
+&lt;li&gt;&lt;a href="#InstallHowTo"&gt;How to install&lt;/a&gt;&lt;/li&gt;
+
+&lt;li&gt;&lt;a href="#Documentation"&gt;Documentation&lt;/a&gt;&lt;/li&gt;
+
+&lt;li&gt;&lt;a href="#ScreenShoot"&gt;Screen shoots&lt;/a&gt;&lt;/li&gt;
+
+&lt;li&gt;&lt;a href="http://sourceforge.net/donate/index.php?group_id=15465"&gt;
+Donate to gujin boot/system loader  
+&lt;img align="center" alt="Donate to this project" src="http://images.sourceforge.net/images/project-support.jpg"/&gt;
+&lt;/a&gt;&lt;/li&gt;
+&lt;/ul&gt;
+
+&lt;h2&gt;&lt;a name="WhatIsIt"&gt;What is Gujin&lt;/a&gt;&lt;/h2&gt;
+
+&lt;p&gt;Here is the description you can find at
+&lt;a href="http://freshmeat.net/projects/gujin/" rel="nofollow" target="_blank"&gt; Freshmeat:&lt;/a&gt;
+&lt;br/&gt;&lt;cite&gt;
+Gujin is a PC boot loader which can analyze your partitions and filesystems.&lt;br/&gt;
+It finds the Linux kernel images available, as well as other bootable
+partitions (for *BSD, MS-DOS, Windows, etc.), files (*.kgz) and bootable
+disk images (*.bdi), and displays a graphical menu for selecting which
+system to boot.&lt;br/&gt;
+Gujin boots Linux kernel using the documented interface, like LILO and GRUB,
+so it doesn't need any other pre-installed bootloader. It can also directly
+load gzip'ed ELF32 or ELF64 files, with a simple interface to collect
+real-mode BIOS data.
+There is no need to execute anything after making a new kernel: just copy
+the kernel image file into the "/boot" directory, with a standard name.&lt;br/&gt;
+Gujin is written almost entirely in C with GCC, and it fully executes in
+real mode to be as compatible as possible.
+&lt;/cite&gt;
+&lt;/p&gt;
+
+
+&lt;p&gt;And here is Gujin's &lt;a href="http://wiki.osdev.org/Gujin" rel="nofollow" target="_blank"&gt; OSDev Wiki&lt;/a&gt;,
+and &lt;a href="http://wiki.linuxquestions.org/wiki/Gujin" rel="nofollow" target="_blank"&gt;Linux Wiki&lt;/a&gt;. &lt;/p&gt;
+&lt;p&gt;
+A patch which has never been merged due to lack of interest, and would solve the "ISO not able to locate its own "source" iso file", valid for most distributions:
+&lt;a href="https://code.launchpad.net/~etienne-lorrain/casper/gujin" rel="nofollow" target="_blank"&gt;Casper Gujin patch&lt;/a&gt;.
+&lt;/p&gt;
+
+&lt;p&gt;
+You can download the source code (you will need also gcc-4.5.1/gmp-5.0.1/mpfr-2.4.2/mpc-0.8.1/binutils-2.20.1
+to get the same binaries), download the pre-compiled pack for installation, the RPM or DEB packages
+(generated by the distribution toolchain), and/or the precompiled standard/debug executable in
+&lt;a href="http://sourceforge.net/project/showfiles.php?group_id=15465" target="_top"&gt; here&lt;/a&gt;.
+&lt;/p&gt;
+
+&lt;p&gt;
+If you have any question about Gujin, please ask them on a public list/forum
+(the ones on &lt;a href="http://sourceforge.net/projects/gujin/forums/forum/49128" target="_top"&gt;sourceforge&lt;/a&gt;
+should do the job, or use the list "gujin-users" at "lists.sourceforge.net" if you do not want to register SourceForge),
+I simply cannot find the time to answer same questions by E-mail more than once, and then spend time to write FAQs.
+&lt;a href="http://www.eyrie.org/~eagle/faqs/questions.html" rel="nofollow" target="_top"&gt;Why Ask Questions in Public?&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;hr width="40%"/&gt;
+&lt;center&gt;&lt;small&gt;Free advertisement&lt;/small&gt;
+&lt;p&gt;
+Want to do something your grandchildrens will thank you for?&lt;br/&gt;
+STOP eating fish! See &lt;a href="http://endoftheline.com/" rel="nofollow" target="_blank"&gt;The End Of The Line&lt;/a&gt; DVD.&lt;br/&gt;
+&lt;/p&gt;
+&lt;hr width="5%"/&gt;
+&lt;p&gt;
+Do not forget the other freedom, The Freedom of Information.&lt;br/&gt;
+&lt;a href="http://heatherbrooke.org/books/your-right-to-know/" rel="nofollow" target="_blank"&gt;Your Right To Know&lt;/a&gt; for U.K., read the book!
+Or &lt;a href="http://www.freedominfo.org/" rel="nofollow" target="_blank"&gt;freedominfo.org&lt;/a&gt; for other countries.&lt;br/&gt;
+The day I support Europe institutions is the day they enforce a strong Freedom of Information Act, see 
+&lt;a href="http://www.recognisemyright.info/rmr/" rel="nofollow" target="_blank"&gt;RMR&lt;/a&gt;.&lt;br/&gt;
+&lt;/p&gt;
+&lt;/center&gt;
+&lt;hr width="40%"/&gt;
+
+&lt;h2&gt;&lt;a name="#InstallHowTo"&gt;How to install&lt;/a&gt;&lt;/h2&gt;
+&lt;p&gt;
+The number of choices seems to be a problem for new users, because the installer tries to
+support every possible need - but it is in fact quite simple.&lt;/p&gt;
+&lt;dt&gt;Install as the main bootloader of a PC:
+&lt;/dt&gt;&lt;dd&gt;Then, use the Gujin package (.deb/.rpm) and your package manager. For instance
+on debian, right-click on the .deb file and select "Open with GDebi", or type "&lt;code&gt;dpkg -i gujin*.deb&lt;/code&gt;".&lt;br/&gt;
+For Fedora, you can type "&lt;code&gt;yum localinstall gujin*.rpm&lt;/code&gt;".
+This method also handle upgrading Gujin, by uninstalling the previous version and
+installing the new one. Unlike the Grub package, you can safely uninstall the Gujin
+package and your system will stay bootable using the bootloader which was previously
+installed.&lt;br/&gt;
+Because the upgrading method uninstall the previous version (and restore the previous
+bootloader) and then install the new version, you always keep the initial bootloader
+ready if you want to get rid of Gujin.&lt;br/&gt;
+The Gujin installer may create the file &lt;code&gt;/boot/gujin.cmd&lt;/code&gt; if it detects
+special booting options in &lt;code&gt;/proc/cmdline&lt;/code&gt;. See file &lt;code&gt;gujin.cmd&lt;/code&gt;
+in install*.tar.gz for real world examples.
+&lt;/dd&gt;
+&lt;p&gt;For all other choices, you need to execute the Gujin installer as root in a console.&lt;br/&gt;
+To get that executable, you either install the package as previously, or copy the
+executable from the file install*.tar.gz in the &lt;code&gt;/sbin&lt;/code&gt; directory.
+If you install manually, also copy the manual file gujin.8 in /usr/share/man/man8/.&lt;br/&gt;
+If you want to have the Gujin package installed (to access &lt;code&gt;/sbin/gujin&lt;/code&gt; installer) but
+keep Grub/LILO as your main bootloader, just type:
+&lt;code&gt;/sbin/gujin --remove /boot/gujin.ebios&lt;/code&gt; after installing the package.&lt;br/&gt;
+If you want to know which bootloader is currently installed in a device, just type:
+&lt;code&gt;/sbin/gujin --report /dev/sda&lt;/code&gt;
+&lt;/p&gt;
+&lt;dt&gt;Install on a USB hard disk, USB stick or a SD-card which is currently mounted on /media/usbdisk:
+&lt;/dt&gt;&lt;dd&gt;just type: &lt;code&gt;/sbin/gujin /media/usbdisk/gujin.ebios&lt;/code&gt;
+&lt;/dd&gt;
+&lt;dt&gt;Install on a USB hard disk, and format that device:
+&lt;/dt&gt;&lt;dd&gt;The main advantage of formating (to FAT) the device is that the complete
+content is written to known values, the device will be able to boot on BIOS which
+are more buggy. Other advantage is that the FAT filesystem is created to have
+aligned data blocks in all cases, so should be quicker to use.&lt;br/&gt;
+To install that way, you have first to backup all the files you want to keep (they
+will all be erased), locate and unmount that device (should be something like
+&lt;code&gt;/dev/sd&lt;b&gt;X&lt;/b&gt;&lt;/code&gt; with &lt;b&gt;X&lt;/b&gt; being a letter), remove all
+partitions of that device (gparted or fdisk) and then type:
+&lt;code&gt;/sbin/gujin --mbr /dev/sd&lt;b&gt;X&lt;/b&gt;&lt;/code&gt;&lt;br/&gt;
+&lt;/dd&gt;
+&lt;dt&gt;Install on a USB stick or a SD-card (as superfloppy), and format that device:
+&lt;/dt&gt;&lt;dd&gt;Even if those devices can be treated as USB hard disk like the precedent choice,
+most have the "removable" bit set in their USB description and will boot with more
+BIOS if they do not have any partition defined, like a floppy disk.&lt;br/&gt;
+To install that way, you have first to backup all the files you want to keep (they
+will all be erased), locate and unmount that device (should be something like
+&lt;code&gt;/dev/sd&lt;b&gt;X&lt;/b&gt;&lt;/code&gt; with &lt;b&gt;X&lt;/b&gt; being a letter), check that
+the device do not have any partition defined, and then type:
+&lt;code&gt;/sbin/gujin /dev/sd&lt;b&gt;X&lt;/b&gt;&lt;/code&gt;
+&lt;/dd&gt;
+&lt;dt&gt;Install a minimalistic bootloader on a PC with a single Linux distribution
+&lt;/dt&gt;&lt;dd&gt;If you have a PC with a single disk and a single Linux distribution on an
+ext2/3/4 filesystem, there is no need to have a full menu, or even a menu at all.
+You can install by:&lt;br/&gt;
+&lt;code&gt;/sbin/gujin -t tinyext4.bin /boot/minigujin.ebios&lt;/code&gt;&lt;br/&gt;
+At boot, Gujin will search for the newest kernel (by modification date) and
+load it without any question.&lt;br/&gt;
+The Linux parameters can be written inside /boot/minigujin.ebios with
+the --cmdline='' parameters, or be written in the /boot/gujin.cmd file.
+If the newest kernel has a problem, you can interrupt its load (and so load
+an older kernel) by pressing Control-Break.
+&lt;/dd&gt;&lt;dt&gt;Install as the El-Torito bootloader of a live CDROM/DVD
+&lt;/dt&gt;&lt;dd&gt;Just use the provided gujin.bcd in install*.tar.gz as your El-Torito
+boot file, or the file minigujin.bcd if you do not want any menu.&lt;br/&gt;
+You can regenerate those two *.bcd file, for instance to add a command
+line (if not using /boot/gujin.cmd) by:&lt;br/&gt;
+&lt;code&gt;/sbin/gujin gujin.bcd --cmdline=""&lt;/code&gt;&lt;br/&gt;
+&lt;code&gt;/sbin/gujin -t minigujin.bcd --stop_emulation=2 --cmdline=""&lt;/code&gt;
+&lt;/dd&gt;
+There is a lot of other options to &lt;code&gt;/sbin/gujin&lt;/code&gt;, but they are
+not needed in the general case, and you should ignore them if its is the first
+time you are trying the Gujin bootloader.
+&lt;li&gt;&lt;/li&gt;
+&lt;p&gt;&lt;/p&gt;
+
+
+&lt;h2&gt;&lt;a name="#Documentation"&gt;Documentation&lt;/a&gt;&lt;/h2&gt;
+
+&lt;p&gt;
+The documentation (FAQ &amp;amp; HowTo) is in file &lt;a href="../README.htm" target="_blank"&gt;README.htm&lt;/a&gt; in the source tar file.&lt;br/&gt;
+Gujin also has its "man" page in section 8: "man 8 gujin"&lt;br/&gt;
+Note also the file "install.txt" and the help given by --help/-h option of the
+"gujin" and "gzcopy" software included.
+&lt;/p&gt;
+
+&lt;p&gt;You basically have three flavour of the same Gujin bootloader, pre-compiled
+inside the "gujin" installer executable for ease of use:&lt;/p&gt;
+&lt;ul&gt;
+&lt;li&gt;&lt;b&gt;the standard one (around 330 Kbytes)&lt;/b&gt; supports everything, it can be
+  transformed by the "gujin" installer into a DOS program, a floppy, a partition,
+  a full disk image, or inserted into an ISO image, and it displays a complete menu.&lt;br/&gt;
+&lt;p&gt;
+  The "gujin" installer uses this standard bootloader if the "-t" option is not given,
+  and (try to) autodetect the intended format of the output using the filename
+  extension or the characteristics of the device.&lt;br/&gt;
+  Just type one of those in a Linux console (insert parameter --lang=fr for french version):
+&lt;/p&gt;
+&lt;code&gt;
+&lt;br/&gt;./gujin /boot/gujin.ebios  # install the second stage in contiguous file /boot/gujin.ebios and update the MBR (RAID still not supported)
+&lt;br/&gt;./gujin gujin.exe      # for DOS executable
+&lt;br/&gt;./gujin eltoritobootableimage.iso # to be able to copy that image to SD card or USB drive
+&lt;br/&gt;./gujin boot.144 --full    # For 1.44 Mb floppy image, for instance use with "mkisoimage -b boot.144", see Makefile target CD144FD
+&lt;br/&gt;./gujin gujin.bcd      # For Bootable CD in no emulation mode, use with "mkisoimage -no-emul-boot -boot-load-size 4 -b gujin.bcd"
+&lt;br/&gt;./gujin /dev/fd0       # autodetect the floppy in /dev/fd0 and format a new FAT12 with Gujin
+&lt;br/&gt;./gujin /dev/hdg3  # format a Gujin-bootable FAT16/32 filesystem on /dev/hdg3; this partition needs to be activated by the MBR (MBR is not modified)
+&lt;br/&gt;./gujin --mbr /dev/sda11   # format a Gujin-bootable FAT16/32 filesystem on /dev/sda11 and replace the code of the MBR to run Gujin from /dev/sda11 (keeping the partition table)
+&lt;br/&gt;./gujin /dev/sda0  # install Gujin into a B.E.E.R partition at end of the disk /dev/sda (needs empty space there) and set the MBR (keeping the partition table)
+&lt;br/&gt;
+&lt;/code&gt;
+&lt;p&gt; The uninstall method (i.e. replacing the MBR with the original one) is handled by Gujin itself in its
+ setup menu at boot time, but if you have used the "contiguous file method" (i.e. /boot/gujin.ebios) you
+ can also desinstall by "&lt;code&gt;./gujin --remove=/boot/gujin.ebios&lt;/code&gt;".&lt;br/&gt;
+ You can get some information on your installed bootloader using "&lt;code&gt;./gujin --report=/dev/sda&lt;/code&gt;".&lt;br/&gt;
+&lt;/p&gt;
+&lt;p&gt;
+ If you want to format the complete disk (i.e. erase/initialise the MBR and the partition table), for instance
+ to create a bootable USB drive, you have to umount and manually clear first the beginning of the device by:&lt;br/&gt;
+ &lt;code&gt;
+umount /dev/sdg*&lt;br/&gt;
+dd if=/dev/zero of=/dev/sdg bs=512 count=63     # triple check the output device of= parameter!!!&lt;br/&gt;
+&lt;/code&gt;
+And then invoke ./gujin to create either a disk image or a floppy image (with or without partition table):&lt;br/&gt;
+ &lt;code&gt;
+./gujin /dev/sdg --disk=BIOS:0x00,auto # (super)floppy image&lt;br/&gt;
+./gujin /dev/sdg --disk=BIOS:0x80,auto --mbr  # disk image&lt;br/&gt;
+ &lt;/code&gt;
+If your PC BIOS is new enough to support the Extended BIOS interface on USB disks, you can
+forget the parameter "&lt;code&gt;--disk=BIOS:0x?0,auto&lt;/code&gt;", the installer will defaults to "&lt;code&gt;--disk=EBIOS:0x?0,auto&lt;/code&gt;".&lt;br/&gt;
+Laptops like DELL PRECISION M70 will not boot if "--disk=BIOS:" is used (i.e. Extended BIOS only), netbook like EeePc will not boot
+if "--disk=EBIOS:" is used (i.e. BIOS only for USB keys).&lt;br/&gt;
+&lt;/p&gt;
+&lt;p&gt; If the only machine you can boot (after a disaster day) is a windows machine and you need a bootable
+floppy/USB stick as soon as possible, you can get file boot.144 or USB*Gb.img in install.tar.gz and get
+&lt;a href="http://www.chrysocome.net/downloads/dd-0.5.zip" rel="nofollow"&gt;dd for windows&lt;/a&gt;
+ (&lt;a href="http://www.chrysocome.net/dd" rel="nofollow" target="_blank"&gt;documentation&lt;/a&gt;).&lt;br/&gt;
+You then type &lt;code&gt;dd --list&lt;/code&gt; to list all drives available on your PC, look for "Removable media"
+on this list, you should have something like:&lt;br/&gt;
+&lt;/p&gt;&lt;pre&gt;+\\?\Device\Harddisk&lt;b&gt;9&lt;/b&gt;\Partition0
+  link to \\?\Device\Harddisk9\DR36
+  Removable media other than floppy. Block size = 512
+  size is &lt;b&gt;1048576000&lt;/b&gt; bytes
+&lt;/pre&gt;
+Where &lt;code&gt;Partition0&lt;/code&gt; means the whole disk. Check that by unplugging the USB stick, the corresponding entry disappear.&lt;br/&gt;
+Then backup any important file on that USB disk, they will be deleted.&lt;br/&gt;
+Then type in a console, if your USB key has a capacity of 1 Gbyte (you probably need administrator priviledge):&lt;br/&gt;
+&lt;pre&gt;+dd if=..\USB&lt;b&gt;1&lt;/b&gt;Gb.img of=\\?\Device\Harddisk&lt;b&gt;9&lt;/b&gt;\Partition0 --progress
+&lt;/pre&gt;
+&lt;b&gt;Take extreme care in selecting the right disk: it will destroy every files on that disk, if you have
+selected the wrong disk there isn't any recovery possible (never ever select a fixed hard disk),
+your windows PC would never boot again.&lt;/b&gt;&lt;br/&gt;
+Once the copy is done, remove and re-insert the USB stick, you should see a new disk with a single file named boot-ebi.sys.&lt;br/&gt;
+That method is not the best way to initialise a USB thumb drive because you will lose some of its capacity
+(USB*Gb.img are pre-made images for 1,000,000,000 bytes and multiple thereof), all your USB drives will have the
+same disk identifier, it will not boot if your BIOS do not support EBIOS for USB drives, but if you just have windows...&lt;br/&gt;
+&lt;p&gt;&lt;/p&gt;
+
+&lt;p&gt;
+To use the target "eltoritobootableimage.iso", you just need a bootable ISO image like ubuntu-9.10-desktop-i386.iso.&lt;br/&gt;
+If that image is written in a USB thumb drive like "&lt;code&gt;cat ubuntu-9.10-desktop-i386.iso &amp;gt; /dev/sdc ; sync&lt;/code&gt;", it will not
+produce a bootable USB thumb drive. Moreover, some PC (like my EeePc) do not accept to boot a USB device
+if a partition table is present, so most of the usual methods found on Internet to create a bootable USB drive do not
+work (on my EeePc).&lt;br/&gt;
+The solution is simple, just type "&lt;code&gt;./gujin ubuntu-9.10-desktop-i386.iso&lt;/code&gt;", it will modify the file ubuntu-9.10-desktop-i386.iso
+so that you can do "&lt;code&gt;cat ubuntu-9.10-desktop-i386.iso &amp;gt; /dev/sdc ; sync&lt;/code&gt;" and have a bootable USB disk.&lt;br/&gt;
+The modifications are just changing the first 512 bytes of ubuntu-9.10-desktop-i386.iso, and add a very small
+FAT12 filesystem at the end, so the modified file ubuntu-9.10-desktop-i386.iso is still a valid ISO image and can
+be written to a DVD and that does not affect El-Torito booting. The modifications are reversible by "--remove=" parameter.&lt;br/&gt;
+&lt;/p&gt;
+&lt;p&gt;
+  The "gujin" installer has a lot of options (seen by typing "./gujin -ha"), for instance the --full option for floppies
+  and the -w option to have a verbose  installation, the --read_retry, --cmdline="", --single_sector_load,
+  --partition_index=[1-4]... parameters.&lt;br/&gt;
+  The "gujin" installer produces the file "/boot/gujin.cmd" when it detects that command line parameters are
+  needed by the Linux kernel, reading file "/proc/cmdline". You can review that file and edit as needed.&lt;br/&gt;
+  Note also some binary debug versions of file "boot.bin" which can be transformed
+  into dbgdisk.exe, dbgfs.exe, dbgload.exe... for debugging (creates a file named "DBG" when
+  run under DOS - the file needs to be closed properly, for instance type ^C).
+&lt;/p&gt;&lt;/li&gt;
+&lt;/ul&gt;&lt;ul&gt;
+&lt;li&gt;
+  &lt;b&gt;the size optimised (50 Kbytes), DOS only version&lt;/b&gt; does not have
+  a menu, is regenerated by "./gujin -t mingujin.exe", and it has to be used like:
+&lt;code&gt;
+&lt;br/&gt;mingujin.exe D:\boot\vmlinuz D:\boot\initrd root=/dev/hda3 &lt;em&gt;&amp;lt;other kernel parameters&amp;gt;&lt;/em&gt;
+&lt;br/&gt;&lt;/code&gt;
+  or (the "initrd=" parameter has to follow the kernel name, always as 2nd parameter):
+&lt;code&gt;
+&lt;br/&gt;mingujin.exe D:\boot\vmlinuz initrd=D:\boot\initrd root=/dev/hda3 &lt;em&gt;&amp;lt;other kernel parameters&amp;gt;&lt;/em&gt;
+&lt;br/&gt;&lt;/code&gt;
+  If you do not have an initial RAM disk to load, either use a minus "-" sign or use
+  a parameter which cannot be a filename because it contains an equal "=" sign:
+&lt;code&gt;
+&lt;br/&gt;mingujin.exe D:\boot\vmlinuz - root=/dev/hdb5 &lt;em&gt;&amp;lt;other kernel parameters&amp;gt;&lt;/em&gt;
+&lt;br/&gt;&lt;/code&gt;
+  The &lt;em&gt;&amp;lt;kernel parameters&amp;gt;&lt;/em&gt; needs at least a "root=/dev/hd..." parameter,
+  this flavour will not try to probe anything, and return to DOS if an
+  error happens before Linux takes control of the PC.&lt;br/&gt;
+  Obviously, the kernel and initrd files have to be accessible by DOS, that mingujin.exe do
+  not have the filesystem detection functions at all.&lt;br/&gt;
+  You can display a list of possible parameter for your VESA video card to switch to
+  a VESA mode with "mingujin.exe /V" or "mingujin.exe -V", and set it (first parameter only)
+  like "mingujin /V=1024x768x32 c:vmlinuz ...".
+&lt;/li&gt;
+&lt;/ul&gt;&lt;ul&gt;
+&lt;li&gt;
+  &lt;b&gt;the size optimised (80 Kbytes), floppy only version&lt;/b&gt; to be used like:
+&lt;code&gt;
+&lt;br/&gt;./gujin -t tinystd.bin /dev/fd0
+&lt;br/&gt;mcopy vmlinuz-2.6.10 a:
+&lt;br/&gt;mcopy initrd-2.6.10 a:
+&lt;br/&gt;mdir a:
+&lt;br/&gt;&lt;/code&gt;
+  And then reboot by Control-Alt-Del or a power cycle. It should load the
+  kernel and the initrd and start Linux.&lt;br/&gt;
+  You can replace file tinystd.bin by tinyusb.bin when the device has partitions (like
+  when using --mbr-device=) to load the first kernel+initrd in the booted device with FAT filesystem,
+  and use ./gujin "--cmdline=" parameter to set the command line.&lt;br/&gt;
+  You can replace file tinystd.bin by tinyext4.bin for ext2/3/4fs partitions.&lt;br/&gt;
+  You can replace file boot.bin by tinycdrom.bin (with --stop_emulation=0) to load the first kernel+initrd
+  in the booted CDROM, and use ./gujin "--cmdline=" parameter to set the command line; see Makefile
+  target CDtiny for details.&lt;br/&gt; 
+&lt;/li&gt;
+&lt;/ul&gt;
+
+&lt;p&gt;
+One of the problem of using Gujin is that there is only one command line editable and
+stored, so it is difficult to manage multiple distributions with different command lines.&lt;br/&gt;
+I have added a small executable named "gujin-cmdline" to insert an "embedded command line"
+into some free space of vmlinuz files (i.e. the end of the bootsector). The starting marker
+is simply "cmdline:" and the string has to be zero terminated, it has to be located below
+the first vmlinuz parameter. The maximum space there is currently 296 bytes.&lt;br/&gt;
+This embedded command line can only be edited under Linux, use as:&lt;br/&gt;&lt;code&gt;
+./gujin-cmdline /boot/bzImage+2.6.24  # to display this embedded command line&lt;br/&gt;
+./gujin-cmdline /boot/bzImage+2.6.24 "root=/dev/sda6"  # to set it&lt;br/&gt;&lt;/code&gt;
+Gujin will erase this field from memory before running the kernel, so Linux will
+never see the difference. Other bootloaders will not see any difference neither.
+&lt;/p&gt;
+
+&lt;p&gt;
+In short, to make all this possible, I wrote a GCC interface to the PC BIOS
+and all the library functions needed to easily boot a kernel.&lt;br/&gt;
+I also wrote a DOS interface to be used if you booted a rescue DOS floppy or
+if you choose "return to DOS" in Windows 3.x/9x. This DOS software &lt;em&gt;should work
+everywhere but&lt;/em&gt; will not be able to start Linux in a Windows DOS box -
+you do not want to do that anyways (too many open files not properly closed, 
+so a scandisk at boot).&lt;br/&gt;
+I am using a completely re-written GZIP (decompression only) library, 100%
+compatible with
+&lt;a href="http://www.gzip.org/" rel="nofollow" target="_blank"&gt; GZIP&lt;/a&gt; and 
+&lt;a href="http://freshmeat.net/projects/zlib" rel="nofollow" target="_blank"&gt; zlib&lt;/a&gt;
+and a small Linux/UNIX "gzcopy" application to edit the comment field of
+GZIP files.&lt;br/&gt;
+The main reason for the rewrite is a smaller program size, it has been
+seriously tested (10 CD-ROM full of .tar.gz decompressed and CRC checked),
+but if anyone find a problem (else than CDROM not readable or a file
+renamed to *.gz after being compressed with another tool) I will be glad
+to hear from it.&lt;br/&gt;
+I am also using a completely re-written E2/3/4FS (read only, only fixed size inodes)
+library, a DOS FAT12/16/32 (read only) and a ISO9660 library to search for and load kernels;
+they have been tested extensively (E2FS, E3FS with 1 &amp;amp; 4 Kbytes blocks, lot of
+DOS filesystems, CDROM and DVDROM), no problem has been found.&lt;br/&gt;
+There isn't any NTFS nor CDROM/UDF support.&lt;br/&gt;
+The system to access the video interface, which can handle in graphic modes
+CGA/EGA only, VGA only, VESA1 only and VESA2+ video card is unique to Gujin.&lt;br/&gt;
+Four types of mouse are detected, for fun you can even have a joystick on
+a VT320 when using the serial interface - I have to make a screen shoot
+one day!&lt;br/&gt;
+The size of this bootloader (only one file) is in between 50 and 250 Kbytes,
+depending on the compile time options.
+&lt;/p&gt;
+
+&lt;h2&gt;&lt;a name="#ScreenShoot"&gt;Screen Shoots&lt;/a&gt;&lt;/h2&gt;
+
+&lt;p&gt;Screenshots are not easy to take in the real BIOS environment, but
+fortunately &lt;a href="http://www.dosemu.org/" rel="nofollow" target="_blank"&gt; DosEmu&lt;/a&gt; is here,
+to give you some idea of what you get, just before switching to graphic (if verbose mode is active):&lt;br/&gt;
+&lt;img alt="boot image" src="../start.png"/&gt;&lt;/p&gt;
+&lt;p&gt;You should check at least once that this information is correct, for instance note
+that here, I have a partition 45667938 sectors (i.e. 21 Gbytes) bigger than the filesystem
+it contains (a 22 Gbytes partition where I copied the Damn Small Linux bootable
+CDROM by "cat /dev/cdrom ⊃ /dev/hda8" - obviouly a lot of wasted space for this
+100 Mb CDROM); you can then uncheck the "verbose" box in the setup screen for
+a "quick" boot.&lt;/p&gt;
+
+&lt;p&gt;Just after switching to graphic, you will see something like this if you
+have a Linux distribution with a memtest floppy image and three kernels, a Redmond system,
+a CDROM image inside a partition, and the demo standalone *.kgz on a floppy:&lt;br/&gt;
+&lt;img alt="main image" src="../main.png"/&gt;&lt;/p&gt;
+&lt;p&gt;Then, if a mouse/joystick has been detected, you can click to one of the
+highlighted fields to either switch to another video mode or boot a kernel,
+else you can use the keyboard interface (keys '+', '-','/', '*' ... , and function keys).&lt;br/&gt;
+Note that those kernels have been found automagically, they are not described
+in any "/etc/gujin.conf" file: this file do not and will never exist.&lt;/p&gt;
+
+&lt;p&gt;If you press "space" or the "setup" field (on the top right), you can
+setup the display and remove some fields (click on checkboxes):&lt;br/&gt;
+&lt;img alt="setup image" src="../setup.png"/&gt;&lt;/p&gt;
+
+&lt;p&gt;So you get by re-clicking setup or re-pressing space:&lt;br/&gt;
+&lt;img alt="simple image" src="../simple.png"/&gt;&lt;/p&gt;
+
+&lt;p&gt;The setup screen has a lot more checkboxes, to search kernel and/or MBR,
+to search on floppy disks or on BIOS disks or only on IDE...:&lt;br/&gt;
+&lt;img alt="setup2 image" src="../setup2.png"/&gt;&lt;/p&gt;
+
+&lt;p&gt;To show a screenshot of Gujin menu with CDROM/DVDs, I need to use another
+emulator: &lt;a href="http://bochs.sourceforge.net/" target="_blank"&gt; Bochs&lt;/a&gt;.&lt;br/&gt;
+This one is slower but simulate correctly the (first session only) of CDROMs.
+If you want to generate more complex CDROMs than this one, you should read the
+few commands lines of target "CDall" and/or "CD_BDI" in file Makefile.&lt;br/&gt;
+&lt;img alt="main Bochs image" src="../bochs.png"/&gt;&lt;/p&gt;
+
+&lt;p&gt;You can also change the language used at run time by typing
+Control T - look at "messages.h" file to help supporting/correcting
+your own language...&lt;br/&gt;
+&lt;img alt="french setup image" src="../setup-fr.png"/&gt;&lt;/p&gt;
+
+&lt;p&gt;At the end (press the end key or click on the button) you get some
+command, last one being "uninstall" to remove Gujin and restore the
+old boot process. Here, that option is not enabled because dosemu
+has booted from a floppy, so there isn't any saved boot sector:&lt;br/&gt;
+&lt;img alt="cmd image" src="../cmd.png"/&gt;&lt;/p&gt;
+
+&lt;p&gt;You can also get more unusual video modes, like text mode 40x25:&lt;br/&gt;
+&lt;img alt="mode0 image" src="../mode0.png"/&gt;&lt;/p&gt;
+&lt;p&gt;16 colors video modes in VGA only graphic:&lt;br/&gt;
+&lt;img alt="sixteen color image" src="../color16.png"/&gt;&lt;/p&gt;
+&lt;p&gt;or even 4 colors video modes (2 Bit Per Pixel but in dosemu):&lt;br/&gt;
+&lt;img alt="four color image" src="../color4.png"/&gt;&lt;/p&gt;
+&lt;p&gt;Yes, that is the same software, the same floppy!&lt;/p&gt;
+
+&lt;p&gt;By the way, if you do, on a test floppy:
+&lt;code&gt;
+&lt;br/&gt;./gujin --full /dev/fd0 --serial=com1,9600,n,8,1
+&lt;br/&gt;&lt;/code&gt;
+put this floppy in the PC to boot, and link the two PCs by
+a crossed serial line (fully wired null-modem) (with or without
+two modems and a phone line in between), you can type:&lt;br/&gt;
+&lt;img alt="serial connection" src="../ttys0.png"/&gt;&lt;/p&gt;
+&lt;p&gt;The "serial initialisation failed" is due to no answer
+received whatsoever when interrogating the terminal type - Gujin then
+assumes a monochrome VT100 terminal. If you have a more powerful
+terminal, like a color VT430, or a VT420 which can do 132 columns
+and 48 lines, be sure to connect it before the identification code is asked
+(physical terminal autodetection).&lt;/p&gt;
+&lt;p&gt;You can start minicom/GtkTerm/PuTTY and set it to /dev/ttyS0, 9600 bauds,
+no parity 8 bits, no hardware flow control and get:&lt;br/&gt;
+&lt;img alt="serial menu" src="../minicom.png"/&gt;&lt;/p&gt;
+&lt;p&gt;Active/clickable fields are underlined, as usual.&lt;/p&gt;
+&lt;p&gt;Selecting a kernel will really boot it (you will have the console
+on your serial line) - you will need to setup getty to accept connection
+on serial line (in /etc/inittab) if you want to connect (see also /etc/securetty).&lt;/p&gt;
+
+&lt;p&gt;Have fun!&lt;/p&gt;
+&lt;hr/&gt;
+
+&lt;p&gt;Comments to &lt;a href="mailto:etienne@gujin.org"&gt;Etienne Lorrain&lt;/a&gt;.&lt;br/&gt;
+
+&lt;a href="http://sourceforge.net/donate/index.php?group_id=15465"&gt;
+&lt;b&gt;Donate to gujin boot/system loader&lt;/b&gt;  
+&lt;img align="center" alt="Donate to this project" src="http://images.sourceforge.net/images/project-support.jpg"/&gt;
+&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;p&gt;&lt;em&gt;Last modified 2010-12-03&lt;/em&gt;&lt;/p&gt;
+
+&lt;hr/&gt;
+&lt;a href="http://www.softwarefreedom.org/" rel="nofollow" target="_blank"&gt;&lt;img alt="[frdm] Support SFLC" border="0" height="31" rel="nofollow" src="http://www.softwarefreedom.org/img/support-sflc.png" title="Software Freedom Law Center" width="88"/&gt;&lt;/a&gt;
+
+&lt;p&gt;&lt;a href="http://sourceforge.net/projects/gujin" target="_top"&gt; Gujin&lt;/a&gt; is hosted by
+&lt;a href="http://sourceforge.net/projects/gujin"&gt;
+&lt;img align="center" alt="Get gujin boot/system loader at SourceForge.net. Fast, secure and Free Open Source software downloads" height="30" src="http://sflogo.sourceforge.net/sflogo.php?group_id=15465&amp;amp;type=12" width="120"/&gt;&lt;/a&gt;
+&lt;/p&gt;
+
+
+
+
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Etienne LORRAIN</dc:creator><pubDate>Thu, 07 Feb 2019 03:47:12 -0000</pubDate><guid>https://sourceforge.neted7b2d033f14c447b2e896e9dbc461744bce3ede</guid></item><item><title>WikiPage Home modified by Etienne LORRAIN</title><link>https://sourceforge.net/p/gujin/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/gujin/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;a href="/u/userid-112517/"&gt;Etienne LORRAIN&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;span class="download-button-511547b834309d4b5bc8ac3e" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Etienne LORRAIN</dc:creator><pubDate>Fri, 08 Feb 2013 18:45:13 -0000</pubDate><guid>https://sourceforge.net2ee7cbf183a3da0e23a8c5a4e3d1bd44b86ae5d4</guid></item></channel></rss>