Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Reinstalling GRUB Menu

18 Dec 2009   #21
TGSoldier

 
 

Here we go

Thanks



Reinstalling GRUB Menu-boot.jpg




My System SpecsSystem Spec
.
18 Dec 2009   #22
iseeuu

 
 

Quote   Quote: Originally Posted by TGSoldier View Post
Here we go
Thanks
Attachment 42511
TG;

What I had in mind won't work. It seems Grub (or LILO) must be installed to boot to linux, so in my humble opinion, it is just easier to install and use the Grub boot loader instead of the Windows boot loader.

Your Knoppix CD is a live CD, meaning when you boot to the CD you have started a Knoppix Operating System. From the Live CD you should be able to reinstall Grub, but you need to install it to the MBR in order to include your XP in the Grub boot menu. You may also be able to use the Live CD to create a bootable floppy for you that will allow you to access your Knoppix partition and from there reinstall Grub.

This link: Grub Reinstallation Linux Lingo posted by jeffc seems to me to be the simplest to follow and if you can still not get it to work there is a link to get an ISO file you can burn to CD, boot, and use to install grub.

You can use the XP boot loader, but that requires some editing and I don't know how comfortable you are with that?

Please let us know how we can help?

.
My System SpecsSystem Spec
18 Dec 2009   #23
TGSoldier

 
 

I have been to all these websites and tried different steps..

Quote:
Type the following and press enter:

find /boot/grub/stage1


When I reach there, i end up with "Error 15 ( i think it's 15) :File not found"

I have no problem editing anything.
My System SpecsSystem Spec
.

18 Dec 2009   #24
iseeuu

 
 

Quote   Quote: Originally Posted by TGSoldier View Post
I have been to all these websites and tried different steps..

Quote:
Type the following and press enter:

find /boot/grub/stage1


When I reach there, i end up with "Error 15 ( i think it's 15) :File not found"

I have no problem editing anything.
OK.

First add this line to the end of your boot.ini:

c:\linux.bin="Linux"

Then Dump Linux boot sector to a file. Boot to Linux and type the following:

dd if=/dev/hda2 of=/linux.bin bs=512 count=1

Copy the file: linux.bin from Linux to the C: of your Windows XP and reboot.

There should be a menu entry to boot to your Knoppix partition?


Otherwise you could download a bootable disk to install Grub from here: Download Super Grub Disk 0.9799 for Linux - A bootable floppy or CDROM that is oriented towards system rescue. - Softpedia

Or another suggestion would be to download the Ubuntu ISO, burn to CD, so I can walk you through installing Grub from that CD.

Cheers!


My System SpecsSystem Spec
19 Dec 2009   #25
TGSoldier

 
 

Ok so.

When I run the "dd if=/dev/hda2 of=/linux.bin bs=512 count=1"

I get an error saying " no such file or directory."

Also, noticed you said knoppix partition. I am booting from knoppix on a cd.. I think it's redhat linux on the next partition. I'm not even sure xD.

Edit.

So I noticed when I ran the command it was saying "dd: opening '/dev/hda2' : No such File or directory"

So i figured it was just pointing to the wrong path. I opened up explorer and changed /dev/hda2 to /media/sda2.

When i run the command with /media/sda2 it says "opening /linux.bin': permission denied"

:S
My System SpecsSystem Spec
19 Dec 2009   #26
ManyBeers

Windows 7 32bit
 
 

Quote   Quote: Originally Posted by TGSoldier View Post
Ok so.

When I run the "dd if=/dev/hda2 of=/linux.bin bs=512 count=1"

I get an error saying " no such file or directory."

Also, noticed you said knoppix partition. I am booting from knoppix on a cd.. I think it's redhat linux on the next partition. I'm not even sure xD.

Edit.

So I noticed when I ran the command it was saying "dd: opening '/dev/hda2' : No such File or directory"

So i figured it was just pointing to the wrong path. I opened up explorer and changed /dev/hda2 to /media/sda2.

When i run the command with /media/sda2 it says "opening /linux.bin': permission denied"

:S
I thnk you are getting that error because Grub isn't there. When you originally set up your dual-boot arrangement you allowed the Linux installer to place Grub in the MBR correct? So it overwrotwe XP's
MBR and added itself and XP as boot options. Then you had a problem
with XP booting so I assume you somehow replaced Grub's MBR with
XP's via fixboot/fixmbr command. So GRUB is no longer on your computer. Is this correct?
For this method to work Grub must be placed in the Linux root partition and Not the MBR.
Then you run the DD command.

How many partitions do you have on your computer?
My System SpecsSystem Spec
21 Dec 2009   #27
TGSoldier

 
 

Quote   Quote: Originally Posted by ManyBeers View Post
Quote   Quote: Originally Posted by TGSoldier View Post
Ok so.

When I run the "dd if=/dev/hda2 of=/linux.bin bs=512 count=1"

I get an error saying " no such file or directory."

Also, noticed you said knoppix partition. I am booting from knoppix on a cd.. I think it's redhat linux on the next partition. I'm not even sure xD.

Edit.

So I noticed when I ran the command it was saying "dd: opening '/dev/hda2' : No such File or directory"

So i figured it was just pointing to the wrong path. I opened up explorer and changed /dev/hda2 to /media/sda2.

When i run the command with /media/sda2 it says "opening /linux.bin': permission denied"

:S
For this method to work Grub must be placed in the Linux root partition and Not the MBR.
Then you run the DD command.

How many partitions do you have on your computer?
How do I do that?

2.

Thanks
My System SpecsSystem Spec
21 Dec 2009   #28
Coolness

Win 7 pro 64-bit, Ubuntu 9.10 64-bit
 
 

You ppl are making this more difficult than it is. If you have xp, and want to get the linux os working, just install it again. It will replace the windows MBR as GRUB, and then you can use both operating systems. If on the other hand you want to keep the knoppix with all the software there was installed, just follow the guide on the first page, the second one posted by uhh.... well the second guide.
My System SpecsSystem Spec
21 Dec 2009   #29
TGSoldier

 
 

Well first of all, it's not my computer. And the user has some applications installed on it that took a pretty long while to get working properly.. Reinstalling is going to be a b*tch.

It's not an option.
My System SpecsSystem Spec
21 Dec 2009   #30
Coolness

Win 7 pro 64-bit, Ubuntu 9.10 64-bit
 
 

Ok then. how about creating a backup system of the knoppix, and then reinstalling that one via a cd. Its possible in ubuntu at least.
My System SpecsSystem Spec
Reply

 Reinstalling GRUB Menu




Thread Tools




Similar help and support threads
Thread Forum
GRUB does not load
I have Ubuntu 12.10 and Windows 7 Home Basic in one machine. After I put my Windows 7 to hibernate and then when I press the power button, instead of loading the Boot options menu or GRUB screen it directly boots Windows 7. I've read in some forum that continuously pressing ESC after you press the...
General Discussion
Dual Boot W7/XP using Grub - Can grub assign letters to partitions?
Hi I am looking at Grub4dos since my recent foray into all things bootloaders. I am gaining a little footing with what I can and can't do (practically!) Although it was definitely trickier than I thought (or I just don't have the same time like I used to... ) Anyhow, I am looking at Grub because...
Installation & Setup
Reinstalling OS and or backing up and reinstalling everything?
1.I've had my computer for over a year and have it tweaked to my liking and so what would be the best way to be able to wipe out and re-install my computer just as it is today? 2. Same scenario except I would like to re-install Win7 only w/o a disk in hand, can I create a Win7 disk while my...
Backup and Restore
Removing OS from GRUB
Hello, I had win 8 (called developer preview if I'm not wrong) trail ver., installed on drive D:, while on C: there's win. 7 ultimate. Anyway, I've formatted the D: drive but when booting there's still an option to load the system that was on it. How can I delete this? Thank you, Hezy.
Installation & Setup
Pressing F8 on startup suddenly loads GRUB menu?! Huh??
Dear Forum Users, I'm having a very mysterious problem plaguing my PC. I bought my PC not too long ago, it was brand new, and the hard drive which came with it was new as well (but I did a full NTFS format anyway before installing Windows 7). At some point when I was in a situation where I...
Software
W7 ate my GRUB...
I did say in an old post to keep an eye out for this ;) So, being the curious monkey I am, I installed the 6801 build on a separate partition. All was good. Very nice. Not surprisingly, my GRUB loader was wiped out. That's no big deal. I'll deal with that later. What IS surprising and...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 10:36.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App