Installing Debian from a hard drive on Win7

Source: Internet
Author: User

I've been trying to make my notebook into a Win7+debian dual system recently, because no matter how optimized, 2G of memory Win7 a Linux virtual machine on a laptop. After a period of data search, and read the official Debian installation documents, today finally realized. A lot of articles on the internet are feeling very troublesome, but also to download grub4dos, but also to change the boot. INI (Win7, instead of the bcdedit), but also change what menu.lst. In fact, if you just want to install Debian from Win7 and realize the coexistence of dual systems without any other requirements, the steps are not so complicated. in addition, many articles on the Internet (especially in Chinese) say that the method of installing Debian from hard disk-including the method I use below, is in fact similar to the USB stick installation method in official documents . As I understand it, the following hard disk partition for storing ISO and booting the installer is actually a big u disk. in the end my installation steps are the same as this one written by csdn it:

  1. Download the ISO file that matches your CPU architecture from the Debian website (installing Debian via the Internet). Although my laptop is installed with 32-bit Win7, my CPU is actually 64 bits, so I downloaded the AMD64 architecture: http://cdimage.debian.org/debian-cd/7.7.0/amd64/iso-cd/ Debian-7.7.0-amd64-netinst.iso. By the way, judging your CPU on the Win7 is 64-bit architecture: The simplest way is to right-click My Computer , click Properties , click Windows Experience Index , and then tap View and print performance and system details , one of which is to indicate whether the CPU supports 64-bit. It is estimated that the current CPU in the market should support 64-bit.
  2. partition the disk to make room for Debian. From administrative tools, go to Computer Management , Disk Management . With the Disk Management tool, I compressed my 200GB D drive to 120GB and created 1GB FAT32 partition from the empty 80GB to hold the ISO file just downloaded and the file to boot the Debian installer for a while. According to the CSDN blog post mentioned above, this partition must be in the FAT32 format. However, according to official documentation, FAT is also available.
  3. Copy the ISO file into the 1GB FAT32 partition you just created. Load the ISO with a virtual optical drive and execute its setup.exe program. This will create a Win32-loader folder in the C packing directory.
  4. In the above mentioned Debian website installing Debian via the Internet page, from tiny CD, USB sticks, etc. in the link provided in the section, download the hd-media/initrd.gz and Hd-media/vmlinuz files. For the sake of insurance, copy the two files to the same directory as the ISO file-the root directory of the 1GB FAT32 partition (based on the experience of many online articles), and they are also copied into the C:\win32-loader folder. Because there is also a initrd.gz in this folder, and it seems to be used to boot the CD-ROM installation, the installation process from the CD-ROM drive to search for installation files, and ultimately because the installation disc can not be installed to prevent the installation.
  5. Reboot the system and select the new Debian Installer Boot program (added by the previously running Setup.exe) in the startup item and go to the installer. You need to set up the network during the installation process to download the installation package. I used a home without a line from the WiFi provided, then everything went well. Install Debian in the previously vacated 79GB free partition. The Grub Boot program is written into the MBR. Grub automatically recognizes my Win7 and identifies my one-click Restore Bootstrapper.

The steps mentioned here are similar to the USB stick installation methods in the official documentation, see 5.1.2 section booting from Windows. However 4.4.1 Hard disk installer booting from Linux using LILO or Grub describes this method, which refers to LILO can not boot from the files on an NTF S file System. Another way to install the hard drive is to boot the Linux installer by running Loadlin.exe on DOS, via the install.bat extracted from ISO . But this requires that the operating system is currently working in real mode, and Win7 is working in V86 mode, so this method cannot be used on Win7 cmd.


It's the new Debian 7.7 interface that's just been installed. Now the Debian interface is starting to take on this refreshing route. I like this interface--simple and fresh design + quiet and calm tone, let people feel at ease.



Installing Debian from a hard drive on Win7

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.