LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-08-2010, 05:54 AM   #31
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112

yes.

The disk types of IDE or Sata do not matter, neither the sizes between 2.5" and 3.5".

However to boot properly without any more work you must use the disk in the same boot disk order as before. This is to say if it been booted up as a sdb before then it should boot same as sdb in the new environment. To alter the disk order in Linux is possible but requiring correction to the boot loader configuration files and fstab. Also certain server type Linux distros, like Red Hat, dislike being moved and have Selinux preventing such a migration. The movement can only be achieve by disabling Selinux at least initially.

If you use an old kernel that sticks to hda to hdd device names and move it to a Sata you need to amend the boot loader configuration and fstab too.

The other golden rule is to use the target disk either exactly in size or just larger than the source disk.
 
Old 08-09-2010, 01:56 AM   #32
hadimotamedi
Member
 
Registered: Aug 2009
Posts: 228

Original Poster
Rep: Reputation: 30
Thank you very much for your help. So I need to obtain another ide-to-usb adapter and then clone one of the primary working ide disks to another formatted one through 'dd if of' utility. Can you please let me know how can I make my centos dual boot with redhat?
 
Old 08-09-2010, 02:32 AM   #33
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
You don't need any formatting operation if you clone the whole disk?

I can't see why CentOS and Re Hat cannot be dual booted, as these are just 2 of the 30+ Linux in my hard disk. Just remember to use the clone in the same condition as the source disk otherwise you will have to do extra work.

Last edited by saikee; 08-09-2010 at 02:34 AM.
 
Old 08-09-2010, 02:58 AM   #34
hadimotamedi
Member
 
Registered: Aug 2009
Posts: 228

Original Poster
Rep: Reputation: 30
So , according to you, the second ide disk does not need to be formatted first (it just needs to be of the same geometry as the first one). Can you please let me have a reference link on how to dual boot my centos with redhat?
 
Old 08-09-2010, 06:27 AM   #35
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
When you clone a first hard disk onto a second hard disk you force the second hard disk to become a mirror image of the first. Both disks have identical partition table and inside the area prescribed by this partition table every binary bit is the same in the two disk. Formatting the second disk is just a waste of time regardless you can get it right or not. The second disk by default will have the same geometry of the former.

Both CentrOS and Red Hat use a Linux boot loader which can be Lilo or Grub. Grub is the preferred choice in all the versions I have come across these two distros.

Any Grub, be it a Grub1 or Grub2, can boot any Linux directly. Additionally a decent boot loader like Grub can indrectly boot any other PC boot loader from Windows, BSD and Solaris.

Therefore there is no installed PC operating system Grub cannot boot!!!!!!!!!!!!!

If you must see a link to convince yourself this thread has one Grub booting 145 operating system using indirfect method because it is easier. Red Hat and CentSO were the 2 among the 145 system. They were installed in hda11 and hdc11 respectively.

Last edited by saikee; 08-09-2010 at 06:37 AM.
 
  


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
iscsi: which local device (/dev/sda, /dev/sdb) is used WITHOUT dmesg? knikkerr Linux - Software 3 08-13-2010 04:30 AM
USB drive... /dev/sda1 doesn't show unless I try mounting /dev/sda as vfat finite Linux - Hardware 8 03-10-2009 12:52 AM
Installing RIP LinuX on a USB drive - device name /dev/sdc becomes /dev/sda Mleahy Linux - Software 1 07-30-2008 08:57 PM
Install lilo on external drive (/dev/sda), then boot as INTERNAL (/dev/hda)? slackware-elf Slackware 3 08-18-2007 04:51 PM
Sandisk USB card Reader not linking /dev/sg0 to /dev/sda acidraven Linux - Hardware 1 06-19-2004 03:56 PM


All times are GMT -5. The time now is 05:05 AM.

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