欧美一区2区三区4区公司二百,国产精品婷婷午夜在线观看,自拍偷拍亚洲精品,国产美女诱惑一区二区

歡迎來到云服務(wù)器

系統(tǒng)配置

U盤方法安裝Debian系統(tǒng)呈現(xiàn)錯誤Error: Incorrect CD-ROM detect

有點(diǎn)厭倦了yum軟件安裝的繁瑣,,想安裝Debian,新鮮一下。

沒有光盤,只能用U盤做系統(tǒng)盤,不滿于老是憑據(jù)別人的步調(diào)安裝,稍微有些問題就辦理不了,抉擇稍微進(jìn)修一下grub的利用。

空話少說,上步調(diào):

1、在U盤安裝grub2

條件:

  電腦設(shè)為從USB設(shè)備啟動。
  要有一個Linux系統(tǒng)來安裝Grub.

實施步調(diào):

將U盤分為2個區(qū),第一個區(qū)為vfat名目,第二個區(qū)為ext2名目,grub安裝到第二個區(qū),將第二個區(qū)作為可引導(dǎo)區(qū)

1、分區(qū)

[[email protected] ~]# fdisk /dev/sdb  

  

Command (m for help): d  

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-487, default 1):  

Using default value 1  

Last cylinder or +size or +sizeM or +sizeK (1-487, default 487): +3072M  

  

Command (m for help): n  

Command action  

   e   extended  

   p   primary partition (1-4)  

p  

Partition number (1-4): 2  

First cylinder (375-487, default 375):  

Using default value 375  

Last cylinder or +size or +sizeM or +sizeK (375-487, default 487):  

Using default value 487  

  

Command (m for help): w  

The partition table has been altered!  

  

Calling ioctl() to re-read partition table.  

  

WARNING: Re-reading the partition table failed with error 16: 設(shè)備或資源忙.  

The kernel still uses the old table.  

The new table will be used at the next reboot.  

Syncing disks.  


2、名目化分區(qū)
卸載U盤:在桌面右鍵點(diǎn)擊“刪除文件卷”
插上U盤

[[email protected] ~]# ls /dev/sd*  

/dev/sda  /dev/sda1  /dev/sda2  /dev/sda3  /dev/sda4  /dev/sda5  /dev/sda6  /dev/sda7  /dev/sda8  /dev/sdb  /dev/sdb1  /dev/sdb2  

  

[[email protected] ~]# umount /dev/sdb1  

[[email protected] ~]# umount /dev/sdb2  

[[email protected] ~]# mkfs.vfat /dev/sdb1  

mkfs.vfat 2.11 (12 Mar 2005)  

[[email protected] ~]# mkfs.ext2 /dev/sdb2  

mke2fs 1.39 (29-May-2006)  

Filesystem label=  

OS type: Linux  

Block size=4096 (log=2)  

Fragment size=4096 (log=2)  

113568 inodes, 226918 blocks  

11345 blocks (5.00%) reserved for the super user  

First data block=0  

Maximum filesystem blocks=234881024  

7 block groups  

32768 blocks per group, 32768 fragments per group  

16224 inodes per group  

Superblock backups stored on blocks:  

        32768, 98304, 163840  

  

Writing inode tables: done                              

Writing superblocks and filesystem accounting information: done  

  

This filesystem will be automatically checked every 24 mounts or  

180 days, whichever comes first.  Use tune2fs -c or -i to override.  

3、激活/dev/sdb2

[[email protected] ~]# fdisk /dev/sdb  

  

Command (m for help): a  

Partition number (1-4): 2  

  

Command (m for help): w  

The partition table has been altered!  

  

Calling ioctl() to re-read partition table.  

Syncing disks.  

  

[[email protected] ~]# fdisk -l  

...  

Disk /dev/sdb: 4008 MB, 4008706048 bytes  

255 heads, 63 sectors/track, 487 cylinders  

Units = cylinders of 16065 * 512 = 8225280 bytes  

  

騰訊云代理

Copyright © 2003-2021 MFISP.COM. 國外vps服務(wù)器租用 夢飛云服務(wù)器租用 版權(quán)所有 ? 粵ICP備11019662號

主站蜘蛛池模板: 周至县| 宜良县| 沾益县| 巫溪县| 商都县| 玉龙| 酒泉市| 涞水县| 明水县| 建昌县| 松桃| 阿坝| 长岛县| 英吉沙县| 玛沁县| 东安县| 朔州市| 天镇县| 西畴县| 依兰县| 迭部县| 合肥市| 西宁市| 邯郸县| 嫩江县| 禹州市| 泸西县| 喀什市| 南投市| 平顺县| 唐山市| 穆棱市| 望江县| 长垣县| 宜春市| 河南省| 长兴县| 元氏县| 雅安市| 县级市| 玉屏|