Can I "lift" my install and put on a clean drive?

Over the past few years, my system (specifically my sda)  has become cluttered and sda has been broken into more partitions than I need or want. When I installed Arch, it was more an experiment than anything else. I had 2 other distros on sda then. I used 2 partitions that were currently unused, even though they are not the size I'd prefer.
Is there a simple way I can "lift" my current install from sda7 (/) and sda9 (/home), wipe the drive and reinstall to sda? I'd really prefer not to have to install again from scratch and then apply all the changes I've made. I have an empty USB drive (sdc, 500 GB) and can clear my data drive over there so I could use sdb (320 GB) if necessary.
Thanks in advance for any suggestions or links to information. I searched here on "remaster" and "mklivecd" but the info I found was all old enough it may be suspect now.
Tim

trobins wrote:I'll need to pick up the install (from sda7 and sda9), copy them over to another physical drive, then, using another distro's live CD, repartition sda, and finally copy / and /home from where I stored them back to sda1 and sda5. Does that make sense?
Yes indeed it does!
trobins wrote:In your example, are "/mnt/source/" and "/mnt/target/" intended as examples, or must I first mount each partition (sda7 and sda9) inside /mnt?
Yes, they were just examples; just mount your source and target directories wherever convenient from within the system you've booted up from a live CD or flash drive, etc. So you might have something like:
# mkdir /mnt/sda7
# mkdir /mnt/sda9
# mount -t ext3 /dev/sda7 /mnt/sda7
# mount -t ext3 /dev/sda9 /mnt/sda9
# mkdir /mnt/sdc1
# mount -t ext3 /dev/sdc1 /mnt/sdc1
# mkdir /mnt/sdc1/rootdir
# mkdir /mnt/sdc1/homedir
# rsync -av --delete /mnt/sda7/ /mnt/sdc1/rootdir/
# rsync -av --delete /mnt/sda9/ /mnt/sdc1/homedir/
sort out sda partitions, reboot from live CD, create appropriate mountpoints, remount partitions, etc and finally ...
# rsync -av --delete /mnt/sdc1/rootdir/ /mnt/sda1/
# rsync -av --delete /mnt/sdc1/homedir/ /mnt/sda5/
Hope this makes sense.
Last edited by ninian (2009-07-15 22:47:50)

Similar Messages

  • I have an unlocked iphone (Australia) and am traveling to Korea. Am I able ot use global roaming there, or does anyone know if I can buy a prepaid SIM and put it in my iphone 4S? Thanks!

    I have an unlocked iphone (Australia) and am traveling to Korea. Am I able ot use global roaming there, or does anyone know if I can buy a prepaid SIM and put it in my iphone 4S? Thanks!

    I should mention that if you are deadset on using a Mac, then you can run Windows 7 or 8 in Parallels. You will find about a 10% speed reduction using a VM emulation. You will also need to have at least 8 GBs of RAM in your Mac to assure optimum performance of both OS X and Windows. Do not install a later version of Windows than is supported by your software.

  • Can I uninstall version 9 and put back version 8 ?

    I upgraded to version 9 of itunes but I don't like it, I liked the old show by genre on home page instead of the new itunes peddling particular artist and albums. Can I uninstall version 9 and put back version 8 ? does this matter to my iphone ?

    You can go back to version 8, but it isn't easy. iTunes 9 has already upgraded your library and you'll have to find your backup library to use with iTunes 8.
    I have found that the iTunes 9 store interface offers some advantages, but it takes some exploring to find everything. You can use the down arrows that appear as you mouse over each category at the top of the iTunes store home page to display whatever you like. For example, display a page of only music in a particular genre:
    Here is a tutorial in using the iTunes 9 store: http://www.apple.com/itunes/how-to/#video-explore
    If you really want to go back to iTunes 8, see this thread: http://discussions.apple.com/thread.jspa?threadID=2157090&tstart=180

  • I have paid and downloaded LION and want to update my IMAC, can i just run install and it keep photos settings etc from Snow Leopard or is a full reinstall with wiped hard drive, anyone have any experience of this and do i need to run a backup beforehand?

    I have paid and downloaded LION and want to update my IMAC, can i just run install and it keep photos settings etc from Snow Leopard or is a full reinstall with wiped hard drive, anyone have any experience of this and do i need to run a backup beforehand?

    Always backup your important data before upgrading to a new Mac OS X.
    Lion doesn't erase the drive but better to be safe than sorry.
    And run Disk Utility  (Applications/Utilities). Verify and if necessary repair the startup disk before upgrading.
    Using Disk Utility to verify or repair disks
    Before upgrading read here >  Lion upgrade questions and answers:  Apple Support Communities
    And here >  What applications are not compatible with Mac OS X 10.7 "Lion"? What upgrade or substitute options are available for common incompatible applications? @ EveryMac.com

  • TS3899 I can no longer in email click on a web address and have the address open in Safari. Nothing happens if I hold and click on Open in the window that comes up. I can copy the address there and put it in Safari and it opens OK

    I can no longer in email click on a web address and have the address open in Safari. Nothing happens if I hold and click on Open in the window that comes up. I can copy the address there and put it in Safari and it opens OK

    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If that doesn't help, tap Settings > General > Reset > Reset All Settings
    No data is lost due to a reset.

  • How to install and reconfigure a new hard drive?

    How to install and reconfigure a new hard drive?
    I installed a new hard drive from best buy for my "vintage" MacBook laptop.  When I turned on the laptop and the flashing folder appeared, I need help?
    I looked online for some clues.  I put in the software disk I received when I bought the disk but I cannot select a destination volume to install the software.  I tired to partition the drive within disk utility but there was an input/output error.  Should I just plug in my external hard drive and hope everything reboots like magic ?
    Thank you for any help you can give

    How to replace or upgrade a drive in a laptop
    Step One: Repair the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger, Leopard or Snow Leopard.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Step Two: Remove the old drive and install the new drive.  Place the old drive in an external USB enclosure.  You can buy one at OWC who is also a good vendor for drives.
    Step Three: Boot from the external drive.  Restart the computer and after the chime press and hold down the OPTION key until the boot manager appears.  Select the icon for the external drive then click on the downward pointing arrow button.
    Step Four: New Hard Drive Preparation
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your new hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID  then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    Step Five: Clone the old drive to the new drive
    1. Open Disk Utility from the Utilities folder.
    2. Select the destination volume from the left side list.
    3. Click on the Restore tab in the DU main window.
    4. Check the box labeled Erase destination.
    5. Select the destination volume from the left side list and drag it to the Destination entry field.
    6. Select the source volume from the left side list and drag it to the Source entry field.
    7. Double-check you got it right, then click on the Restore button.
    Destination means the new internal drive. Source means the old external drive.
    Step Six: Open the Startup Disk preferences and select the new internal volume.  Click on the Restart button.  You should boot from the new drive.  Eject the external drive and disconnect it from the computer.

  • My laptop running XP sp3 and FireFox 3.6 died. I salvaged the HD and put it in a drive enclosure. I bought a new Win7 machine and wish to import my old favorites (I don't have a backup, but the Favorites folder on the old HD is intact).

    My laptop running XP sp3 and FireFox 3.6 died. I salvaged the HD and put it in a drive enclosure. I bought a new Win7 machine and wish to import my old favorites (I don't have a backup, but the Favorites folder on the old HD is intact). I have not been able to determine how to import these favorites from the old HD to the new machine. I haven't found any FAQ that addresses this since I can't really start Firefox on the old HD in order to make a HTML backup. Any ideas? edit

    See this: <br />
    http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile

  • HT1660 can iTunes Playlists be exported and played from a USB drive or an SD card in Ford Sync ?

    can iTunes Playlists be exported and played from a USB drive or an SD card in Ford Sync ? I've been racking my brain trying to get playlists from itunes onto a flash drive and/or SD card to play in Ford Sync. It seems the playlists are "empty" and not associated with any corresponding music files. Sync responds saying "playlists are empty" ?
    The only "work around" I have been able to do is create separate folders on the flash , and name the folders for each corresponding  playlist and copy and paste the appropriate music into the appropriate folders. The limitation being Sync can not recognize folders by voice commands. It recognizes voice commands for playlists, but apparently NOT iTunes playlists ??
    Help

    My script LocaliseM3U should do something similar in Windows.
    tt2

  • Can OS be installed and run from a Firewire drive?

    Hello,
    I recently started to switch from WindowsXP to a Mac Mini. I was considering installing WindowsXP to a drive that I put into my AMS Venus 3.5" drive enclosure. This is a combination enclosure that supports USB 2.0 and Firewire 400. I've never used a Firewire device before so I don't know how well XP would install to and run from a Firewire drive. I'd like to setup XP to run underr Parallels. Its a Seageate 160gig 7200rpm drive that's about 1 1/2 years old.
    Is this possible? Is is actually usable going through a Firewire connection?
    Thanks,
    Jeff

    Hi Jeff,
    installing Windows under Parallels will produce two files that contain the Windows System itself (filename.hdd) and the configuration file (filename.pvs).
    These two files can indeed be put onto an external harddisk and run from it.
    It is quite usuable and you should get the same 'speed' as if these files where on your internal HD.
    Have a look at the PDF files here http://www.parallels.com/en/products/desktop/ for further information on how-to.
    Have Fun
    Stefan

  • I just had an app update that I tried to download - iBooks and it said it couldn't be installed but now it is saying installing for the last 5 days, how can I delete this install and start over?

    I had an app update a few days ago, iBooks and tried to install it on my iphone4s ios 6 and it said it could't be installed.  But instead of it going away it now says it is installing and this had been going on for day.  How can I delete this install?  I have tried going to itunes but cannot find this....
    Please help so I can get this off my phone and maybe try reinstalling it.....

    I had an app update a few days ago, iBooks and tried to install it on my iphone4s ios 6 and it said it could't be installed.  But instead of it going away it now says it is installing and this had been going on for day.  How can I delete this install?  I have tried going to itunes but cannot find this....
    Please help so I can get this off my phone and maybe try reinstalling it.....

  • HT203167 my brother passed away in jan.i had his ipods which were stolen from my car. they were only synced to his computer. we no longer have that computer.i know his apple id & password. can i get this much and put on new ipod?

       i had by brothers ipods and they were stolen from my car.  he passed away in january and his music was very important to me. they were only synced to his computer and we no longer have that.  i know his apple id and password. can i still access all of his library and put onto new ipod? how?
    thanks!

        @farmwife25
    After reading your post, I can certainly understand your concerns with this situation.  I would love to assist you finding a resolution for your service issues in your home area.  First, I'll need to ask you a few questions to help me in resolving.
    In what zip code do you experience this problem?  You mentioned service problems at your home.  Do you get a signal when you're outside at this location?  Have you spoken with our Technical Support Team regarding this issue in the past?  And if so, was a resolution ticket filed for this issue on your behalf?  Please let me know so that I can further assist.  Thanks!
    AnthonyTa_VZW
    Follow us on Twitter @VZWSupport

  • How can I transfer my files and documents from external hard drive to my new MacBook Air?

    I recently bought a new MacBook Air and I would like to transfer my files and documents which I already saved in my external hard drive to this new mac. Unfortunately, I have not been able to do it so far. I tried to drag some files but the rest of the documents cant be transferred.
    I appreciate it if anyone could help me in thsi regard.

    Describe exactly what you did when it failed and the error message you received that told you it failed. Dragging and dropping files from one drive to another will work. Having said that  however, you need to be aware that trying to copy items with the same name will result in a warning dialog box offering several different options including canceling.
    To better help you it would also be helpful to know about the external drive. Did you use TimeMachine to back up to that external drive? Did you copy files from another computer to the drive?

  • How can I uninstall 3.0 and put 2.0 back on

    Hi,
    I regret installing 3.0. I want to remove it and and re-install 2.0. How can I do this?
    Tim

    You can't do anything with Voice memo. I just tuck mine on a back page of Apps that I never use.
    I would love to answer your question about photos/slide show, but I realized that I don't have any photos at the moment on my touch. I had to restore it earlier this week and I guess they got lost. And since I am creating a disk imaging of my primary hard drive, I really can't get to iTunes either.

  • Can iPhone Apps be installed and used in the N900 ...

    I had a quick question. The Apps made for iphone which are available on apple.com. Can that be installed on the N900 and will it run properly ?

    WHY R THE BRITS A NUISANCE THE WORLD OVER  I MEAN AT ONE POINT OF TIME THEY RULED ALMOST THE ENTIRE WORLD AND CREATED NUISANCE WORLDOVER .
    AMONGST THE MOST ROWDIEST FANS ,HOOLIGANS IN ANY WORLDCUP SOCCER MATCH !!
    GOD SAVE ENGLAND AND THE QUEEN !! 

  • Can installer detect prior install and uninstall it?

    Hi all,
    We are using LabWindows CVI 2010.  One of the prior iterations of CVI's distribution kit would detect and existing install of one of our programs and prompt for an uninstall before it would install the new version.  This wasn't a big deal for us, but now it's changed.  Apparently the user must use the Windows Add/Remove panel to uninstall before installing a new version of our software.  Personally, I don't have a big problem with this either, but we have a customer that wants the uninstall prompt first so they don't have to use the Add/Remove panel.  Is there any option in the current Distribution Manager that allows us to include this?
    Thanks,
    Judy Harrigan
    Solved!
    Go to Solution.

    Distributions built with CVI use versioning rules to automatically uninstall lower versions of the same installation. The user won't see any sort of prompt to uninstall the older version; it will happen automatically. This is the case assuming two things:
    Both the newer and older distributions were built from the same configuration settings (i.e. .cds file).
    The newer distribution specifies a higher installer version than the old one.
    You can double check your versioning settings by opening up the Edit Distribution dialog, and examining "Upgrade behavior" the General tab. Specifically, if you leave the "Auto-increment" checkbox checked, then you can ensure #2 above.
    I should also point out that this versioning/upgrade behavior applies only to your program -- not the drivers and runtime support you might be including in the distribution. So if your older distribution packaged in DAQ, and your newer distribution does not, installing your newer distribution over the older one won't cause DAQ to be uninstalled.
    If what I've described doesn't seem consistent with the behavior you're seeing, please let me know, as that would indicate a bug.
    Mert A.
    National Instruments

Maybe you are looking for