Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3983
  • 博文数量: 2
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 20
  • 用 户 组: 普通用户
  • 注册时间: 2011-03-09 14:10
文章分类

全部博文(2)

文章存档

2015年(2)

我的朋友
最近访客

分类: LINUX

2015-08-08 16:25:31

安装Grub2到U盘

已有 17 次阅读2015-8-5 16:06

~# fdisk -l
~# mount -l
~# umount /dev/sdf*
~#  fdisk -H 224 -S 56 /dev/sdf
Command (m for help): p
Command (m for help): o
Command (m for help): p
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-624, default 1): 
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-624, default 624): 
Using default value 624
Command (m for help): x
Expert command (m for help): b
Partition number (1-4): 1
New beginning of data (56-7827455, default 56): 256
Expert command (m for help): r
Command (m for help): p
Command (m for help): u
Command (m for help): p
Command (m for help): a
Partition number (1-4): 1
Command (m for help): w
~# mke2fs -t ext2 -E stripe-width=32,resize=165G /dev/sdf1
~# tune2fs -c 0 -i 0 /dev/sdf1

#mount /dev/sdb1 /mnt/usb
#grub2-install --boot-directory=/mnt/usb /dev/sdb

在外国论坛找到的。


阅读(1431) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:修改WIN2008 IIS7的日期格式

给主人留下些什么吧!~~