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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-16-2003, 08:23 AM
|
#1
|
|
Member
Registered: Feb 2003
Location: Iowa
Distribution: SUSE 9.2
Posts: 69
Rep:
|
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
|
|
|
|
05-16-2003, 08:51 AM
|
#2
|
|
Moderator
Registered: Aug 2002
Posts: 10,704
|
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.
|
|
|
|
05-16-2003, 09:53 AM
|
#3
|
|
Member
Registered: Feb 2003
Location: Iowa
Distribution: SUSE 9.2
Posts: 69
Original Poster
Rep:
|
Thanks for the quick response. Should I remove the references before or after I physically remove the HD?
|
|
|
|
05-16-2003, 10:23 AM
|
#4
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,707
|
before would be safer, but it won't cause a problem either way.
|
|
|
|
05-16-2003, 10:43 AM
|
#5
|
|
Member
Registered: Feb 2003
Location: Iowa
Distribution: SUSE 9.2
Posts: 69
Original Poster
Rep:
|
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
|
|
|
|
05-16-2003, 10:49 AM
|
#6
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,707
|
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...
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:59 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|