Trying To Use The Dd Command

Hi i am trying to use the dd command to create an iso of my Ubuntu machine but am having some problems with the syntax trying to do it using an external hard drive as the file location.

can anyone help me out?


Similar Content



How To Search All Sub-directories For A File Or Command Line In A File In Ubuntu?

Hello--

I'm trying to locate a file or a command line in a file on my hard drive. I am running Ubuntu 12.05.4 linux. Is there a grep command that will search the whole tree from root down to all the sub-directories?

Thank You.

Install Zorin 9.1 64 Bit To External Hard Drive Using Virtual Box In Win7

I've just started tinkering with Linux and have a question about installing it to my current machine.

I'm running Win 7 Pro and have installed Oracle VM Virtual Box on the C:\ drive which is a 256 GB SSD. I want to create a 15 GB virtual hard drive on a second internal hard drive that has more space on it, and install Zorin 9.1 to it. Currently my C: drive is about 60% full and I'd rather not fill it up past that.

So my question is: Can I run Zorin off of a hard drive other than the C: drive?

Thanks for your consideration.

Dave

.tar.gz 111GB Extracting Fails

Hi guys

We are trying to move Oracle applications database tier archive, that is 111GB (over Linux) to a USB external drive using cp. Though the file successfully gets transferred to the external drive, trying to extract the file from a 2nd machine always fails, saying the archive is corrupt.
We have checked the integrity of the archive using 7-zip, reporting no errors. However totally frustrated as our last few attempts were totally futile.

The interesting part is, if we do scp to transfer the file to 2nd machine, extraction doesn't fail.

Please let us know, how we can successfully move this archive to the 2nd machine which is at a remote location and no possibilities of setting up a FTP for such a huge size file.

Both the source and destination Linux distros are RHEL 5 Enterprise, 64Bit, ext3 file systems.


regards,

Mounting An External USB Hard Drive

My attempts to back-up to an external hard disk finally met with apparent success but I cannot now mount the target drive.

To summarize:-
1. Installing a SATA hard disk, identical to my computer's main drive, in a USB 2.0 caddy and attaching this to the computer resulted in qualified recognition. 'fdisk' 'saw' both the main drive, as sda, and the USB drive, as sdb, respectively but initially noted that the latter, “... doesn't contain a valid partition table.” This was hardly surprising. At the point of first connection the external drive was essentially a 'bare metal' device, having had its data wiped. Nevertheless, 'fdisk' correctly reported its size, number of heads and cylinders, etc.
2. 'dmesg' also correctly identified the external disk as sdb, reporting its type and the USB port to which it is connected.
3. 'df' ignores the second hard drive, reporting only the main disk.
4. Attempts to clone/back-up the main disk to the external disk using the recommended tools EaseUS Todo back-up and RedoBackup, booting respectively from appropriate USB memory sticks, both failed. Neither utility was prepared to write to the external disk. EaseUS acknowledged the latter but crashed the whole computer when instructed to perform the clone. RedoBackup failed to recognize the external disk.
5. Then came the break-through. A bit more Net browsing led me to try the command 'dd if=/dev/sda of=/dev/sdb'. The main disk was bit-copied (cloned) to the external disk at roughly 20Gb per hour, meaning that my 80Gb disk was copied in just under 4 hours. Checking 'dd's resulting report showed what appeared to be a perfect copy.

So far, so good. I now have a back-up which, being identical to the main disk, should, I assume, be bootable. In the event of trouble with the main disk I should be able simply to exchange it for the external disk and carry on from the point at which I made my last back-up. I cannot, however, access and read the external disk. I assume that it must have a partition table and be mounted. The first requirement appears to have been resolved by the cloning operation. 'fdisk' reports no trouble with the partition table on the cloned external disk. It lists /dev/sb1 as the bootable Linux partition, /dev/sdb2 as the Extended partition and /dev/sdb5 as the Linux swap / Solaris partition, exactly mirroring the corresponding entries for the main, sda, drive.

My attempts to mount the external disk have all failed, however. I clearly do not understand the syntax of the mount command or have failed to meet some other requirement. 'mount' objected without hesitation to my early mistakes but “mount -t dev/sdb” was instantly accepted. No error messages or other output resulted and the command prompt was immediately redisplayed but 'mount' then failed to show that the external drive had been mounted. If I try something like 'mount -t /dev/sdb1 /mnt/xdisk', where xdisk is a directory I have been told to create, then I am presented with a prolix description of 'mount's syntax, most of which leaves me bewildered. 'mount' then once again confirms that sdb1 does not feature in the list of mounted devices.

Can someone offer any suggestions? I have read one or two of the other posts on this topic but none of the details match my problem too well and I did not understand some of the replies. If I try to add a line to /etc/fstab, for example, I find that I do not have a directory called 'fstab', only 'fstab.d' and that is empty.

I have roughly one year's experience with Linux Mint 13 which I chose because it so closely resembled Windows XP.

Recursively Move Files Of One Type And Create Destination Sub-folders

I'm just getting into Bash scripting, and would appreciate some help with this question. My music collection is split into a smaller, "active" set, kept on my laptop, and a much larger collection on an external hard drive. I've just converted some of the larger filetypes on my "active" set to *.mp3, and now want to move all the original files (*.flac) to the external hard drive. I need some help putting together a command or script that will recursively search my active music set for *.flac and then move them, but keeping the source directory structure. Some or all of these subdirectories may not exist on the destination.

eg. On the active music set, I may have:

/Music/artist1/album1/(a mix of *.mp3 and *.flac files)
/Music/artist2/album1/(a mix of *.mp3 and *.flac files)

and on the hard drive

/Music 2/artist1/album2/(the contents of the album)

So when copying, it'll need to create "/album1/" in "artist1" on the destination, and also "/artist2/album1/"

Thanks in advance!

Kali Thumbdrive Boot Error "Failed To Load COM32 Filename Vesamenu.c32

Using a Kingston 4GB datatraveler for drive creation
Created using amd64 1.1.0a of the Kali ISO verified from Kali.org
Drive created using Ubuntu 14.04 on a Dell Latitude E5500

dd seems to create the drive with no errors. The drive boots to the error. Hard reboot into Ubuntu to search for solution has led me to a long series of issues that I have been trying to correct.

A possible fix for the failed to load error is to copy the file to the root of the USB drive (/dev/sdb1). Drive is created with a hidden HPFS/ NTFS fs. 0x17. Changed FS to HPFS/NTS (0x07). Drive now mounts, but when attempting to copy onto drive, I get an error that the file system is read only.

I try to correct the issue using nautilus and the properties menu. It does not allow me to change the view only to read/write even though it shows me as the owner.

I think maybe a command line thing would work, or who knows what else. Maybe an fstab entry? I am continuing to search the web, and hope to work this out.

Any help would be appreciated.

Mount Point Mappings Have Me Baffled

I am trying to configure a Raspberry Pi to run as a file server, have installed SAMBA and have attached a 1TB external hard drive, which appears to have 4 partitions. Using Xwindows, I thought I had the advertised share mapped to the 1TB partition. So I physically placed the Pi in its permanent home (where it is difficult to get its video signal to a monitor etc.), so help with command line tools is best for me.

My problem is the share is acting like it only has about 2GB of space. And I am not sure why the mount command does not show me the partition.

I have attached to this post some output which has me baffled.

Thanks
Jonathan

MDADM: How To Mirror Installed LM 17 Disk

Computer:i5,8G,2x500GB HD. one of 500GB hard drive, /dev/sda, is installed Linux Mint Rebecca with 20GB boot/470GB home EXT4/10GB swap. I want to add one more 500GB hard drive, /dev/sdb, to create RAID 1 with old one. Is it possible? and How to command?

Installing A New Distro On An Old Desktop PC

I have a computer that I made myself a few years ago. The internal DVD drive does not work anymore. What are my options to install a linux distro on it. I am not able to boot from an external USB DVD drive that I have, on this machine. My understanding is that you need a CD to install Plop to inorder for it to work so that I can boot from an external USB stick?

What are my options without having to buy another DVD drive? I know I can install my .iso file to a USB stick using Unetbootin, but than what? How do I get it to boot on this machine?

Thanks!!!

I Installed An External Hard Drive Using Gparted. I Cannot Move Files To The External

Hello.

I have checked the other threads and either I have missed my answer or did not understand that it was the answer. I apologise in advance if I am being a repeater:

The Problem: I am running 17 mint. I installed a toshiba external Hard Drive using Gparted- Fast and easy, BUT, somehow I installed the external as root, I cannot move files to the external because I am not root? Under permissions it states that the Owner Cannot Be Determined.
Any help would be great.

Have a great night, morning or afternoon!