LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-11-2003, 07:03 PM   #1
correro
Member
 
Registered: Oct 2002
Distribution: RedHat 8.0
Posts: 140

Rep: Reputation: 15
What if I change the jumper or IDE slot


If I change the jumper on the hard disk, say from master to slave, or change the IDE slot, say from primary to secondary, will my Linux system still work? Will I need to boot from a floppy? Will I need to re-configure something?

We don't have to do anything if it's a Windows system. I just wonder if Linux is the same intelligent.
 
Old 03-11-2003, 08:01 PM   #2
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
umm, if you don't have a 'master' drive (one of them, if more than one), bios won't recognize the os...therefore, windows won't work either.

you may have to redo lilo if you change your boot statistics.
 
Old 03-11-2003, 08:11 PM   #3
correro
Member
 
Registered: Oct 2002
Distribution: RedHat 8.0
Posts: 140

Original Poster
Rep: Reputation: 15
I use GRUB as boot loader.

What should I do if I must change disk jumper and/or IDE slot?
 
Old 03-11-2003, 08:59 PM   #4
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
Can you clarify the problem...are you adding a drive, are you moving this drive to slave, etc. Without these details, its hard to be more helpful.

If you have multiple drives, giving the general layout would also be helpful (ie. hda= windows, hdb1=windows, hdb2=linux, etc.)

As for IDE slot, you may get away with booting an OS off of a secondary HD, but you may need to change something in the bios.
 
Old 03-11-2003, 09:14 PM   #5
correro
Member
 
Registered: Oct 2002
Distribution: RedHat 8.0
Posts: 140

Original Poster
Rep: Reputation: 15
Currently, I have RH8 running on /dev/hdb, while W2K is installed on /dev/hda.

I'm thinking about taking the RH8 disk off and mounting it on a separate machine.

I'm not sure to what extent I will need to re-configure the boot loader and how.
 
Old 03-11-2003, 09:59 PM   #6
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
hmm, the problem may be that grub is installed on the MBR on hda

so, if you plan on moving this *permanently* (or for a long time), install grub on the MBR on hdb, then you should be fine (you'll also have to change the jumpers to master when you move the drive)

if this is a temporary thing, maybe just booting from floppy would be the easiest solution (when booting from floppy, you can make your own grub/lilo config, or you can just tell it when prompted to boot to the correct partition)
 
Old 03-11-2003, 10:08 PM   #7
correro
Member
 
Registered: Oct 2002
Distribution: RedHat 8.0
Posts: 140

Original Poster
Rep: Reputation: 15
W2K had been installed (on hda) when I installed RH8. Where is GRUB installed in this case? On MBR of hda or hdb?

I plan to move the RH8 disk off permenantly. If I must re-install GRUM on hdb, how do I do that?
 
Old 03-11-2003, 10:08 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
You will also have to change the /etc/fstab file to reflect the change from /dev/hdb to /dev/hda.
 
Old 03-11-2003, 10:19 PM   #9
correro
Member
 
Registered: Oct 2002
Distribution: RedHat 8.0
Posts: 140

Original Poster
Rep: Reputation: 15
michaelk, do you mean that mean i don't need to reinstall anything? just modify fstab?
 
Old 03-11-2003, 10:20 PM   #10
correro
Member
 
Registered: Oct 2002
Distribution: RedHat 8.0
Posts: 140

Original Poster
Rep: Reputation: 15
i just took a look at /etc/fstab

seems to me you cannot specify where you boot from in this file
 
Old 03-11-2003, 10:43 PM   #11
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
yeah, /etc/fstab won't help you boot.
: )

I havent used grub, but its not much different...basically, make yourself a linux bootdisk. Transfer the hdb to the new comp, mounting it as the master (correct?). Boot the HD through the floppy, then edit grub.conf and make sure it installs itself on the MBR (maybe check the grub manpage for this part). That should do the trick.

the /etc/fstab is for later... after you install Debian, you should edit fstab to see the RH partition.
 
Old 03-11-2003, 10:54 PM   #12
correro
Member
 
Registered: Oct 2002
Distribution: RedHat 8.0
Posts: 140

Original Poster
Rep: Reputation: 15
this is very clear, cuckoopint. i'll give it a try. thanks!
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto change Netbeans IDE Font Akiles Linux - General 2 04-18-2005 03:34 AM
the little jumper that can, has and will t3gah General 5 04-17-2005 07:27 AM
SCSI Jumper settings help (array of 6) bkeating General 0 07-31-2003 01:27 AM
cd-rw and jumper settings salparadise Linux - Newbie 4 02-02-2003 11:44 AM
Lost jumper to HDD... Oooska Linux - Hardware 5 05-13-2002 12:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration