LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 02-06-2006, 06:32 PM   #1
rhstudent
LQ Newbie
 
Registered: Feb 2002
Location: Western PA USA
Distribution: Red Hat 8.0/9.0 Fedora Core 3
Posts: 28

Rep: Reputation: 15
Question How to rebuild Grub config file


Hello All;

I need some direction with a problem I'm having with my laptop.

I had it setup to dual boot into Win2k and FC2. I hadn't used the linux partition for a while and needed the extra space to move some files off of a external drive. I clobbered the linux partition from within windows and reformatted it to an NTFS partition so I could move the files. The problem is that I believe it whacked something that grub needs to boot. After I rebooted my laptop, all I get is the grub commandline [GRUB>]. I would like to just boot into windows so I can transfer the files over to another PC. Then I would like to just remove grub all together if possible and just boot directly into windows.Or is there a way I can rebuild the files grub needs to boot and have them on the windows partition?

Can anyone out there lend a hand?

I do have a live-cd of knoppix booted and it does see all of my files on both partitions if that helps.


I'm a little inexperienced with grub and very rusty with linux so any help would be great!

Thanks,

RHstudent
 
Old 02-06-2006, 06:48 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
You could use your Windows rescue CD to fixmbr or an old dos boot disk to fdisk /mbr to restore the Windows Bootloader. If you need a boot disk, they're all over the web or google the "Ultimate Boot CD"...
 
Old 02-06-2006, 08:46 PM   #3
rhstudent
LQ Newbie
 
Registered: Feb 2002
Location: Western PA USA
Distribution: Red Hat 8.0/9.0 Fedora Core 3
Posts: 28

Original Poster
Rep: Reputation: 15
That did the trick!

I can't believe that I didn't think of that!!

Thanks again,

RHstudent
 
  


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
grub config file not there linuxmandrake Mandriva 1 05-28-2005 02:13 PM
Dual boot grub config file on SuSE theSandMan Linux - Newbie 3 01-19-2005 07:34 PM
GRUB config file me23 Linux - Newbie 3 07-17-2003 12:02 PM
GRUB. Which config file do I modify? correro Linux - General 14 03-18-2003 10:11 AM
Reusing .config during kernel rebuild ssu4716 Linux - General 1 04-01-2002 12:06 PM


All times are GMT -5. The time now is 10:37 AM.

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