Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
solving devfsd problems when migrating a whole gentoo system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
h2o
n00b
n00b


Joined: 30 Aug 2002
Posts: 2
Location: switzerland

PostPosted: Fri Feb 14, 2003 12:09 am    Post subject: solving devfsd problems when migrating a whole gentoo system Reply with quote

migrating a whole gentoo system from one harddisk to another can be done e.g. with remote-tar or rsync (or dd for exact bit-by-bit copies of whole disks -> if you use dd, ignore this posting).

actually, this should just work fine. but in practice, one needs some manual adjustments after having transferred all data from / (including /boot but except /proc).

required adjustements on the target box (at least in my case):

1.) grub needs to be reinstalled (though you made exact copies of your mbr and partition table). you can do this after having chroot'ed to your new system (see the gentoo installation manual).

2.) amazingly, you even need to recompile the kernel on your newly migrated system, else, devfsd probably won't work (/dev will be mounted but devfsd doesn't run [not shown in `ps aux|grep devfsd`]. error message when executing `devfsd /dev`: 'Error opening file: ".devfsd" No such file or directory'). after recompiling the kernel (same config as before) and rebooting, devfsd works again (i tried many other things, none of them solved it). sounds weird, but that's the way it is.

rgds

dan
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum