Terminus Logo  Secured by phpPhobos

Shadow Family   
  Login  - No Account?  Create One   
Search 
Friday, 19 April 2024  -
News FeedRSS Feed
rss rdf  
  Home 
  Authentication 
 Documentation 
    Site Documentation 
    About me 
  Legal Notice 
 Applications 
    Web Links 
 Hobbies 
    RC Models 
    RC Batteries 
    Build blogs 
 Modules 
    Downloads 
    Weblinks 
 Blacklists 
    Blacklist 
    Blockout 
    DNS Blacklist 
 Registered Bloggers 
  Joerg's Blog 
 Gallery [Listing]
  > Diving 
  > Steampunk 
  > RC Planes 
  > FPV Drones 
  > Indy travels 
 FAQ  [ Topics  ]
 Common Linux problem... 
 Routerboard RBxxxAH 
 Apple Mac-mini 
 PHP Phobos 
 Stargate's Backup sc... 
 eBook Reader / PRS-5... 
 RC Models 
 Server in SolLan 
Question ? Can I move my OS from one Harddisk to another one ?   [
View DetailsView details
|
Print ViewPrint view
]

 This is not an issue. Just make sure you boot from a Live-CD, mount the Filesystems accordingly into 2 Directories like new and old, and copy all files over. I usually use the cp command like this:

~# cd /old
~# cp -aRv * /new

Whan that is done - younneed to fix 2 Things.

  • All hard-disk UUID's have changed. Identify these using blkid. Check the FAQ
  • Make sure you update the /etc/fstab and /etc/grub/menu.lst files with the UUID. If the fstab entry is wrong, you'll get a Kernel panic - cannot find root-FS. In case the Grub Entry is not fixed, you'll get an error 15, file not found when trying to boot the kernel from the boot-loader

At the end - you have to regenerate the the initial Ramdisk using mkinitramfs. Check the manpage/google for your specific OS Version.
After that - you should be fine booting again. 

Entered by smurphy on Tuesday, 17 March 2009 @ 09:07:19  
Ubuntu (Kubuntu,Ubuntu,Xubuntu) - Linux Distribution Specific, # Hits: 61294
  Back Back  
 
Problems to  webmaster(-AT-)solsys(-DOT-)org  - best viewed @ 1920bpp
This site is powered by phpPhobos v2.0b446
© J. Mertin smurphy(-AT-)solsys(-DOT-)org 
Icons - Copyright Breeze artists GPL 2+