Comments on: How to Backup or Clone Linux Partitions Using ‘cat’ Command https://www.tecmint.com/backup-or-clone-linux-partitions-using-cat-command/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 13 Jul 2023 21:44:36 +0000 hourly 1 By: Bob Brunius https://www.tecmint.com/backup-or-clone-linux-partitions-using-cat-command/comment-page-1/#comment-1513318 Sun, 30 May 2021 17:48:25 +0000 http://www.tecmint.com/?p=19885#comment-1513318 In reply to Bob Brunius.

BTW running:

$ sudo dd if=/dev/sda2  of=/dev/sdb1 

had no permission issue and it ran ok for me.

]]>
By: Bob Brunius https://www.tecmint.com/backup-or-clone-linux-partitions-using-cat-command/comment-page-1/#comment-1513317 Sun, 30 May 2021 17:41:21 +0000 http://www.tecmint.com/?p=19885#comment-1513317 I’m trying to do this as shown but I’m getting “permission denied” when running:

$ sudo cat /dev/sda2 > /dev/sdb1
]]>
By: Ravi Saive https://www.tecmint.com/backup-or-clone-linux-partitions-using-cat-command/comment-page-1/#comment-872219 Thu, 02 Mar 2017 05:35:25 +0000 http://www.tecmint.com/?p=19885#comment-872219 In reply to dzaczek.

@Daczek,

I agree with you, we should change the uuid after creating a clone or copying disk and thanks for sharing the commands for changing the UUID in Linux. Hope it will help other users..

]]>
By: dzaczek https://www.tecmint.com/backup-or-clone-linux-partitions-using-cat-command/comment-page-1/#comment-872056 Wed, 01 Mar 2017 15:58:24 +0000 http://www.tecmint.com/?p=19885#comment-872056 Hi,

Nice tutorial but when we cloning partition/disk must remember about change uuid after copy. If disk will stay connected to machine after reboot we can have problem with mount by uuid.

Sometimes we want to have the same uuid but you must remember to remove the disk from the server for xfs file system.

# xfs_admin -U {uuid} {device}

for ext file systems

# tune2fs /dev/{device}  -U time 

For reiserfs

# tunefs.reiserfs -i {uuid} {device}
]]>
By: James pinkerton https://www.tecmint.com/backup-or-clone-linux-partitions-using-cat-command/comment-page-1/#comment-797962 Thu, 07 Jul 2016 07:09:29 +0000 http://www.tecmint.com/?p=19885#comment-797962 Morning Ravi, I see what cat does and just wondered why when making a bootable usb pen-drive the code listed on most web-sites uses dd if=whatever.iso of=/dev/sdb, I read that dd copies saved files byte by byte probably from ascii coded text, how does cat work. I am a novice user of Linux, currently taking in all knowledge to gain my ” Red-Hat CSA”. I use your website daily, very informative chunk size blocks of data. Thank you

]]>