Chinaunix首页 | 论坛 | 博客
  • 博客访问: 15449774
  • 博文数量: 2005
  • 博客积分: 11986
  • 博客等级: 上将
  • 技术积分: 22535
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-17 13:56
文章分类

全部博文(2005)

文章存档

2014年(2)

2013年(2)

2012年(16)

2011年(66)

2010年(368)

2009年(743)

2008年(491)

2007年(317)

分类: LINUX

2008-04-10 13:28:34

文件: syslinux.rar windows下的syslinux
大小: 14KB
下载: 下载

《如何使用ubuntu自带的usb-creator工具创建liveusb》

自动制作ubuntu的u盘启动安装盘步骤详解

1.使用fdisk或者gparted将磁盘格式化成fat16
我的清华紫光e737 1G u盘插上之后是/dev/sdb  /dev/sdb1,所以如下:
luther@gliethttp:~/Desktop$ sudo fdisk /dev/sdb

Command (m for help): p

Disk /dev/sdb: 1044 MB, 1044905984 bytes
33 heads, 61 sectors/track, 1013 cylinders
Units = cylinders of 2013 * 512 = 1030656 bytes
Disk identifier: 0x04030201

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        1012     1018547+  83  Linux

Command (m for help): d1
Selected partition 1

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-1013, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-1013, default 1013):
Using default value 1013

Command (m for help): a  这样使得u盘成为active的主盘,这是比较重要的操作,否则不能正常
Partition number (1-4): 1

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
2.格式化磁盘成fat16
luther@gliethttp:~/Desktop$ sudo mkfs.vfat -F 16 -n ubuntu7_10 /dev/sdb1  
[注意:其中-n后边的u盘名字不能有.符号,否则启动进入之后鼠标不可见]
3.下载工具isotostick.sh
luther@gliethttp:~/Desktop$ wget
luther@gliethttp:~/Desktop$ chmod +x isotostick.sh
luther@gliethttp:~/Desktop$ sudo ./isotostick.sh ubuntu-7.10-desktop-i386.iso  /dev/sd1
Not verifying image...(no checkisomd5 in Ubuntu so skipping)!
Copying live image to USB stick
cp: cannot create symbolic link `/media/usbdev.MC7751/dists/stable': Operation not permitted
cp: cannot create symbolic link `/media/usbdev.MC7751/dists/unstable': Operation not permitted
Installing boot loader
USB stick set up as live image!
4.一切ok了,ubuntu usb stick live已经搞定了![gliethttp_20080410]


为了让u盘存储其他数据时不使根目录混乱,当不使用该u盘作为启动盘时,可以先将所有文件放到一个目录ubuntu7_10下,当需要时再把那些文件拷贝出来,这样u盘的根目录也就可以很简洁了!

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