Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
moved root fs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
eeknay
Guru
Guru


Joined: 07 Jul 2003
Posts: 402
Location: EndOfTheRainbow

PostPosted: Sun Aug 21, 2005 9:59 pm    Post subject: moved root fs Reply with quote

Hi,

I just migrated my system to a new harddisk like told in: https://forums.gentoo.org/viewtopic-t-95889-highlight-move+system.html (by ctford0)

now after i boot i get the following error:

Code:

Booting initramfs
chroot: cannot execute /bin/sh no such file or directory
Kernel Panic - not syncing: Attempt to kill


thats it.

Might it be possible that I have to recompile my kernel while chrooted into the new system?

eeknay
_________________
Linda: "The holiday season is time of celebration for most but it is also the time to remember the tragic suffering of the less fortunate."
Morbo: "Earthlings do not yet know the meaning of suffering."
Back to top
View user's profile Send private message
jtwJGuevara
n00b
n00b


Joined: 27 Jul 2004
Posts: 26

PostPosted: Sun Aug 21, 2005 10:10 pm    Post subject: Reply with quote

I personally have never tried migrating data from one hard disk to another. However, my first guess here would be to throw in a gentoo live CD and mount your partitions on the new drive manually to ensure everything is in order. If everything looks in order, try chrooting into that environment and setup both your bootloader and fstab again. You could compile your kernel to be placed back into your new /boot directory as well.

*shrug*

If you try that, let me know what happens.
Back to top
View user's profile Send private message
eeknay
Guru
Guru


Joined: 07 Jul 2003
Posts: 402
Location: EndOfTheRainbow

PostPosted: Sun Aug 21, 2005 10:17 pm    Post subject: Reply with quote

:oops: I just forgot to copy the /bin folder ;) now its fine
_________________
Linda: "The holiday season is time of celebration for most but it is also the time to remember the tragic suffering of the less fortunate."
Morbo: "Earthlings do not yet know the meaning of suffering."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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