系统之家 - 系统光盘下载网站!

当前位置:系统之家 > 系统教程 > Linux系统格式化分区时提示Could not s

Linux系统格式化分区时提示Could not start /dev怎么办?(2)

时间:2015-06-01 16:33:13 作者:qipeng 来源:系统之家 1. 扫描二维码随时看资讯 2. 请使用手机浏览器访问: https://m.xitongzhijia.net/xtjc/20150601/49819.html 手机查看 评论

  Installing:

  parted i686 2.1-25.el6 base 595 k

  TransactionSummary

  Install 1 Package(s)

  Totaldownload size: 595 k

  Installedsize: 2.1 M

  Isthis ok [y/N]: y

  DownloadingPackages:

  parted-2.1-25.el6.i686.rpm | 595 kB 00:16

  Runningrpm_check_debug

  RunningTransaction Test

  TransactionTest Succeeded

  RunningTransaction

  Installing : parted-2.1-25.el6.i686 1/1

  Verifying : parted-2.1-25.el6.i686 1/1

  Installed:

  parted.i686 0:2.1-25.el6

  Complete!

  安装完成后,再进行查询一次,已经安装成功。

  [root@linuxidc~]# rpm -q parted

  parted-2.1-25.el6.i686

  执行一下该命令:

  [root@linuxidc~]# partprobe

  Warning:WARNING: the kernel failed to re-read the partition table on /dev/sda (Deviceor resource busy)。 As a result, it maynot reflect all of your changes until after reboot.

  Warning:WARNING: the kernel failed to re-read the partition table on /dev/sdb (Deviceor resource busy)。 As a result, it maynot reflect all of your changes until after reboot.

  Warning:Unable to open /dev/sr0 read-write (Read-only file system)。 /dev/sr0 has been opened read-only.

  Warning:Unable to open /dev/sr0 read-write (Read-only file system)。 /dev/sr0 has been opened read-only.

  Error:Invalid partition table - recursive partition on /dev/sr0.

  然后执行格式化,就OK了,如果还提示出错,重启之后再执行格式化就可以了。

  [root@linuxidc~]# mkfs -t ext4 /dev/sda7

  mke2fs1.41.12 (17-May-2010)

  Filesystemlabel=

  OStype: Linux

  Blocksize=4096 (log=2)

  Fragmentsize=4096 (log=2)

  Stride=0blocks, Stripe width=0 blocks

  64384inodes, 257032 blocks

  12851blocks (5.00%) reserved for the super user

  Firstdata block=0

  Maximumfilesystem blocks=264241152

  8block groups

  32768blocks per group, 32768 fragments per group

  8048inodes per group

  Superblockbackups stored on blocks:

  32768, 98304, 163840, 229376

  Writinginode tables: done

  Creatingjournal (4096 blocks): done

  Writingsuperblocks and filesystem accounting information: done

  Thisfilesystem will be automatically checked every 35 mounts or

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

  上面就是Linux格式化分区报错Could not start /dev/sda No such file or directory的解决方法,通过执行partprobe 命令来解决分区问题。

发表评论

0

没有更多评论了

评论就这些咯,让大家也知道你的独特见解

立即评论

以上留言仅代表用户个人观点,不代表系统之家立场

其他版本软件

热门教程

人气教程排行

Linux系统推荐

扫码关注
扫码关注

扫码关注 官方交流群 软件收录