LinuxQuestions.org
Visit Jeremy's Blog.
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 02-26-2003, 08:27 PM   #1
Penguinomics
LQ Newbie
 
Registered: Dec 2002
Location: Mentor, Ohio
Distribution: Red Hat 9.0
Posts: 11

Rep: Reputation: 0
Change Drive Association With Grub


Hi All,

I'm running a dual boot system of W2K Pro and SuSE Linux 8.1 Pro.

I had to reformat my Main HDD and the drive letter changed from "C" to "F", and now Grub doesn't show up at all when I initially boot up to allow me to select which Operating System to Boot from. I know Grub is there, I just don't know how to access it to re-associate it to my Windows OS.

Could someone please enlighten me as to how to straighten this out???
 
Old 02-26-2003, 10:32 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
Grub does not have a concept of C: or F: or anything like that. The only thing it knows about are partitions. So formatting the partition shoudn't have changed anything.

However, you said your drive letter changed from C: to F:. Am I right in assuming you changed your main Windows hard drive. In other words, you now have a new C: drive you boot from? If you did, then that's the problem. Grub was installed in the boot block of your OLD C: drive. To get the dual boot back, you'll have to re-install Grub onto your NEW C: drive. To be technically correct, you need to install Grub onto the drive you boot from (which is probably your new C.

To do that, you'll need your boot disk to get into Linux. IThen you'll need to verify your grub.conf file: make sure all the partitions for your new drive match up correctly. Then, I believe the command is 'grub-install <drive>' as in grub-install /dev/hda.
 
Old 02-27-2003, 04:40 PM   #3
Penguinomics
LQ Newbie
 
Registered: Dec 2002
Location: Mentor, Ohio
Distribution: Red Hat 9.0
Posts: 11

Original Poster
Rep: Reputation: 0
Hi Dark_Helmet,

Thanks for your reply............

Forgat that Linux doesn't refer to drive letters (it's a Windows thing)LOL..........

Yes I did reformat my main HDD and thats when the &^%$ hit the fan......

I'll give what you suggested a shot this weekend and post back................

Thanks again...........
 
  


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
Change appearance of GRUB Norab Linux - Software 8 08-29-2005 07:09 PM
How can I change the association for folders back to Konqueror? smacsuibhne Mandriva 1 08-16-2005 06:48 AM
Installed GRUB on 3rd hard drive, how do I boot 1st drive? jesusphreak Linux - Newbie 4 04-06-2005 09:34 AM
Should I change from grub to lilo? hydro Linux - Newbie 2 02-17-2003 02:09 PM
can we change the bkground of the grub Morpheus Linux - General 2 12-10-2002 09:44 PM

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

All times are GMT -5. The time now is 05:20 PM.

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