<br><br><div><span class="gmail_quote">On 30 Jun 2005 16:58:43 -0000, <b class="gmail_sendername">Michael</b> <<a href="mailto:akikkeg02@sneakemail.com">akikkeg02@sneakemail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
For
a while, I've thought that if Windows users could install Linux as
easily as they can install any Windows program, they might be more
likely to give Linux a try.  When I came across
<a href="http://marc.herbert.free.fr/linux/win2linstall.html">http://marc.herbert.free.fr/linux/win2linstall.html</a> I realized
that it could be fairly simple to create such an installation program
using existing tools.  Here's a rough sketch of how such an
installer might work, taking advantage of WINGRUB or GRUB4DOS
(<a href="http://grub4dos.sourceforge.net/">http://grub4dos.sourceforge.net/</a>) to allow a removeable
media-less installation.  (WINGRUB and GRUB4DOS allow a
computer to boot into linux on a FAT or NTFS partion.)  This
system need not be wedded to any particular distribution, and different
distributions will surely have varying ideas on how best to implement
it.<br><br><br><br>intro explanation<br><br>automatic (or guided) installation?<br><br>determine (confirm) language<br><br>determine time, date, timezone, keyboard layout<br><br>guess (confirm) good amount of space for linux partition
<br><br>create installation script based on previous information<br><br>prompt to close programs, eject media, click restart<br><br>determine whether windows=NT or =9x<br><br>if NT<br><br>    append WINGRUB to boot.ini, set as default boot option
<br><br>    copy kernel, initrd, linux.iso, boot.lst to \boot<br><br>if 9x<br><br>    something similar with GRUB4DOS , never done it myself<br><br>reboot<br><br>user selects or defaults to WINGRUB/GRUB4DOS<br><br>linux boots and autodetects hardware (logged)
<br><br>script
removes WINGRUB/GRUB4DOS from boot.ini (if
installation     fails, computer will not keep
booting into linux)<br><br>installation program runs using install script, auto-detected hardware settings, installs GRUB to MBR (all logged)<br><br>reboot<br><br>next boot (windows or linux)<br><br>    check installation log
<br><br>    ask to send results to database<br><br>    delete \boot<br><br>first linux boot<br><br>    set up user<br><br>    run
program to copy over all windows documents, pictures,
audio      files, maybe even some settings<br><br><br><br>Let
me explain the installation process in plain English.  In the
first step, I imagine that the installer will give the user the choice
between accepting all of the installer's guesses or having a chance to
modify those choices.  The installer would then examine the
registry to determine the user's language, the system
time/date/timezone, and the keyboard layout.  It would then
determine the amount of free space on the hard drive and, based on the
amount of space needed for an installation and the amount of free space
remaining, make a guess as to the proper amount of space to partition
away for linux.  Based on all this information, the installer
would then create an installation sript for anaconda or the
debian-installer or whatever the distro uses.  It would place
this script, the kernel, initrd, and installation program, the distro's
base installation packages, and either WINGRUB or GRUB4DOS (depending
on what version of Windows the user is running) in the \boot directory,
and modify the user's startup files to boot into linux.  On
reboot, the computer would start up into linux and run the installation
program using the installation script.  In case something
goes wrong and the installation cannot finish, the installer should set
the computer to boot into Windows on the next boot as soon as
possible.  The installer would then partition the disk,
install the base packages, install GRUB to the master boot record, and
reboot.  At startup, GRUB would greet the user and ask
whether to boot into Windows or linux.  Regardless of which
OS the user boots, a program would run that would check the
installation log to see if everything went well with the
installation.  With the user's permission, it would send a
copy of the log to a database that would allow the distro to better
assess it's installer.  The program would then delete the
installation program and the supporting files (like the kernel, initrd,
and packages that were still on the windows partition).  On
the first linux boot, the user would be prompted to create a
user.  At this point, the user would have a workable linux
distribution that would dual-boot with windows, all without having to
so much as burn a CD.  In an ideal world, a linux program
would offer to copy over the user's files (and possibly some settings)
from the windows partition.<br><br><br><br>Unfortunately, although I am
computer literate, I have only the most basic programming skills and do
not have the knowledge necessary to create this
system.  Obviously a lot of the work is already done: WINGRUB
and GRUB4DOS can facilitate a diskless installation, the Nullsoft
Scriptable Install System could serve as the base for the Windows part
of the installer, and debian-installer and anaconda could serve as the
linux part of the installer.  The only thing left to do is to
put these pieces together.  If anybody actually reads this
far, what do you think?  Is this even a good
idea?  Would you be willing to work on this?  Do
you have any suggestions on other places to post this message (so far,
I've only posted it to the Ubuntu users list and the Fedora Core
desktop list)?  Thank you for taking the time to read and
consider this idea.</blockquote><div><br>

For breezy they are working on an OEM installer to <br>

"Provide an installation method which is suitable for OEMs."<br>

<a href="http://udu.wiki.ubuntu.com/OEMInstaller">http://udu.wiki.ubuntu.com/OEMInstaller</a><br>

That could be used for the first boot part.<br>
<br>
The graphical installer/ graphical partitioning may also help<br>


your cause<br>


<a href="http://udu.wiki.ubuntu.com/UbuntuDownUnder/BreezyGoals">http://udu.wiki.ubuntu.com/UbuntuDownUnder/BreezyGoals</a><br>

<br>
Is this something you have tried to do manually already?<br>

<br>
I think once you can do the process manually successfully and<br>
reliable, someone could then help with the programming details.<br>
And with the breezy pieces you could use out of the box peices <br>
it looks like. I have no experience with WINGRUB or GRUB4DOS,<br>
but if you can provide a howto on the process you want tested<br>
i could probably test in the windows lab at school.<br>
<br>
Regards,<br>
Todd<br>
<br>
<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Best, Michael<br><br>--<br>ubuntu-users mailing list<br><a href="mailto:ubuntu-users@lists.ubuntu.com">
ubuntu-users@lists.ubuntu.com</a><br><a href="http://lists.ubuntu.com/mailman/listinfo/ubuntu-users">http://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br></blockquote></div><br>