立即注册 登录
番茄花园 返回首页

醉苦居士的个人空间 https://www.tomatolei.com/?34336 [收藏] [复制] [分享] [RSS]

日志

安装Grub2到U盘

已有 777 次阅读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


路过

鸡蛋

鲜花

握手

雷人

全部作者的其他最新日志

评论 (0 个评论)

返回顶部