Results 1 to 7 of 7

Thread: transfer boot disk to bigger drive?

  1. #1
    Join Date
    Nov 2006
    Beans
    83
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Question transfer boot disk to bigger drive?

    Hi,

    Im sure this has been asked before but i cant find it...

    I would like to transfer the contents of my boot disk to a new drive. The new drive is larger than the old one. Im sure this is possible but im running console only so please dont say "use gparted"

    Existing boot disk 80Gb Intreped server install
    New disk 120GB

    - Obviously id like to boot from the new disk and throw away the old disk
    - I dont want to do a fresh install... i want to tarball the existing boot drive and use that
    - id like to reclaim the additional 40gb of space into the boot partition to make things simpler to manage.

    thanks for any help.

    c.

  2. #2
    Join Date
    Oct 2007
    Location
    Chennai, India
    Beans
    3,804
    Distro
    Ubuntu Development Release

    Re: transfer boot disk to bigger drive?

    Quote Originally Posted by cnschulz View Post
    I would like to transfer the contents of my boot disk to a new drive. The new drive is larger than the old one. Im sure this is possible but im running console only
    Take a look at [SOLVED] Exact duplicate of entire HDD for full details; post back if you need clarifications.
    Cheers,PRShah
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."

  3. #3
    Join Date
    Nov 2006
    Beans
    83
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: transfer boot disk to bigger drive?

    ahhh yes! thank you!

    once the image is transfered what is the simplest way to increase the size of the partition? or will dd "just do it"?

    cheers

    c.

  4. #4
    Join Date
    Feb 2007
    Location
    California
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: transfer boot disk to bigger drive?

    clonezilla is all you need.

    http://clonezilla.org/

  5. #5
    Join Date
    Oct 2007
    Location
    Chennai, India
    Beans
    3,804
    Distro
    Ubuntu Development Release

    Re: transfer boot disk to bigger drive?

    Quote Originally Posted by cnschulz View Post
    once the image is transfered what is the simplest way to increase the size of the partition? or will dd "just do it"?
    Nope; "dd" will only create an exact replica, including the existing partition tables. You will have to manually resize the filesystems.

    If you do not want to (or cannot) use gparted, you can use the manual resizing tool resize2fs.

    However, I heartily recommend gparted; if you do not have a GUI environment, you can run it off a live CD/USB.

    You can also use partimage (also discussed in the thread); but in this case, you will have to manually create the target partitions before restoring the image created by partimage. The target partitions can be the SAME OR GREATER SIZE than the original partition.
    Cheers,PRShah
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."

  6. #6
    Join Date
    Nov 2006
    Beans
    83
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: transfer boot disk to bigger drive?

    thank you all very much for your help.

    i will go the dd / gparted boot cd path and report back.


  7. #7
    Join Date
    Oct 2007
    Location
    Chennai, India
    Beans
    3,804
    Distro
    Ubuntu Development Release

    Re: transfer boot disk to bigger drive?

    Quote Originally Posted by cnschulz View Post
    i will go the dd / gparted boot cd path and report back.
    Note that having swap is good if you are using gparted. If your swap is not on an extended partition (ie, sdx1-3) then you should enable swap before using gparted. You can do this while gparted is running by right-clicking the swap partition and choosing "Swapon". If it is greyed out, don't bother. If, after enabling swap, some other partitions that you need to resize acquire a "keys" icon next to them, then you cannot resize them without turning off swap.

    To turn off swap, right click the swap partition in gparted and choose "Swapoff"
    Cheers,PRShah
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •