整盘拷贝出现问题

最大的社区版本,Ubuntu的发源地
回复
罗非鱼
帖子: 980
注册时间: 2008-04-12 12:44

整盘拷贝出现问题

#1

帖子 罗非鱼 »

我使用命令
dd if=/dev/sda of=/dev/sdb bs=10240k

执行完成后,用blkid,请看结果。

blkid
/dev/sda1: UUID="54AF-15B1" TYPE="vfat"
/dev/sda2: UUID="28D02E2FD02E03A2" TYPE="ntfs"
/dev/sda5: UUID="a3464de4-5676-4ae3-b37a-a1f40708d5ec" TYPE="swap"
/dev/sda6: UUID="8b29114c-4f89-4c96-b0c0-579ce58c7345" TYPE="ext3"

/dev/sdb1: UUID="54AF-15B1" TYPE="vfat"
/dev/sdb2: UUID="28D02E2FD02E03A2" TYPE="ntfs"
/dev/sdb5: UUID="a3464de4-5676-4ae3-b37a-a1f40708d5ec" TYPE="swap"
/dev/sdb6: UUID="d38e60d8-6bfe-49f9-a381-d89b3b9bbb7f" SEC_TYPE="ext2" TYPE="ext3"

为何sda6 uuid 不等于sdb6 uuid?
头像
枫叶饭团
帖子: 14683
注册时间: 2010-06-16 1:05
系统: Mac OS X
来自: Tencent
联系:

Re: 整盘拷贝出现问题

#2

帖子 枫叶饭团 »

Ext3 is just and extension for Ext2, and if necessary, can be mounted as Ext2 instead. So that line is telling that the partitions secondary type is Ext2. So nothing is wrong there.
头像
youzhiyili
帖子: 2422
注册时间: 2012-03-22 20:42
系统: ubuntu22.04

Re: 整盘拷贝出现问题

#3

帖子 youzhiyili »

啊?原来真的连UUID也拷过去了,我以前还发帖问过
这么说dd以后就不用修改fstab和grub.cfg了...谢楼主 :em06
@自由建客 @qy117121 @枫叶饭团 @cikekid @YeLee @jtshs256 @eexpress @ljj_jjl2008 @zhw2101024 @TeliuTe @月下叹逍遥 @leeaman @懒蜗牛Gentoo @灰色小狼 @photor @adagio @JiangHui @phoenixlzx @oneleaf
回复