Go Back   Tech Support Forum > Alternative Computing > Linux Support

User Tag List

Ubuntu Path To External Drive

This is a discussion on Ubuntu Path To External Drive within the Linux Support forums, part of the Tech Support Forum category. Greetings, I am trying to create an image of my Ubuntu 19.10 hard drive. The target is an external USB


Reply
 
Thread Tools Search this Thread
Old 05-19-2020, 10:22 AM   #1
Registered Member
 
storm5510's Avatar
 
Join Date: Mar 2009
Location: Madison, Indiana
Posts: 417
OS: Windows 10 Pro v1909

My System


Greetings,

I am trying to create an image of my Ubuntu 19.10 hard drive. The target is an external USB hard drive. The volume label is "BACKUP." i am trying to use the "dd" command to make the image. I created a bootable Ubuntu 16GB USB drive to start the system. The command is below:

Quote:
sudo dd if=dev/sda of=/dev/sdb/media/name/BACKUP/Linux/hp-1.img bs=64M conv=sync,noerror status=progress
I can't seem to get the target path right. I turn the external on and run the "lsblk" command and the external is shown as "sdb" and "sdb1." The first is the drive and the second is a partition called "/media/name/BACKUP." The backup drive has a Linux folder Note: This drive has a NTFS format created by Windows 7. For just general copying, it works fine. I can use the GUI file utility to navigate to the "Linux" folder and then open it as a console. The prompt shows "media/name/BACKUP/Linux" with the "$" on the end.

I have tried several variations of the target spec in the "dd" command. I always get ".. is not a directory."

Anyone?
storm5510 is offline   Reply With Quote
Sponsored Links
Advertisement
 
Old 05-19-2020, 11:23 AM   #2
Moderator TSF
Hardware Team Moderator
 
Stancestans's Avatar
 
Join Date: Apr 2009
Posts: 5,130
OS: Windows 10



Shouldn't you be having a forward slash / before dev/sda? Your quote says if=dev/sda instead of if=/dev/sda

https://www.cyberciti.biz/faq/unix-l...mage-commands/
Stancestans is offline   Reply With Quote
Old 05-19-2020, 04:43 PM   #3
Registered Member
 
storm5510's Avatar
 
Join Date: Mar 2009
Location: Madison, Indiana
Posts: 417
OS: Windows 10 Pro v1909

My System


Quote:
Originally Posted by Stancestans View Post
Shouldn't you be having a forward slash / before dev/sda? Your quote says if=dev/sda instead of if=/dev/sda

https://www.cyberciti.biz/faq/unix-l...mage-commands/
Sorry. A typo on my part. It should be there.
storm5510 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is on
Smilies are on
[IMG] code is on
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Post a Question


» Site Navigation
 > FAQ
  > 10.0.0.2
Powered by vBadvanced CMPS v3.2.3


All times are GMT -7. The time now is 03:55 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
vBulletin Security provided by vBSecurity v2.2.2 (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.1.0 (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Copyright 2001 - 2018, Tech Support Forum

Windows 10 - Windows 7 - Windows XP - Windows Vista - Trojan Removal - Spyware Removal - Virus Removal - Networking - Security - Top Web Hosts