# Windows 7 to Linux: install without CD/DVD or USB drive

Update Sorry, Question has multiple parts see below for details: I have been using Windows for many years and only used Linux from the command line, but want to shift after realizing Windows is sloowww.

Is there a better set of instructions? (I do not have a USB or CD/DVD)

Have got "debian-7.0.0-amd64-DVD-1.iso" and disks 2 & 3 and renamed 1 to d1.iso. Step 2 says to copy vmlinuz and initrd.gz to the \C drive

But I found these files in 3 places (I did a 7z.exe l -path-to-iso- >files.list)

install.amd\gtk\vmlinuz
install.amd\vmlinuz (update plan on using this but stuck at grub see below)
install.amd\xen\vmlinuz

And similarly:

install.amd\initrd.gz
install.amd\xen\initrd.gz
install.amd\gtk\initrd.gz

Which one to use?

Stuck at grub ...

Made the entry using bcdedit but it says grub is not valid. downloaded grub from the sourceforge site, copied it and pointed to it

bcdedit /create /d Linux /application  OSLOADER
bcdedit /set  {c1e718e7-3d90-11e1-a4c8-b5a356ae5e29} device partition=c:
bcdedit /set   {c1e718e7-3d90-11e1-a4c8-b5a356ae5e29}  path \grub\grub.exe

bcdedit -v


Gives me

Windows Boot Manager
--------------------
identifier              {9dea862c-5cdd-4e70-acc1-f32b344d4795}
device                  partition=\Device\HarddiskVolume2
description             Windows Boot Manager
locale                  en-US
inherit                 {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
default                 {c1e718e2-3d90-11e1-a4c8-b5a356ae5e29}
resumeobject            {c1e718e1-3d90-11e1-a4c8-b5a356ae5e29}
displayorder            {c1e718e2-3d90-11e1-a4c8-b5a356ae5e29}
{c1e718e7-3d90-11e1-a4c8-b5a356ae5e29}
toolsdisplayorder       {b2721d73-1db4-4c62-bf78-c548a880142d}
timeout                 30

-------------------
identifier              {c1e718e2-3d90-11e1-a4c8-b5a356ae5e29}
device                  partition=C:
description             Windows 7
locale                  en-US
inherit                 {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
recoverysequence        {c1e718e3-3d90-11e1-a4c8-b5a356ae5e29}
recoveryenabled         Yes
osdevice                partition=C:
systemroot              \Windows
resumeobject            {c1e718e1-3d90-11e1-a4c8-b5a356ae5e29}
nx                      OptIn

-------------------
identifier              {c1e718e7-3d90-11e1-a4c8-b5a356ae5e29}
device                  partition=C:
path                    \grub\grub.exe
description             Linux

-
Can you use a USB pendrive instead? –  terdon Jun 7 '13 at 20:25
embarrassed to say not this month. lost the two drives i had and don't have the budget to buy more. is it very hard from the drive? –  tgkprog Jun 7 '13 at 20:46
Haven't done so in a while but it should be possible and not that hard. Its just easier from a USB drive is all. And no reason for embarrassment, happens to the best of us :) –  terdon Jun 7 '13 at 20:47
You don't want the xen, I am not sure why you would have a gtk vmlinuz though. I'm not sure, but I would just use the "normal" one, the one that is in install.amd/ not the ones from the subdirectories. –  terdon Jun 7 '13 at 20:50
Not sure what you mean here but this is straying from the original question. It might be better to post a new question with the details of this problem. –  terdon Jun 9 '13 at 12:46

Debian is my personal favorite distribution. However, I have been using Linux for more than a decade and know my way around it. It is not the best distro to start with. Since you are new to Linux, I would recommend LinuxMint instead. It is based on Ubuntu which is based on Debian. It is easier to use without losing any of Debian's power or stability.

If you really really want to stick to a pure Debian, go for Linux Mint Debian, which is based directly on Debian, not Ubuntu and is a Debian in all ways. Everything you've read about Debian applies to LMDE as well. It just is slightly easier to install and configure, still not a beginner distro though.

Now, that said, the easiest way to install Debian from Windows is win32-loader:

== What is Win32-Loader? ==

win32-loader is a component of the Debian-Installer that runs on Windows and
has the ability to load the actual installer either from the network or from
CD-ROM media (as in the version included in the official CD images).

Installer from official Debian mirrors.

== How does it work? ==

After the language choice, the executable prompts the user for some
options and tries to get defaults from the Windows environment. It then
puts them in a Windows directory and safely modifies the Windows bootloader to
enable a choice between the legacy Windows installation and the Debian
installer at boot time.

On the next reboot, the user can choose to continue the installation of
Debian. The installation will be run using the defaults gathered from the
runtime analysis and user prompting.

== Installation Guide ==

As the Debian Installer is a minimal system, one might want to take a look at
the Debian Installation Guide before launching win32-loader.exe:

http://www.debian.org/releases/stable/installmanual


You may also be interested in reading the Debian installation guide. Specifically sections 4.4. Preparing Files for Hard Disk Booting and Chapter 5. Booting the Installation System.

-
thank you doing this –  tgkprog Jun 8 '13 at 14:14
trying to decide between linux, kFreeBSD & hurd and gnone & xfce. went with kFreeBSD with xfce. do you have a preference you would like to share? –  tgkprog Jun 8 '13 at 14:57
@tgkprog only that you should learn to walk before you try to run. kFreeBSD is a "release in progress" and "a technology preview" it really is not a good start to learn Linux. In fact, it's not even Linux, it uses the FreeBSD kernel. Why don't you first try a normal Debian install, learn your way around it and then go to experimental stuff? –  terdon Jun 8 '13 at 15:11
okay thanks. i was just going to reboot! will redo it with linux + xfce ? or do u think the gnome for first try? –  tgkprog Jun 8 '13 at 15:19
@tgkprog when it comes to higher level stuff like the Desktop Environment, go for whichever you want. The most user friendly and polished are gnome and kde, personally I really like Cinnamon. Xfce is fast and powerful but lacks certain features. All of them (and many others I haven't mentioned) are good and it is really just a personal choice. –  terdon Jun 9 '13 at 1:35

Ubuntu can be installed like a regular program in windows to create a dual boot.