General :: Copy Whole Drive Sdb To Sda3?

Dec 2, 2010

I installed Debian squeeze to 40Gig pata hdd on my AMD 1090T desktop, with1Tb sata hdd.
Now that I'm quite comfortable with dual-booting, I'd like to transfer 40Gig Hd(sdb) to sda3. I viewed this thread, which is similar to my situation, but not quite the formula.

[URL]

I intend on reading more on this 1 to see if what I'm looking for is include.

[URL]

I've never done the dd command, so it's not like I'm going to do it today, but would like a little bit more documentation to get a further understanding of the dd command.

View 14 Replies


ADVERTISEMENT

OpenSUSE Install :: Create Another Partition After /dev/sda3 Using The Free Space From /dev/sda3?

Mar 11, 2010

I am dual booting winxp and opensuse 11.2 on a 80gb harddrive with 3 partitions. first primary conatins xp, second logical and active contains opensuse and third primary holds data. i want to create another partition after /dev/sda3 using the free space from /dev/sda3.can u advise me if it is possible? and if yes, what do i need to consider. here is the output of fdisk -l

Code:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x285adb1d

[Code]...

View 9 Replies View Related

Fedora :: After Grub-install /dev/sda3 Windows Drive Not Visible

Dec 6, 2009

I have installed Fedora-9 and i customized my kernel. But i did a big mistake in the last steps while customizing. Unfortunately i have executed below shell cmd. grub-install /dev/sda windows drive is not visible But /dev/sda3 is a windows vista file system, now sda3 file system is not in visible for both in linux and also vista OS. How can i retrieve my data back in vista sda3. Here is the info of system

$ su -c '/sbin/fdisk -l'
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

View 3 Replies View Related

General :: Copy Most Of A Filesystem Onto A New Drive?

Apr 6, 2011

I am getting a SSD and I'd like it to become my new Linux boot drive. However, it is smaller than my current hard drive's root Linux partition, so I'd like to copy over the filesystem and exclude some directories (which I'll leave on another hard drive). So I can't just clone the partition with parted or similar because it is too big.

I want to make sure all the data, metadata, links and such are preserved. That seems to exclude "cp" because it doesn't preserve all the metadata and link information.

The two basic techniques I've been able to identify seem to be something like:

find / -xdev -print0 | cpio -pa0V /mnt/dst

and:

rsync -avP -H -S --numeric-ids / /mnt/dst

Can anyone chime in with what they've used in the past, whether one of these or a different method, or if they see any flaws in these approaches.

View 2 Replies View Related

General :: Ubuntu 9.10 Will Not Copy To Usb Drive Anything More Then 4GB

Mar 19, 2010

Trying to copy ISO images over to a external hard drive, when copying it reaches 4GB then stops.I have tried the same with a external usb thumb drive as well and the same thing happens so it is not the external drives running out of space. The error reads.Error Writing to file is to large.

View 9 Replies View Related

General :: Transfer A Copy Of Filesystem To Pen Drive?

Jul 21, 2010

I have a copy of Linux file system in /home/user/desktop/fs/how tp copy it to a usb drive preserving the links

View 2 Replies View Related

General :: Can't Just Copy A Bootable CD To USB Drive And Boot From It

Aug 15, 2011

I would like to understand the following:

I have a Debian installation CD that I can boot from. Now I copied that to an USB-stick using dd

dd if=/dev/sr0 of=/dev/sdc bs=1M

The CD-image should contain a boot-sector and everything else that is needed for booting, yet the USB stick does not boot.

What am I missing - why does the stick not boot?

PS: I am not interested in tips on how to create a bootable stick, I only want to understand why the above method does not work.

View 2 Replies View Related

General :: Can Copy Entire Partition / Put It On New Drive

Jul 11, 2011

i am putting a larger drive in my laptop, i have linux mint 10 KDE setup with all the software i need and running just the way i like it. is it possible to actually copy the entire partition to a external drive then place the partition back into my laptop with the new drive in it, and still have it all setup the way i had it?

basically so i dont have to reinstall everything and set it up again.if this is possible could you please explain how i can do it in the simpliest terms at all please.

View 6 Replies View Related

General :: Copy Files Off Server To My Hard Drive?

Nov 20, 2008

I'm connected remotely with Putty to a linux server and I need to get the files from a directory on the server onto my hard drive on my laptop. I don't know what the secure shell command is to download it or what exactly I need to do so I can get these .root files from the server copied onto my local hard drive.

View 2 Replies View Related

General :: Rsync To Copy Directory Tree From NAS Drive ?

Apr 10, 2010

I have a WD world book edition 1TB NAS drive, and just purchased an acomdata 1tb drive and connected it to the NAS via USB. If I recall I think the WD NAS has a ext_ or some type of linux filesystem on it, and the acomdata has a ntfs filesystem on it.

What I want to do is copy over certain directory trees of the NAS to the USB attached drive. I usually use MS synctoy to sync folders from my windows pc to the NAS drive, and MS richcopy to make the initial transfer from PC to NAS. For this operation though, since it is taking place entirely on the NAS and its connected drive, I thought that rsync would be the best option, and it is available on my NAS drive.

Last night I entered in rsync -avr /movies/* /usb1-1share1/ to copy the entire "movies" dir to the drive, which shows up as usb1-1share1 on the NAS drive. It copied most of the directory tree ok, but a lot of the folders were empty, so this morning I tried rsync -Carv --ignore-existing /movies/* /usb1-1share1/ to try and get all the files missed, without recopying the 24GB that did make it across. This also managed to copy a few more GB over, but not everything.

I am running the command from an ssh session on the NAS using putty on my PC, in as user "admin" which should have all rights over these folders. There is a bunch of errors in the command window like this: rsync: failed to set times on "/shares/usb1-1share1/movies/classics/fulldvd/First Blood DVD/.VTS_01_2.VOB.RxdjWZ": Operation not permitted (1)

I want to restart another session and get the files it missed, but I want to find out what I am doing wrong first. Should I be doing this as root user? am I missing some switches or just plain doing it all wrong?

View 3 Replies View Related

General :: Copy Everything In The Home Directory To An External Drive ?

Jun 11, 2011

How do you copy everything in the home directory to an external drive while running in rescue mode?

View 3 Replies View Related

General :: Open 3-1/2 Floppy Drive To Copy Files?

Nov 6, 2010

My system has a 3-1/2 floppy drive. I do not know how to open it to copy files to a CD. My system knows itis there since booting with a data floppy gives a non system disk error. nce in Ubuntu, the floppy drive does not appear in "places computer".ince I am completely new to this system, I do not know how to proceed

View 1 Replies View Related

General :: Cp -ru -> Using The Recursive Copy And Update From Internal Drive To A Mounted Nas

May 4, 2011

I've mounted my NAS drive under the /media/ directory. I've copied a bunch of files from my current /var/www directory, using cp -Rpv (preserve). Now I want to do a cp -Rup /var/www/ /media/magneto/testing.cdw/ Based on the fact that these are two different file systems, i.e. one is a networked NAS connected through Samba, and the other is my computers internal drive. Will I run into problems with the date and time? how can I check before I run the copy?

View 4 Replies View Related

General :: Copy Entire File System Hierarchy From One Drive To Another?

Jul 7, 2011

I would like to copy the entire file system hierarchy from one drive to another..i.e contents of each directory as well as regular files in Linux platform. Would be gratefull to know the best way to do that with possibly Linuxes in-built functions. The file system is a ext family.

View 3 Replies View Related

General :: CP Read Permission Denied - Cannot Copy Files From Pen Drive

Sep 23, 2009

I can't copy a few files from my pen drive. Got the files from a public computer, with windows. I use fedora 10.

cp gives the following error--->
cp const1.java /home/user1/Documents/scjp
cp: cannot open `const1.java' for reading: Permission denied
lsattr shows this--->
lsattr const1.java
lsattr: Permission denied While reading flags on const1.java
mount shows this--->
/dev/sdc1 on /media/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

View 3 Replies View Related

General :: Debian System Drive Upgrade: Copy Filesystems From MBR Partitions To GPT?

Jan 23, 2010

My home server runs Debian Lenny, and I'm about to upgrade the system drive to a larger drive.In the process, I want to take the opportunity to reorganize the partitions and resize them. For learning purposes, I'm planning to migrate from an MBR partition table to GPT.Because of those two changes, I can't just run "dd if=/old/drive of=/new/drive" (well, not without lots more work afterwards). I could use the debootstrap process to get a fresh installation on the new system drive, but I used that technique during the last system upgrade and it's probably overkill for this.Can I just copy the partitions from the old drive to the new?Will "dd if=/dev/hda1 of=/dev/hdb2" work, assuming /dev/hdb2 is larger than /dev/hda1? (If so, the filesystem can be resized to take advantage of the new larger partition, right?)Would parted (or gparted) be a better tool for copying the contents of the partitions?

View 3 Replies View Related

Fedora :: Copy Files In Ftfs Drive To Ext3 Drive?

Dec 4, 2009

i want copy files in ftfs drive to ext3 drive. how am I do this?

View 2 Replies View Related

Fedora :: Clone Drive - Tools Do Full Drive Copy?

Mar 22, 2010

I have a 120 gig drive that I'd like to clone before it fails completely. I was thinking I'd pull the drive from the server and build a separate machine that has it's own os installed and the source and destination drive. Does anyone know of any linux tools will will do a full drive copy? Additionally, If possible, I'd like to move to a larger drive. how I'd migrate the 120 drive to a 400 or so? 1 idea I have is to install os on 2 new drives to where it they will boot, Then boot with one and copy source to the newly created destination drive.

View 6 Replies View Related

General :: Dd Copy - Hard Drive Clone Fails When Mounting Root Androotblock - /newroot Failed

Oct 27, 2010

I am trying to replace an old, smaller, and dying laptop hard drive with a newer one, using a USB external drive. I first tried cloning disk to disk with Clonezilla, but it failed after cloning my root, swap, and /home directories it froze when it tried to reinstall grub. After 2x trying, I switched to dd, which I have never really used (I am fairly new to Linux in general). The actual command I used was:

Quote:

dd if=/dev/sda of=/dev/sdb bs=4096 conv=notrunc,noerror

All seemed ok and after approximately 2 hours my 80GB drive had been cloned onto my new 250GB, with dd giving what appeared to be a satisfactory closure summary. I tried to mount and access the drive from my external USB enclosure but could not view it, though the data is there, I believe, as the size and bytes show... The error that Dolphin is giving me is:

Quote:

error - wrong fstype, bad option, bad superblock on /dev/sdb1 Missing codepage or helper program or other error. When I installed the new drive directly into my laptop, it begins to boot (Sabayon 5.4, 2.6.35 kernel) but almost immediately I get (handwritten down, but this is close):

Quote:

detected real_root
mounting /dev/sda1 on /newroot failed: input/output error
!! Could not mount specified ROOT, try again
!! Could not find the root block device in .

[code]....

I am assuming that my issue has something to do with grub, and maybe specific UUIDs that don't match (?) but I'm not really certain. I have both Grub Legacy 0.9x and the newer Grub 2 installed (Sabayon is already moving over) but I still boot with Legacy, not with the new 2, as I don't know how to switch, and am not sure if I should yet. I thought that dd copied bit for bit, and I added the noerrorï just to try to get it all transferred, so I don't know what went wrong exactly, though something seems wrong with grub and the bootloader, I guess...

View 6 Replies View Related

Ubuntu :: Copy The Contents Of One Drive To Another New Drive?

Jan 17, 2010

I need to copy the contents of one drive to another new drive.I mean EVERYTHING on it including the OS itself. I am thinking Clonezilla at the moment.

View 9 Replies View Related

Ubuntu :: Copy A File From My D-drive To E-drive?

Feb 27, 2010

I want to copy a file from my D-drive to E-drive through terminal.How can I do it?Do I've to mount the drives first?

View 1 Replies View Related

Fedora Installation :: 14 Won't Load And Can't Boot Sda3

Jun 11, 2011

i have installed Fedora 14 on sda3 and it's home partition is on sdb3. So after the installation and went back into ubuntu and did a update-grub. and then restarted i get this screen.

Here is my grub.cfg

Code:

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub

[code]....

View 2 Replies View Related

Ubuntu :: Dev Sda3 Does Not Exist. Dropping To A Shell?

Feb 14, 2011

I have search and there is similar topic but for 9.10 and the problem contains "UUID" [URL]I was wondering if the fix listed there will help my problem.

View 1 Replies View Related

General :: Where Does ITunes Store Its Stuff - Copy Its Data Store To An External Drive

Dec 8, 2009

I have two students whose windows laptops are riddled with malware and not working properly. They want me to help them install Linux (which we use in school), but they are concerned about their iTunes.

Having avoided iPods as "defective by design", I know nothing about iTunes whatsoever. However I remember reading about DRM locking and such problems that have me concerned that I won't be able to do it.

Where does iTunes store its stuff?

Can I copy its data store to an external drive, and then into a linux home?

Then will it work on wine, or can another manager (rhythmbox etc) access the itunes data?

Alternatively, if I partition the drive and install linux, can rythmbox/wine/something access itunes data on the win partition?

Supposing they are buying music through iTunes, what will happen to that account?

Finally, one of them has an iphone. Does that work with linux?

Ironic that an apple application is blocking migration away from windows.

View 9 Replies View Related

Ubuntu :: Change/edit A Block File (/dev/sda3)?

Jul 22, 2011

How do I change/edit a block file (/dev/sda3)?

I am trying to set this up http://ubuntuforums.org/showthread.p...t=freeze+rsync.

View 3 Replies View Related

OpenSUSE Install :: Format Windows Partitions Sda2 / Sda3?

May 20, 2010

I have been dual-booting Vista and openSUSE 11.2 until my SUSE install is fully functional and now and I want rid of Vista and to reclaim the space for Linux.

Code:
fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x28000000
[Code].....

sda2 and sda3 are the Vista partitions. sda2 is a recovery partition and sda3 is the main partition. All data is safely copied from sda3 and now I want to reformat them for SUSE. I not bothered about partition resizing i.e. I am happy to just have the sda2/sda3 space available to SUSE and mount them somewhere.

1) Do I need to do anything about the boot table first or can I just reformat sda2 & sda3?

2) How should I format sda2/sda3? I'm guessing I need to unmount them and then format. Should I use ext4 or something else? Which command/tool should I use?

View 9 Replies View Related

General :: Copy A Read-Only File And Make The Copy Writable With A Single Cp Command?

Mar 1, 2011

How to copy a Read-Only file in Linux and make the copy writable with a single cp command in Linux (Ubuntu 10.04)? The --no-preserve and --preserve seemed to be good candidates, except that they should "and" the mode flags, while what I am looking for is something that will "or" them (add +w mode).

More details: I have to import a repository from GIT to Perforce. I want that all Perforce depot files are Read-Only (that is how Perforce was designed), while all other files that were derived/copied from depot files are writable. Currently if a Makefile tries to copy a Read-Only file then the derived file will also be Read-only. This leads to build-errors when cp tries to overwrite Read-Only file second time. Of course the --force is a workaround here but then the derived file is also Read-Only. Also I do not want to mess with "chmod" after each "cp" command - I will do that only as the last resort.

View 1 Replies View Related

Ubuntu / Apple :: No Option To Install Boot Loader (grub) To /dev/sda3 - Fix It?

Nov 28, 2010

Dual-Boot: Mac OSX and Ubuntu

Want to dual boot 10.04LTS and OS X 10.6.5
But there is no option to install the boot loader (grub) to /dev/sda3 as per the following
using Bootcamp

https://help.ubuntu.com/community/Ma...elInstallation

View 3 Replies View Related

OpenSUSE Install :: 11.1 Hanging Frequently - Maxserver Kernel: EXT3-fs Error (device Sda3)

Mar 10, 2010

I'm using opensuse 11.1,syetm specification is following

CPU entium 4 2.93GHz
motherboard:asus
Hardisk:40 gb maxtor
Ram:1 GB

my system getting hang periodically after some time and the kernal showing the following error message

[Code]...

View 7 Replies View Related

Ubuntu :: Copy USB Drive Image

Aug 25, 2010

Im pretty sure there is a utility that copies byte for byte for linux that i could use to copy an image of a usb and later write it to another.

View 1 Replies View Related







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