Installing Debian from a USB stick with windows (in windows, Debian system is installed from USB flash drive)

Source: Internet
Author: User

Reference


Http://www.mike-hughes.net/linux/installing-debian-lenny-from-a-usb-stick-with-windows/

Http://h0bbel.p0ggel.org/installing-debian-from-a-usb-stick


Method 1

  1. Format the USB flash drive to FAT32
  2. Download DD, dd
  3. Download boot.img.gz
    Boot.img.gz
  4. Decompress the package to D:/workdir.
  5. Start-> cmd-> D:-> Cd workdir, and then decompress the DD to D:/workdir.
  6. Execute CommandDd.exe if = boot. IMG of = //./I: BS = 1 mI: The drive letter of your USB flash drive.
  7. Place the ISO file you want to install on the USB flash drive. ISO file

Insert the USB flash drive into the host to be installed and start the installation from the USB flash drive.


PS. I have repeated the above steps several times. during startup, the screen is black. After thinking for a long time, I used diskgenius to activate a partition. It turns out that my USB flash drive partition is not activated.

Second, the size of the USB flash drive is only MB. You cannot put a large file into it.

 

Method 2 (temporary problem)

  1. Download the ISO file.
  2. Download unetbootin
  3. Run unetbootin
  4. Select your ISO file. Here I select debian-506-i386-netinst.iso
  5. Click OK, where I:/is the location of the USB flash drive
  6. N

 

 

Method 3 create a PXE-like system in the USB flash drive

 

  1. Download disk genius, please google.
  2. Format the USB flash disk with disk genius and establish the DOS system. In this case, unplug the USB flash disk and start it on the new server. Set the USB flash drive to start and enter the disk Genius system.
  3. Format a USB flash drive
  4. Download grub4dos and extract grldr to the USB flash drive.
  5. Copy debian-506-i386-CD-1.iso to USB flash drive
  6. Extract initrd.gz and vmlinuz under the debian-506-i386-CD-1.iso/install. I .pdf to the root directory of the U disk (in this case, you need to load the optical drive ). Ftp://debian6.ustc.edu.cn/debian/dists/lenny/main/installer-i386/current/images/hd-media/
    Download initrd.gz, vmlinuz.
  7. Create menu. lst with the following content:

Title install linux from ISO <br/> Find -- Set-root/debian-506-i386-CD-1.iso <br/> kernel/vmlinuz <br/> initrd/initrd.gz <br/> boot/debian-506-i386-CD-1.iso <br/> title grub command line <br/> CommandLine <br/> title reboot computer <br/> Reboot <br/> title shutdown <br/> halt

 

Method 4

1. Download bootice

2. Select the second one, grub for DoS

3. grub4dos: extract grldr to the USB flash drive

4. ftp://debian6.ustc.edu.cn/debian/dists/lenny/main/installer-i386/current/images/hd-media/
Download initrd.gz, vmlinuz

5. Use the menu. lst mentioned above.

6. Check whether the USB flash drive is activated.

If the bootice in the previous step cannot be started, try the following MBR installation method.

Certificate -------------------------------------------------------------------------------------------------------------------------------------------------

 

Since the installation is complete, continue to talk a few things.


Installation Input Method

  • Configure locales

# Locale-
The result is as follows:
C
En_us.utf8
POSIX
Zh_cn
Zh_cn.gb18030
Zh_cn.gb2312
Zh_cn.gbk
Zh_cn.utf8

If not, # dpkg-reconfigure locales to select

If the problem persists, install the font.

Aptitude install ttf-arphic-bkai00mp <br/> aptitude install TTF-arphic-Ukai

  • Install fcitx

Aptitude install fcitx <br/> aptitude install im-Switch

  • Configure fcitx

Touch/etc/X11/xsession. d/95 Input
Vim/etc/X11/xsession. d/95 Input
The content is as follows:

Export lc_ctype = zh_CN.UTF-8 <br/> export xmodifiers = @ im = fcitx <br/> export xim = fcitx <br/> export xim_program = fcitx <br/> export gtk_im_module = fcitx <br/> export qt_im_module = xim <br/> fcitx

  • Restart X or the system.

Reboot
Or/etc/init. d/MCM restart

 

Video Playback

# Aptitude install totem-xine

# Aptitude install kaffeine

Video decoding, add

# Aptitue install libstdc ++ 5

Download http://debian-multimedia.org/pool/main/w/w32codecs/
W32codecs_20071007-0.1_i386.deb

# Dpkg-I w32codecs_20071007-0.1_i386.deb

Sudo Rm-RF/usr/lib/Win32/drvc. So/usr/lib/codecs/drvc. So do not receive error messages

 

Download Flash plug-in

# Dpkg-I install_flash_player_10_linux.deb

 

Adjust time

// Description: China National Time Server 210.72.145.44

# Cp/usr/share/zoneinfo/Asia/Shanghai/etc/localtime // The Time Zone is Asia/Shanghai

# Apt-Get install ntpdate
# Ntpdate 210.72.145.44

# Date // view the current time

# Hwclock-W // write the current time to the BIOS

 

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.