LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-16-2003, 09:23 AM   #1
undershepherd
Member
 
Registered: Feb 2003
Location: Iowa
Distribution: SUSE 9.2
Posts: 69

Rep: Reputation: 15
Removing second hard drive


I presently have two hard drivesm on one computer . The first, master, has MDK 9.1 on it. I was using the second one to play around, but everytime I try to put another linux distro on it, something goes wrong. Anyway, I would like to remove the second hard drive from the computer and use it in another computer.
I can mount this second one in MDK9.1, and everything is fine there. I have mdk 9.1 on it as well, and this is reflected in lilo. I know how to edit lilo to remove the entry for the second linux os on that drive. What steps do I need to take to remove this second drive from the computer, physically as well as with reference to MDK on the main drivet? Will it mess up the boot if it's gone? When booting, MDK recognizes it and mounts it "clean."

Thanks
 
Old 05-16-2003, 09:51 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,043

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Remove any reference to the second drive in /etc/fstab.

Remove any reference to the second drive in /etc/lilo.conf and rerun /sbin/lilo.

No other changes are required unless your motherboard BIOS is not setup for hard drive auto detect. For most mobo it is the default setting.
 
Old 05-16-2003, 10:53 AM   #3
undershepherd
Member
 
Registered: Feb 2003
Location: Iowa
Distribution: SUSE 9.2
Posts: 69

Original Poster
Rep: Reputation: 15
Thanks for the quick response. Should I remove the references before or after I physically remove the HD?
 
Old 05-16-2003, 11:23 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
before would be safer, but it won't cause a problem either way.
 
Old 05-16-2003, 11:43 AM   #5
undershepherd
Member
 
Registered: Feb 2003
Location: Iowa
Distribution: SUSE 9.2
Posts: 69

Original Poster
Rep: Reputation: 15
Thanks again. One more question: should i run /sbin/lilo (which I am assuming you run in a terminal, and type just that), before or after physical removal?
The reason I ask: I removed a CDRW from a Windows ME machine, without removing it in control panel first, and tried to reboot the computer and it froze up. Ended up, I had to detach the bios battery for 10 seconds, put it back in, and reboot, and everything was fine.
Thanks
 
Old 05-16-2003, 11:49 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
doesn't matter, all the could happen would be that you remove the drive and there is still an entry in the lilo menu for an os on that drive. run that command and it will fail... no biggy...
 
  


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
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 09:48 AM
2 hard drive in system mirror 1st hard drive sburns76247 Linux - General 2 12-21-2004 02:47 AM
Removing Linux from a second hard drive jstroud99 Linux - General 2 09-13-2004 01:06 PM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 01:01 PM
After removing another hard drive, system sees incorrect amount of free space cellphone Linux - General 5 09-28-2003 08:29 PM


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