LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-31-2003, 02:54 AM   #1
ianunderwood
Member
 
Registered: Apr 2003
Location: Edinburgh, Scotland, UK
Distribution: SuSE 9.2, VectorLinux 3.2
Posts: 68

Rep: Reputation: 15
grub problem


Hi all

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.

Thanks for reading

Ian
 
Old 05-31-2003, 03:43 AM   #2
jt1020
Member
 
Registered: Apr 2003
Location: root@localhost
Distribution: Fedora Core 5, Ubuntu, Debian
Posts: 537

Rep: Reputation: 30
go to this forum, look at MasterC's post and check out Aussies page on doing this:

http://www.linuxquestions.org/questi...threadid=58428

Last edited by jt1020; 05-31-2003 at 03:49 AM.
 
Old 05-31-2003, 03:56 AM   #3
ianunderwood
Member
 
Registered: Apr 2003
Location: Edinburgh, Scotland, UK
Distribution: SuSE 9.2, VectorLinux 3.2
Posts: 68

Original Poster
Rep: Reputation: 15
Cheers for replying

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.

Best

Ian
 
Old 05-31-2003, 04:02 AM   #4
jt1020
Member
 
Registered: Apr 2003
Location: root@localhost
Distribution: Fedora Core 5, Ubuntu, Debian
Posts: 537

Rep: Reputation: 30
ok... in that case, try removing grub in the MBR of your hdd....
 
Old 05-31-2003, 05:45 AM   #5
ianunderwood
Member
 
Registered: Apr 2003
Location: Edinburgh, Scotland, UK
Distribution: SuSE 9.2, VectorLinux 3.2
Posts: 68

Original Poster
Rep: Reputation: 15
OK, cheers!

Ian
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yet another GRUB problem eqxro Linux - Software 3 08-04-2004 09:27 AM
HDD problem, scancode problem and grub EJ_INSIDE Debian 2 07-15-2004 09:36 AM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM
grub problem jigs Linux - Newbie 7 09-18-2003 12:16 PM
GRUB problem pupunk98 Linux - Newbie 7 12-26-2002 04:34 AM

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

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