Disk size after copying a disk with dd

Hi all,
I recently bought a new hard drive, larger than my old one. I thought I'd be smart, and copied partitions using dd:
dd if=/dev/sda1 of=/dev/sdb1
I noticed today that there is something wrong with the size remaining on the new drive, and after reading a bit, it looks like I should have used some specific option to prevent it from truncating my new disk.
Does anyone know how I can recover the remaining space on my hard drive ?
Thanks !

Ashren wrote:Using (g)parted from a livecd?
I have tried KDE's partitionmanager before, but could not find something that would do it. Will try with gparted if there is something in there.
graysky wrote:Can you nuke the new disk, manually partition, then rsync -avxhP /path/to/old/ /path/to/new/
Will try after gparted if it doesn't work
Thanks to both of you

Similar Messages

  • I purchased snow leopard and got a disk with OSX 10.6.3 but my macbook with intel processor and 1 gig won't update.  It restarts but doesn't update after disk installs

    I purchased snow leopard from online macstore in Australia and got a disk with OSX 10.6.3 but my macbook with intel processor and 1 gig won't update from 10.5.8.  It restarts but doesn't update after disk installs.  Do I need 10.6.0 to install first? 

    Insert the Snow Leopard DVD, restart your MacBook while holding down the C key, this should start your Mac from the optical drive instead of your hard drive. Choose your language and install Snow Leopard. When it's done and you've restarted on your new 10.6.3 system run software update to upgrade to 10.6.8. Done.

  • Why is there large used space after erasing external drive with disk utility?

    I just used disk utility to erase a 2 TB external hard drive. After erasing it, it shows that the disk has 12 folders, 62 files, and 852 mb of used space. I thought the "erase" function is supposed to format the disk? Where does the large used space come from?
    By the way, the disk used to formatted as a windows disk. I suspect it has something to do with it but have no idea what. Any help is greatly appreciated!

    HI - i do not think this is purely metadata. (though it could be with your windows disk with such small used memory) i have a 1TB macbook pro drive that i have tried to reformat
    METHOD 1 (recommended by advanced Apple Techy) - select hard drive (not partition) select mac os (journalled) and press 'apply' - "this will format drive removing all data. it is always best to work with the drive and not partition, if you are formatting an entire drive."
    result at end - drive still shows single partition 999GB WITH 668GB USED
    METHOD 2 (after response from Apple techy) - select hard drive and mac os (journalled), press secure erase and select 'write zeros' takes 12 hours
    result at end - drive still shows single partition 999GB WITH 668GB USED

  • Help, I installed parallel and windows, and opened videos (on an external hard disk) with windows, and now cannot open them with Mac, and use i movies.  How do I reverse this?

    Help, I installed parallel and windows, and opened videos (on an external hard disk) with windows, and now cannot open them with Mac, and use i movies.  How do I reverse this?

    Paragraphs help the reader, just saying.
    What are you actually trying to do? Why do you need "DVD size" folders if you're creatng an Archive on an external hard drive?
    Also, I understand burning folders instead of individual photos or albums gives you more space on a DVD.
    It makes no difference at all.
    How can I keep the captions on my photos (not events) when I print or transfer to a new folder?
    You can export while writing the metadata to the file in most cases.
    Tne only way I know is to copy photos from the Windows to folders on my HD, then copy and paste photos or albums or events to HD, then create a new folder and fill it to the appropriate DVD size. 
    HD? Another HD? You use HD there in a way that makes no sense. What's the point of 'DVD size'?
    I also thought I should download future photos to my Canon programming that comes with EOS cameras and edit and then decide which photos to save to iPhoto library and which to save only to my archival HD?
    Does this have any relation to the previous questions? You know you can delete from iPhoto, right?
    You're somewhat confused and you need to
    1. Decide what exactly you want to do
    2. Then go about it.
    If I understand you correctly - and there's no guarantee that I do -  the easiest thing is to bring all your Photos into iPhoto and do everything from there.
    You can have an archive on an external disk, you can sort and select and edit with or via iPhoto
    Regards
    TD

  • Using a 160GB Disk with Solaris 8

    Hello all:
    I am using an Ultra5 system with OBP 3.25.3, Solaris 8 [10/01]. I have a 160GB Seagate ST3160812A disk drive that I am trying to use as a second drive (primary slave).
    I have installed the drive on the primary channel as a slave and performed boot -r. The /dev and /devices directories correctly setup device links (c0t1d0) for the drive.
    Assuming all was good I tried to create a new file system on slice 0 with "newfs /dev/rdsk/c0t1d0s0". This responded with
    /dev/rdsk/c0t1d0s0: I/O error
    I then used the "format" command to see what was going on. I can see the drive in the 'format' command:
    #format
    AVAILABLE DISK SELECTIONS
    0. c0t0d0 <ST320420A cyl 39533 alt 2 hd 16 sec 63>...
    1. c0t1d0 <ST3160812A cyl 255 alt 2 hd 16 sec 255>...
    Specify disk (enter...) : 1
    selecting c0t1d0
    (disk formatted, no defect list found)
    format> quit
    As can be seen the 160GB drive has parameters that are all wrong for this size disk. The #format->verify command output for slice 2 (backup) shows the following:
    ascii name = <ST3160812A cyl 255 alt 2 hd 16 sec 255>
    pcyl = 257
    ncyl = 255
    acyl = 2
    nhead = 16
    nsect = 255
    Part Tag Flag Cylinders Size Blocks
    0 unassigned wm 0 0 (0/0/0) 0
    1 :: :: ::
    2 backup wu 0 - 254 508.01MB (255/0/0) 1040400
    3 unassigned wm 0 0 (0/0/0) 0
    7 unassigned wm 0 0 (0/0/0) 0
    I recalled that at boot-up the system showed a 'wrong magic number' message on the new drive. I tried to re-label the drive (format->label). The 'magic number' message went away on the next reboot but the 'format->verify' still showed the same thing.
    I have tried several approaches to fix this:
    1. I have read several posts and on-line texts that indicate the 137GB limit associated with LBA addressing for the Ultra5 IDE controllers. I have also read the post "How can I use my 160G Disk?"
    (http://forum.java.sun.com/thread.jspa?forumID=829&threadID=5065871)
    which provided great information and described using the "format" command to configure the disk with 65535 cylinders.
    When I use the "format->type" command I get the following:
    #format
    format> type
    AVAILABLE DRIVE TYPES:
    0. ST320420A
    1. ST3160812A
    2. other
    According to the "How can I use..." post, I select [2] other and set parameters. When I get to the first parameter to set the cylinders to 65535 I get the following:
    Enter number of data cylinders: 65535
    '65535' is out of range
    a. Using the #format->type {other} function to change the # of cylinders is not accepted by the OS. In fact any value over 32000 cylinders is rejected by the command.
    b. Just in case I also tried using the [1] disk type. I get the message:
    "disk formatted, no defect list found"
    So the suggestion in this post did not work in my case.
    2. Next I tried referring to the post "Sun Ultra 5 Hard Drive"
    (http://forum.java.sun.com/thread.jspa?forumID=860&threadID=5068466)
    which suggested using the dd command to 'nuke' the disk label and re-label with format. So using the command:
    dd if=/dev/zero of=/dev/rdsk/c0t1d0s2 bs1b count =16
    the command is processed properly but when I perform "format->verify"
    the label is unchanged even after I re-execute the "format->label" command. Rebooting the system did not change it either.
    3. I also attempted to use the 'format->part->modify' command to change the partition. When the command gets to the 'Free Hog Partition[6]" prompt I get a 'warning: no space available from Free Hog partition" message.
    4. I also tried using the 'format->part' command to directly modify the specific '2' partition from the partition menu.
    format>part
    partition> 2
    Part Tag Flag Cylinders Size Blocks
    2 backup wu 0 - 254 508.01MB (255/0/0) 1040400
    Enter partition id tag[backup]; <return>
    Enter partition permission flags [wu]: <return>
    Enter new starting cylinder cyl[0]: <return>
    Enter partition size [1040400b, 255c, 508.01mb, 0.50gb]: 100g
    '100.00gb is out of range'
    ^D
    For some reason even this command limits the partition size.
    5. My last ditch attempt was to use fdisk -S <geom_file> to set the label geometry with the following parameters in the file:
    pcyl: 65535
    ncyl: 65535
    acyl: 2
    bcyl: 0
    nheads: 16
    nsectors: 255
    secsize: 512
    When I run this command the command core dumps.
    I'm somewhat lost as to what is preventing me from even using the suggestions others have found useful.
    Has anyone successfully used a 160GB Seagate (ST3160812A or other 160GB model) drive with the following?
    (as defined by #showrev and #prtconf)
    system: Ultra5
    OS: Solaris 8 [10.01 assumed based on kernel date]
    Kernel: SunOS 5.8 Generic 108528-13 December 2001
    OBP 3.25.3 2000/06/29 14:12
    kernel architecture: sun4u
    My hardware guy has tried numerous times to get a 120GB drive (which some posts indicated should work without any problems) but they are very hard to find. If I can get the 160GB drive to work (even with 137GB) I'll be happy.
    Thanks for any information.
    elbowz

    Your version of the OBP as well as the Solaris kernel are not the most up-to-date. If the system is stable without the new disk I would upgrade the OBP to the last version (3.31). It may also be worthwhile to patch the kernel with the recommended cluster patches (if you have enough disk space).

  • I have macbook pro 13.3 inch. I am installing window 7 in boot camp manager after copying file of window upto 67% it doesn't response and i had forcely shotdown my macbook. Now my macbook doesn't open and stop in black screen with cursor blinking.

    i have macbook pro 13.3 inch. I am installing window 7 in boot camp manager after copying file of window upto 67% it doesn't response and i had forcely shotdown my macbook. Now my macbook doesn't open and stop in black screen with cursor blinking. Now how could i open my macbook pro.

    At startup hold down the Option/Alt key and from the screen that comes up select your OS X partition to start the computer from. Then use the Boot Camp Assistant app to Remove Windows and the partition you reated for it and it will Automatically place the space you allocated for the Windows install back into the OS X partition.
    NOTE:
    Do NOT use Disk Utility to erase the partition that was created for the Windows install. Use the Boot Camp Assistant app again to do that.

  • I have several disks with many comedy routines;I want to select a few from each disk and combine them to one disk for my personal use.How?

    I have several disks with many comedy routines;I want to select a few from each disk to make one single disk for my personal use.How?

    Copy the routines into a new folder on your hard drive. Then burn the folder to a new blank disc using Disk Utility.

  • How to create a new database after copying an existing database with a new name

    hi
    i have an existing database and want to copy with a new name in sql server 2005 how do it is possible 
    spose
    i have a db name attached in sql server StoreManagementDB now i want to copy this database with all the transactions as StoreManagementDB_1.
    thanks

    Use a two steps to use a backup file to restore a database with a new name.
    ----You need to have a full backup of your database:
    --Step 1:
    RESTORE FILELISTONLY
    FROM DISK = 'C:\bk\TEST.BAK'
    --Find out the LogicalName of data file and log file
    -- in this case: the data file: TEST and the log file LogicalName: TEST_log
    --Both names will be used in the MOVE command
    --Step 2:
    -- Restore the files for test1.
    RESTORE DATABASE test1
    FROM DISK = 'C:\bk\TEST.BAK'
    WITH RECOVERY,
    MOVE 'TEST' TO 'C:\bk\test1_Data.mdf',
    MOVE 'TEST_log' TO 'C:\bk\test1_Log.ldf'
    GO

  • My fiancee accidentally deleted my iphoto app. When we got the computer it didn't have a disk with the applications on either, can I get it back?

    Hello everyone,
    its pretty much as easy as the question in the title bar, my fiancee has deleted iphoto by accident.
    I didnt get any disk with the computer when i got it (its a macbook - the white model, ive had it nearly 2 years) and i know this for sure because the box and all enclosed papers are in my home office, ive checked through and looked online and found something about a download code that some people get if the software is already on the computer... i dont know how true it is, but then again I dont seem to have a code either.
    If anyone has a clue please let me know - in all honesty I really like this app and I hate the idea that I may not get it again just because of something silly like an accidental deletion when i've essentially paid for the product in the cost of the macbook.
    Sorry to get long winded on you all but there it is - hope someone can help me - and if ive posted anything to the wrong place im sorry! be gentle folks, its my first time on the community boards!
    Mike

    What system did the Mac come with and what system are you running now? If it's 2 years old, i.e. bought in 2010 then it came with Leaport or Snow Leopard installed and would have had install disks.  Included in those disk would be a disk similar to one of these:
    That would have included iPhoto 8 (09) if bought before October 20, 2010 or iPhoto 9 (11) if bought after that date.  In either case you should have a disk like in the screenshot.  If not then you'll have to purchase an iLIfe 11 boxed disk from a 3rd party retailer like Amazon.com: iLife 11 and install your missing applications from it and then apply the latest updaters from the Apple Downloads web page/
    OT

  • OVM 2.1.2 does not recognize SATA 150 or SATA 300 disks with Intel  ICH10R

    OVM 2.1.2 does not recognize SATA 150 or SATA 300 disks.
    This same machine recognizes these disks with Enterprise Linux 5.2 x86-64.
    The motherboard uses the onboard SATA connectors:
    http://www.gigabyte.com.tw/Products/Motherboard/Products_Spec.aspx?ClassValue=Motherboard&ProductID=2842&ProductName=GA-EP45-DS3R
    The SATA disks tested were:
    WD Velicoraptor http://www.wdc.com/en/products/products.asp?DriveID=459
    Segate http://shop1.frys.com/product/4697788;jsessionid=BS106nlxF8+a7Vj0qKAh0Q**.node1?site=sr:SEARCH:MAIN_RSLT_PG
    Hitachi Deskstar http://www.hitachigst.com/tech/techlib.nsf/techdocs/17351B59F3028F4486256D3D0065D995/$file/d7k250S_sp.pdf
    I could install 2.1.2 with some ancient IDE disks.
    Is there something I can tweak to get the SATA disks recognized?

    Just a wild guess on my part. Look in your /etc/modprobe.conf on your working config. Then try copying that kernel module over to your OracleVM server if it is not already there. If the OracleVM server already has the module then check modprobe.conf on your OracleVM server to verify the module settings are in there.

  • Can I use macbook pro install Disk with macbook?

    Hi everyone,
    I have a macbook and macbook pro, I had to reinstall system after harddrive went on the macbook. I can't find my macbook restore disks/installation disks. Would I be able to use the macbook pro install disks with macbook?
    Much appreciate your help.
    Mo

    It might work but it's risky. The MBP installation disks may well not contain the right drivers for the MacBook. It would be better, if at all possible, if you contacted Apple tech support and asked for a new set of disks for your MacBook. They'll send you a set for a reasonable fee. If you can't wait, perhaps there's an Apple Store or other Apple dealer near you that would have a set you could borrow in-store to do the reinstallation.

  • Difference in size of various tops after copying from one server to another

    Dear Experts,
    As part of cloning I am copying appl, comn and ora top to a different server. After copying the overall size at directory level is slightly lesser than the source server. For example my appl_top in source server was 22.55GB and after copying it was 22.50 in the target server, same with comn and ora.
    The source server is AIX p5 server and target server is AIX p6 server and the instance is 11.5.10.2. I am doing the cp in nohup mode. I have tried this two times and both the times there is same difference.
    Will there be an issue?
    -qARS

    user7640966 wrote:
    Dear Experts,
    As part of cloning I am copying appl, comn and ora top to a different server. After copying the overall size at directory level is slightly lesser than the source server. For example my appl_top in source server was 22.55GB and after copying it was 22.50 in the target server, same with comn and ora.
    The source server is AIX p5 server and target server is AIX p6 server and the instance is 11.5.10.2. I am doing the cp in nohup mode. I have tried this two times and both the times there is same difference.
    Will there be an issue?
    -qARSYour question has nothin to do with Oracle EBS.
    Do you use "cp" or "cp -R" command?
    Please use rcp instead of cp -- http://unixhelp.ed.ac.uk/CGI/man-cgi?rcp
    Thanks,
    Hussein

  • PowerBook 145B shows pic of floppy disk with flashing question mark

    I recently discovered a PowerBook 145B in my garage. When I turn it on, it makes the start-up sound but then goes to a blank screen with a picture of a floppy disk with a flashing question mark.
    I don't have any of the original floppies that would have come with it. Is there anything I can do to make it work?

    Hi,
    The technical specifications for the PowerBook 145B can be found here.
    Although the original operating system was 7.1 (not free), you could try System 7.0.1 instead (see KB article TA33972) instead. System 7.0.1 is available for download from Apple (for example, US and British versions). Access to another older Macintosh computer (with a built-in floppy drive) would normally be required in order to create properly sector-copied floppies from disk images. If absolutely necessary, the British version (which is provided as individual images) can even be used to produce the system disks on a PC (using a special technique).
    System 7.5.3 is also available (e.g., US and British), but may not be ideal for a computer with a small hard drive and limited RAM. A boot floppy (use the Network Access Disk 7.5 here) is not included in the 7.5.3 download.
    Jan

  • Can't Zap the P-RAM , Can't start from an installer disk with the C-Key...

    Can't Zap the P-RAM , Can't start from an installer disk with the C-Key... or The D-Key for Apple Hardware test or run with the shift Key in Safe Mode!!!
    About a week ago I started to have problems with the Mac after 10.5.6! First the Mac after shut down would restart on its own in 10 to 15 minutes. I read in various forums about some of the 10.5.6 problems. I did a clean reinstall where the Mac created a previous system folder. After this suddenly mail, I-Chat as well as some other programs would open, then close immediately! Since I did not have things backed up because I didn't have a large drive, I dragged my files and apps to another drive and reformatted the drive zeroing out all data and did a fresh new install then brought in the combo 10.5.6 update.The Mac is running correctly but I can't Zap the P-Ram, startup from the Mac OS X installer Dvd with the C key or run Apple Hardware Test with the D key or boot in safe mode with the shift key. I can boot any of the Bootable disks from the start-up Disk in Preferences.
    I went over this with Apple and they suggested I run the Apple Hardware test. It won't run on this machine because I can't boot it with the D- Key. I ran tech Tools and every single thing checks out OK! This Mac has worked great since I got it in I believe Feb or March of 2007.

    Make sure that you don't have firmware password protection enabled. It will prevent some boot key shortcuts from working, like clearing NVRAM, etc. You can disable firmware password protection by booting off the OSX DVD and loading the utility.

  • Backup with brarchive/brbackup on local disk with RMAN

    Hello,
    i want to backup on a local disk with rman. Can i use the archive_function copy_delete_save?
    futhermore i have the following question:
    backup_dev_type= rman_disk  => What is an external backup tool?
    Best regards
    Lutz

    > i want to backup on a local disk with rman. Can i use the archive_function copy_delete_save?
    Hi Lutz,
    why shouldn't you?
    Anyhow, the more important question here is: what sense does this make?
    The Oracle archive logs are saved to disk.
    Now you want to copy them - to disk.
    Then you want to delete the original - on disk.
    And finally you want to save the copies you made - to disk again !?
    Since the archive logs are incredible important for the recovery you should use a tape or something like that for the final storage.
    > futhermore i have the following question:
    > backup_dev_type= rman_disk  => What is an external backup tool?
    Sorry, this is not even a proper question.
    With "external backup tool" a backup solution like NetWorker is meant.
    To integrate these backup systems into the BRTOOLS backup process you can use the backint interface.
    RMAN is kind of handled similarly from the BRTOOLS perspective - as a tool that is called to handle the files, just like dd, cpio, copy...
    Hmm... you may want to check the documentation on this whole topic. It's not too much to read and afterwards you will have a much better grasp of it: [Database Backup|http://help.sap.com/saphelp_erp2004/helpdata/en/6a/081d7ce5c8fa44af33bd1258547020/content.htm]
    regards,
    Lars

Maybe you are looking for

  • Error message in time machine: "There was a problem with the user name or the password of the network

    I have been unable to back up my macbook to my time capsule for some time now. I received the following error message (translated from Swedish) when trying to back up using time machine: "The network's volume could not be placed on the desktop. There

  • ITunes crashes when I sync videos

    I took some videos on my iPhone 4 on holiday.  I copied them to my pc to upload more easily.  Now when i try to sync them back to iTunes, iTunes crashes.  It only happens when I sync with videos.  If I sync with them unchecked, everything works fine.

  • Camera Raw for D7100

    I use CS5. After changing my camera to a Nikon D7100 I can no longer open my raw files in bridge or CS5. According to Photoshop CC / In depth : Camera Raw Support for the following cameras is included in Camera Raw 7 and Lightroom 4. Nikon*D7100 Howe

  • External SSD HD as system drive

    So I have a mid 2010 27" iMac, and I would like to improve the performance a bit. One option is to replace my HD with an SSD, but I do not want to go through the trouble of opening up the computer. I know I can install a FireWire 800 SSD externally,

  • Please tell me how to zoom(approach) the text block knowing its coordinates

    an array (x, y) points Should be closer to the point with coordinates (x1, y1) Please tell me how to do this?