Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
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).


  Search this Thread
Old 02-06-2006, 06:32 PM   #1
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!


Old 02-06-2006, 06:48 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
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
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,



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 > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 09:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration