LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-03-2005, 11:53 PM   #1
prabhatsoni
Member
 
Registered: Oct 2004
Location: India
Distribution: FC 12
Posts: 233

Rep: Reputation: 30
How to shift hard disk from hda to hdc ?


Hello everybody,

I have a dual OS system with linux HD as hda. How can I shift this hard disk to hdc without traversing through the whole re-installation path (which would be a big headach).

Thanks in advance.


Prabhat Soni
 
Old 08-03-2005, 11:57 PM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
just change the disk from primary master to primary slave...
 
Old 08-04-2005, 10:33 AM   #3
prabhatsoni
Member
 
Registered: Oct 2004
Location: India
Distribution: FC 12
Posts: 233

Original Poster
Rep: Reputation: 30
Thanks

But will changing the cable etc take care of everything ? I believe some tinkering will have to be done with "rdev" etc etc ? I am a bit confused.

Please help me.


Prabhat Soni
 
Old 08-04-2005, 06:14 PM   #4
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
yeah, AFAIK a little tinkering would have to be done... like, you'd need to make the necessary changes to your bootloader and your /etc/fstab, etc... i'm not sure about rdev, i've never used it...

EDIT: removed bogus jumper advice (thanks IsaacKuo)


Last edited by win32sux; 08-04-2005 at 06:46 PM.
 
Old 08-04-2005, 06:28 PM   #5
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 4.0 Etch
Posts: 1,349

Rep: Reputation: 49
Umm...he wants to transfer it to hdc, not hdb. That means going from primary master to secondary master. All that needs to be done hardware-wise is move the cable from the primary to the secondary IDE channel.

Software-wise, there are at least two things that need changing. First, you need to change your fstab. Any references to hda need to be changed to hdc. Second, you need some way to boot up hdc. This will depend on what you have on hda. If it's another Linux setup, and it has the grub bootloader, then you don't need to do anything. Grub will automatically detect the Linux partition on hdc and will offer it as a bootup choice. If hda has lilo, then lilo will need to be updated. If hda has Windows, you'll probably want to install grub onto it.
 
Old 08-04-2005, 06:44 PM   #6
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally posted by IsaacKuo
Umm...he wants to transfer it to hdc, not hdb. That means going from primary master to secondary master. All that needs to be done hardware-wise is move the cable from the primary to the secondary IDE channel.
you're absoloutely right, i have no idea why i posted that... LOL!!!

 
  


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
Moving from hdc to hda - Kernel panic goozlq Linux - Hardware 5 08-31-2005 06:06 AM
Moving a Disk from HDC to HDA? ashleyfrazer Linux - Newbie 4 06-29-2004 05:30 AM
hda windows, hdc linux dataport Linux - Newbie 4 01-21-2004 07:26 PM
kernel panic:no init found after changing from hda to hdc janjack Linux - General 10 11-12-2003 07:19 PM
GRUB error WinXP hda, Linux hdc oLEG Linux - General 4 06-26-2003 01:15 PM


All times are GMT -5. The time now is 01:05 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