LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 06-27-2009, 12:50 PM   #1
centguy
Member
 
Registered: Feb 2008
Posts: 394
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

Quote:
....
Red Hat nash version 5.1.19.6
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
Quote:
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, 02:12 AM   #2
centguy
Member
 
Registered: Feb 2008
Posts: 394
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, 02:57 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,267

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

Original Poster
Rep: Reputation: 35
For reference, see a similar post :
http://www.centos.org/modules/newbb/...20973&forum=38

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


Reply


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-15-2009 11:14 PM
how to clone centos to other hard disk? windstory Linux - Newbie 2 02-13-2009 08:43 PM
How to clone CentOS ? philstarter Linux - Software 1 06-26-2007 07: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 04:16 AM
Redhat vs Clone (CentOS) Arodef Red Hat 6 02-01-2006 09:56 PM


All times are GMT -5. The time now is 10:34 PM.

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