General :: DD Imaging Of Builds Better Understanding

Nov 12, 2010

I am learning how to use DD for creating images across networks and locally but needed some clarification.
1 - When creating an image, I noticed that there is no verbose to show you the progress, How can I accomplish this?

2 - When I run this on a 8G usbstick it takes a long time to image. How can I speed up this process?
PHP Code:
dd if=/dev/sdb of=/home/test/images/image.dd

3 - When an image is restored like
PHP Code:
dd if=/home/test/images/image.dd of=/dev/sdb
will that give me a working bootable usbstick? For example if I imaged a working usbstick with Ubuntu on it using DD and restored it like the example above on a different usbstick, will this give me a booting new usbstick? I hope that came across ok?

View 1 Replies


ADVERTISEMENT

General :: Hard Disk Imaging ?

Jan 27, 2011

I need to take an image from my laptop hard disk which has Linux SUSE installed , and I want to restore the image to another laptop (which is the same as mine). how can I do this ? in Windows environment , many programs can do this easily , but I don't know how to do this in Linux .

View 5 Replies View Related

General :: Slackware Install Imaging

Dec 3, 2010

I have a hardware device that has Slackware 12 installed on it. I have my software I created installed I want to imgage this and send to a company to produce thier hardware using what I created. I would hope they won't have to install slaceware first.

View 1 Replies View Related

General :: Calling A Shell Script To Make Few Builds

Jul 27, 2011

I am setting up a cron job, where i am calling a shell script to make few builds. I got struck at a point, need some expert inputs to proceed further. The script is categorized in 5 parts and in the last part while building software it asks for few questions like:-

1. Build mode choice
2. normal build
3. Copy Images
4. Arch

User manually has to input ans for these questions:-
1
yes
n
64

The ans's are fixed and this won't change. How shall i hard-code them or do something in the script so as when script flow reaches to this point it automatically take's these value. So far the cron job is not getting completed as it's waiting for user to key in these values manually. I had faced similar issue while building kernel modules but there it was easier as i had to take default values always:-

View 2 Replies View Related

General :: Understanding How Pipe Works In Bash

Aug 21, 2010

I don't quite understand how pipes work in bash. I know that it takes an output from one command as the input in another command. What an output is I can get because it's what the command prints out to the screen. But how do I know what input a command will take? Here is an example I thought would work:

Which gem | rm
Unfortunately it didn't.
Which gem prints out "/usr/bin/gem" so that must be the output right? I thought that was given to rm so it would be "rm /usr/bin/gem" but I was wrong. How do I know what input a command takes?

View 4 Replies View Related

General :: Finding An Appropriate Distro And Understanding Setup?

Aug 11, 2010

I'm trying to set up a machine to "drive" a piece of equipment (a metal plate embosser [kind of like a daisywheel printer for credit card sized pieces of metal], FWIW). What I ideally want is a linux distro that I can boot from CD (I think the term is Live CD?), log itself in as a user and display only a console. It needs to be able to support windows fileshares and python.

Essentially it needs to boot, connect to a single fileshare on a Win2k8 machine, and be able to execute a couple of scripts that will output to a serial port. One of them will be more or less the following:

wget http://WEBSITE/?<parameter passed to script> --quiet --output-document=<name of serial port>

The other is a somewhat more complicated Python script that processes a CSV spreadsheet and produces data for the machine.

View 3 Replies View Related

General :: Understanding Md5 Password Placement In Grub?

Jul 13, 2011

My grub file looks like this:-

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file

[code]...

View 4 Replies View Related

General :: Understanding Ubuntu User / Group Permissions

May 20, 2010

I'm beginning to deal with more than one user on my system (it's a VPS serving some sites) and I need to make sure I understand how group permissions work. I have an account named "admin" .. it's basically the primary account that is used for serving most of the sites that I control myself. Now, I added a second account named "Ville" as one of my users wants to be able to administer that site. So, I can do this the easy way and just chown their domains folder under the ville user, they have permission to do whatever they need be and so forth. However, let's say I want to also give the admin user access to the files (modifying and all) .. how can I put both users into the same group and give them both permission?

I've tried doing:
sudo usermod -a -G admin ville
To add the ville into the admin group, but ville still cannot edit files by admin. Permissions for the primary directory for the ville user are read/write for both owner and group, and the current group for the files is admin:admin ..
But ville still can't write into the directory. So, what should I be doing here to get this right and secure at the same time?

View 1 Replies View Related

General :: Compiling Programs - Understanding Concept Of Makefile2

Jan 13, 2011

# Filename: makefile2
# Usage: make-f makefile2
# Description: Maintains all the dependencies between modules using the
# Agenda1.

CC=g++
CFLAGS=-c -Wall
LDFLAGS=
SOURCE_MODULES=main.cpp factorial.cpp hello.cpp
OBJECT_MODULES=$(SOURCE_MODULES:.cpp=.o)
EXECUTABLE=programa1
all: $(OBJECT_MODULES) $(EXECUTABLE)
$(EXECUTABLE): $(OBJECT_MODULES)
$(CC) $(LDFLAGS) $^ -o $@
.o: .cpp
$(CC) $(CFLAGS) $< -o $@

I am suppose to explain the dependencies that exist and each of the following lines of makefile. Lists orders to be executed as a result of running the make utility on it.

View 3 Replies View Related

General :: Lack Basic Understanding Of Permissions (Apache)

Apr 8, 2010

I am very new to linux. The first time i ran a linux machine was one Saturday. Anyway I am trying to set up an apache web server, all I want to do is play around with html and post it on my unbuntu server so it is available to the internet. I am also trying to install samba but I am having trouble with that so for now I am using winscp. Ok, so I made a folder in my home directory for webstuff, and set up apache to look in that folder.

mkdir /home/username/webstuff
I put my index.html file into the /webstuff folder.
But when I go to my website, it says 403 error unable to access "/"

Did I make the folder in the right place? I do not want people being able to access my / folder so maby I made the web stuff folder in the wrong place? Also I thought I would just put my inded.html file inside of the default one apache gives you, but when I tried to transfer index.html it said permission denied. How to set up permissions so I can use apache and transfer my html files from my remote desktop to my server would be great!

View 7 Replies View Related

General :: Understanding Idle/Inactive Sessions And Whether Or Not Someone Is Logged In?

Jan 5, 2011

I'm trying to understand if anyone is left on a server. Basically I manage a simple linux server remotely used by 3-4 individuals. I can never tell if someone is actually on or not using w/who.What I'm seeing is some people having what appears to be inactive/lost VNC sessions. I don't understand idle fully, but I do believe a program (without user interaction) can clear idle back to 0, correct?Anyway, I'm asking because every now and then I need to reboot the server, and I do not want to interrupt any program working on calculations or waiting on having the data saved.

Code:
me@matrix:~> w
06:59:54 up 170 days, 9:13, 16 users, load average: 0.52, 0.16, 0.06

[code]....

View 1 Replies View Related

General :: Get A General Understanding Put Simply?

Apr 3, 2010

Im trying to get a general understanding put simply.

View 6 Replies View Related

Software :: Using Rsync For Imaging

Aug 27, 2010

I am getting a little fed up with the fiddly-ness of Clonezilla and checked out the Members' Choice Awards for a better solution. Seems like rsync is very popular as a backup tool. But can it be used for creating an image of a partition which could later be readily used for a bare metal complete system re-install?

View 9 Replies View Related

Fedora :: Imaging A Partition Containing A XP System?

Sep 27, 2009

I want to make an image of a partition containing a Windows XP system.

I know that Norton Ghost can do it, and I think Clonezilla, and many other programs also.

But I was wondering whether a simple dd would work.

The basics would be something like this:

Boot the computer from a CD or USB containing a live Linux. Then:

dd if=/dev/hda1 of=/someExternalDisk/xp.img

where hda1 is an NTFS filesystem containing an XP system.

To restore,

dd if=/someExternalDisk/xp.img of=/dev/hda1

Obviously it needs a few other things to make it nice, like:
bs=2M,

pipe to gzip
zeroing the empty space before compressing,

But would the basic scheme work? I don't think dd cares what's in the partition, so it should work.

View 4 Replies View Related

Ubuntu :: Disk Imaging Utility ?

Mar 29, 2011

I'm searching for a GUI disk imager, something, that will be the GUI front end for dd. Ghost4Linux G4L is not an option, I want to be able to make security backups of my USB thumb drives, CDs, DVDs...

View 9 Replies View Related

Fedora :: Latest MPLAYER Rpm Builds?

Mar 18, 2011

It seems like all mplayer rpm builds have stopped being updated. The latest in rpmfusion is about a year old. I've tried to find other places for newer rpm builds but there is nothing out there. I need a new mplayer, because the current one does not support subtitles in bluray movies, the SVN builds have had this feature for many months.

Anyone knows what is going on? Is there a particular reason why nobody updates rpm builds for mplayer for such a long time?

View 10 Replies View Related

Fedora :: Audacious 2.5.2 For F15 (Latest Builds)

Jun 30, 2011

Status update:
Latest builds including a few more fixes will hit updates-testing with the next push: [URL]
This time, karma automatism is enabled, so the update will hit the stable updates repo after either +3 votes or after 7 days. Regardless of whether the -freeworld packages are available. Those are being worked on as well, but since RPM Fusion doesn't build their packages against Test Updates, it seems they don't spend the extra effort on pulling the Test Updates into their buildroot and instead wait till those get marked stable.

View 14 Replies View Related

Slackware :: KDE 4.4.4 Builds Fine With 4.4.3 Slackbuild?

Jun 2, 2010

If 13.1 and KDE 4.4.3 aren't new enough for anyone, I've just successfully built and installed KDE 4.4.4 with the slackbuilds for 4.4.3. I had to edit the Slackbuild for kdenetwork by commenting out the line that patches the source. Other than that everything seems to be fine, although I don't know yet if this is a good thing or a bad thing since I've just got it installed.

View 14 Replies View Related

Ubuntu :: Opinion On Development Builds?

Nov 3, 2010

What is your opinion on *very* early development builds of Ubuntu? I decided to post this poll because I have *already* upgraded to the Ubuntu 11.04 "Natty Narwhal" Pre-Alpha.

Please explain your votes in detail. Edit: Sorry for not posting the poll; accidentally posted too fast.

View 2 Replies View Related

Debian :: Squezee Upgrade And Python-imaging?

Feb 16, 2011

I have recently upgraded from lenny to squezee and I noticed some problems during upgrade with some python files. Now I have same problem with them and I need to resolve it so that I can install sane:

Code:
dpkg --configure -a
Setting up python-imaging (1.1.7-2) ...
Traceback (most recent call last):
File "/usr/local/lib/python2.5/runpy.py", line 95, in run_module
filename, loader, alter_sys)

[Code]...

aptitude -f install reports same problems with python-reportlab and python-imaging.

View 3 Replies View Related

Fedora :: Experiencing Kernel Panic When Imaging A Partition?

Nov 24, 2010

I have to image a sparsely populated 20GB NTFS partition onto an ext4 volume. While doing dd if=/dev/sdb2 bs=10M | gzip F14 64bit falls into kernel panic screen. What other method of taking per-sector image of a HDD is possible?

View 7 Replies View Related

Hardware :: Hard Drive Imaging/ Data Recovery?

Feb 22, 2010

I have an hp laptop with 2 hdd slots, both are sata. it came with a 320gb hdd with vista ultimate 64. i added another 320gb hard drive to my laptop and installed kubuntu on the second hard drive. Since vista was my primary hard drive, parts of grub were installed on it i.e. stage 1.5. And the rest was installed on the kubuntu hard drive. Because of that neither os would boot independently of one another.

I eventually got tired of kubuntu and in wanted to uninstall it. I formatted that disk. Now vista gave me grub errors, like I knew it would.I was going to fix the vista boot sector and mbr by running bootrec.exe off of the vista disc. But since I have an hp laptop, hp doesnt provide a recovery disc with just vista, it is an install of the factory image of the os plus software and therefore doesnt have the utilities I need to fix my problem.I ended up navigating to some sort of command line in the windows recovery environment and tried running it there, but no luck.

I tried navigating in the hp recovery environment, and accidently had vista start to reinstall itself on the drive, and actually I did that 3-4 times, each of which I stopped the recovery early on, within 30 seconds, but it had managed to mess up my partition table. I was wondering if there is some utilities in linux/ windows that will help me restore the partitions back the way they should be? I have done a data recovery with get data back for ntfs, and was pretty successful getting some stuff back, figures since the mft was screwed up.

So first of all I want to make an exact clone of the hard drive. Something like dd but just make an image file for now. Since there are no partitions on the drive I dont think I can use partimage, or drive image xml and I wonder if clonezilla will work. And I dont know how to test it without have to reload the image and wiping the drive in the process. I have imaged the drive with get data back but it does me no good cause I cannot restore that image back to the drive, or at least dont think I can.

Second I would like to see if I can recover the partition table , or mft that was over written. Here is a list of programs I can use for imaging or recovering. [URL]Third, since I have 2 320gb hard drives, one that is corrupted, and one that I took kubuntu off of and loaded vista with the recovery disks. Can I take the mbr, and partition table, or boot sector off of the working vista and move it to the broken 320 and fix it that way?

[URL]

View 4 Replies View Related

Fedora :: Firefox Theme Incorrect On Official Builds?

Jul 31, 2011

I am running the Aurora browser (Firefox 7.0a2) and the theme looks very wrong. It looks kinda like the Windows classic theme. Using the Firefox in the Fedora repos has the proper appearance. For that reason, I figured it was just the Aurora builds with a bug. I just downloaded Firefox 5.0.1 from the website, and that has the exact same issue as Aurora. On my main PC which runs Ubuntu + Firefox nightlies, there's no such issue. Selecting the "Default" theme does nothing because it is apparently already in use.

View 1 Replies View Related

Fedora :: Use The Imaging Software FOG On Multiple Computer Makes And Models?

Jul 20, 2009

I'm running fedora 10 on a virtual machine. I'm trying to create a kernel so that I can use the imaging software FOG on multiple computer makes and models. I'm pretty new to linux so I'm sure I'm missing something I just need someone to point me in the right direction. I have installed the "Development Tools" and qt3-devel. When I run make xconfig or make menuconfig it errors out. The following is what I get...

make xconfig
[root@localhost linux-2.6.26.2]# make xconfig
scripts/kconfig/qconf arch/x86/kconfig
init/kconfig:514: can't open file "usr/Kconfig"
make[1]: *** [xconfig] Error 1
make: *** [xconfig] Error 2

[Code]...

View 11 Replies View Related

Fedora :: Good Cloning / Imaging Software / Program Like Pq Magic?

May 9, 2011

Has anyone found a good cloning program like pq magic etc. I looked at clonezilla but could not find a dload for fedora/redhat (would installing it via tarball work?)

View 6 Replies View Related

OpenSUSE :: Disk Imaging Software That Supports Encrypted LVM Partitions?

Sep 5, 2011

I can see from /var/log/messages error messages and weird crashes that the disk in my laptop is on the way out. I plan to replace it but to do this I'd rather not have to install everything again.My laptop has these partitions:Windows Recovery (10GB)Windows 7 (NTFS 96.6GB)Linux /boot (ext4 100MB)Linux LVM (encrypted, 143GB)I need software that will allow me to create an image (or images) of all these partitions, save the image(s) to a USB hard drive and restore from those images once I've put the new, blank, hard drive into the laptop. Does anyone know of software (either open source or commercial pay-ware) or a technique to do this?

View 1 Replies View Related

Programming :: Listing Hard Drives Via Partition Imaging Program

Jan 28, 2011

Am doing a simple partition imaging program. Am using libparted for partition things. Before that I want to list the available hard disks (/dev names) attached to the PC Programmatically.

View 2 Replies View Related

General :: "how To" Way In Understanding The Commands Used In The CLI

Apr 9, 2010

I am having a hard time understanding how to order the commands in the CLI. Its like I don't have a clue as to what do next.

View 2 Replies View Related

General :: Understanding And Using The "at" Command?

Jan 23, 2011

understanding and using the "at" command. I know everyone would say read the man pages, bt dnt knw if its jst me that think the man pages are not elementary enough for newbies like mi. So I need an elementary way of executing the "at" command. Tried using the "at" command to kill a program at a certain time but didn't seem to get it, so I need help doing that. Distro is redhat linux.

View 3 Replies View Related

Fedora Installation :: F12 - Builds And Source Shown As Broken Links

Mar 10, 2010

I had F11 which was working OK'ish on my laptop and decided to upgrade to F12 when it was available. This was not too successful and I started getting problem with updates to the extent that I could not install any as I got errors which stopped the updates. Bit the bullet and backed up all the data then wiped the disk and started from a clean downloaded DVD of the full F12. Still getting problems running the updates (output below) and trying to install/run VirtualBox is also failing (also below). The build and source mentioned show as broken links, where do I go next?

Update errors -
Error Type: <class 'yum.Errors.RepoError'>
Error Value: Error getting repository data for installed, repository not found
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in <module> main()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3122, in main
backend.dispatcher(sys.argv[1:])
File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 710, in dispatcher
self.dispatch_command(args[0], args[1:])
File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 657, in dispatch_command
self.update_packages(only_trusted, package_ids)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1948, in update_packages
signed = self._is_package_repo_signed(pkg)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1437, in _is_package_repo_signed
repo = self.yumbase.repos.getRepo(pkg.repoid)
File : /usr/lib/python2.6/site-packages/yum/repos.py, line 121, in getRepo
'Error getting repository data for $s, repository not found' $ (repoid)

VirtualBox install log error
Error! Your kernel source for kernel 2.6.32.9-70.fc12.i686.PAE cannot be found at
/lib/modules/2.6.32.9-70.fc12.i686.PAE/build or /lib/modules/2.6.32.9-70.fc12.i686.PAE/source.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved