Chinaunix首页 | 论坛 | 博客
  • 博客访问: 350306
  • 博文数量: 93
  • 博客积分: 4578
  • 博客等级: 上校
  • 技术积分: 1005
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-13 08:12
文章分类
文章存档

2012年(2)

2011年(45)

2010年(46)

分类: LINUX

2011-08-26 08:28:18

Installing Debian from USB

USB device You can boot the Debian installer from a USB stick and do a net install! A small (64MB) USB flash drive (and recent BIOS) eliminates the need for a CD-ROM drive or a floppy drive. A computer with fewer moving parts has many benefits, including reduced cost and lower energy consumption. This is ideal for servers, and great for small computers that don't have room for extra drives. Use an existing USB-capable Linux computer to prepare the USB stick. Download these files:

1) vmlinuz
2) initrd.gz
3) 
4) debian-ver-i386-businesscard.iso

In this example, the USB stick is the SCSI device /dev/sda   Yours may be different!
Make sure to write to the correct device. You could destroy data!

# apt-get install mtools
# apt-get install syslinux
# apt-get install dosfstools
# modprobe usb-storage
# fdisk -l /dev/sda
# mkdosfs -I /dev/sda
# syslinux /dev/sda
# mount /dev/sda /mnt
# cp vmlinuz /mnt
# cp initrd.gz /mnt
# cp syslinux.cfg /mnt
# cp debian-ver-i386-businesscard.iso /mnt
# umount /mnt
# fsck.msdos /dev/sda

Now, on the target machine, set the first boot device in the BIOS to USB-ZIP,
insert your USB drive, and away you go!

阅读(8551) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~