LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


Search this Thread
Old 06-27-2009, 01:50 PM   #1
Registered: Feb 2008
Posts: 401
Blog Entries: 1

Rep: Reputation: 35
clone ubuntu 8.04 okay, but not CentOS 5.2 and Fedora 10.

I have successful tar an existing CentOS 5.2 partition from Fefora10.
The idea is to move a working CentOS 5.2 residing in an internal hard drive to a portable hard drive.

I know how to edit a stencil in menu.lst to boot the clone CentOS5.2.
During boot, I encountered

Red Hat nash version
mount: could not find filesystem /dev/root
setuproot: moving /dev failed No such file or directory
setuproot: mounting /proc: No such file or directory
setuproot: mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
kernel panic -- not syncing: Attempted to kill init!

Strangely enough, I was able to clone a working ubuntu 8.04 in a portable hard drive without this problem.

What could go wrong ?
Since I have all the files as the old CentOS 5.2 system, nothing should go wrong. Of course, I need to
edit /etc/fstab of the new cloned system and /boot/grub/menu.lst.

For Fedora 10 case:
During boot time,

It says
Could not detect stablization waiting for 10 sec
Unable to access resume device (UUID=da7b21e3-5469-4eef-9a01-637b95affab5)
mount: error mounting /dev/root on /sysroot as ext3
No such file or directory.
Old 06-28-2009, 03:12 AM   #2
Registered: Feb 2008
Posts: 401
Blog Entries: 1

Original Poster
Rep: Reputation: 35
As I have found out now, replicating/cloning an OS and booting from an internal hard drive was easy and smooth,
but not with with an external drive, even though the SAME steps are taken.

My theory is that when I am trying to boot up an OS from an external drive,
the /dev/hda or /dev/hdb or /dev/sda or /dev/sdb is causing unforseeen
confusion to the kernel and thus it is causing mounting /dev/ to fail .

It is very interesting to find out ubuntu 8.04 does not get confused.
If fact, /dev/sdb is used for the external drive and /dev/sda=internal-drive is not mounted (one would tend to think /dev/sda
is the ACTIVE hard drive, not so for ubuntu! It pays to experiment with non-RedHat distros).

I have no solution to my problem right now.
Old 06-28-2009, 03:57 AM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,563

Rep: Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086
That sounds like (lack of) support in the initrd.
Old 06-28-2009, 11:50 AM   #4
Registered: Feb 2008
Posts: 401
Blog Entries: 1

Original Poster
Rep: Reputation: 35
For reference, see a similar post :

For now, unless someone can guide me through it, I won't mess with this issue.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to clone CentOS linux? I want to make same copy into another PC. rahilmaknojia Linux - Software 2 05-16-2009 12:14 AM
how to clone centos to other hard disk? windstory Linux - Newbie 2 02-13-2009 09:43 PM
How to clone CentOS ? philstarter Linux - Software 1 06-26-2007 08:25 AM
LXer: Which Distro to choose? - Comparison -(Not a Debian vs Ubuntu vs Fedora vs Centos) LXer Syndicated Linux News 0 04-16-2007 05:16 AM
Redhat vs Clone (CentOS) Arodef Red Hat 6 02-01-2006 10:56 PM

All times are GMT -5. The time now is 06:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration