Linux - GeneralThis 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
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm having the following problem. I've tried to work out what to do from grub --help and looking at my sole linux book but neither helped very much. My IDE device configuration until yesterday was as follows:
hda - 4.5GB Data Drive (old WIndows drive)
hdb - CD-ROM
hdc - CD-ROM
hdd - 7.5GB Linux drive
I've now taken out hda, swapped it for a new 40GB drive, removed hdd as well and re-installed linux onto the new larger drive. I now want to salvage as much as I can from my old linux drive, so yesterday I connected it in the same position, slave to the CD-ROM on the secondary IDE slot (hdd). What's really weird (at least to me) is that in that configuration, grub loads from *hdd* and therefore reads the old grub.conf and proceeds to boot linux off of hdd.
It is possible for me to get into linux from the old drive I guess (though I will need to remove a line from fstab for the old data drive). Once I'm booted up, is there some way that I can remove grub (or just the thing which points to grub when you switch on) so that it will correctly boot off of hda? As you can see, I'm still very fuzzy about how this whole grub thing works.
I'm really sorry but I couldn't see the relevance to my problem in MasterC's post. All I want to do is kill whatever it is on hdd (i.e. my old linux drive) that is allowing the PC to boot from there. When hdd isn't plugged in the PC boots from hda fine. But when hdd *is* plugged in, the PC boots from hdd and completely ignores hda.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.