Reinstalling GRUB Menu

Here we go

Thanks

:o

boot.jpg
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
DELL VOSTRO 3650
OS
Windows 8.1 PRO
CPU
3rd Generation Intel Core i7‐3612QM CPU @ 2.10GHZ
Memory
8GB DDR3
Graphics Card(s)
NVIDIA GeForce GT 525M (128 bit), 1GB Grpahics
Screen Resolution
1920X1080
Hard Drives
750GB 5400RPM
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 Computer

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

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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
DELL VOSTRO 3650
OS
Windows 8.1 PRO
CPU
3rd Generation Intel Core i7‐3612QM CPU @ 2.10GHZ
Memory
8GB DDR3
Graphics Card(s)
NVIDIA GeForce GT 525M (128 bit), 1GB Grpahics
Screen Resolution
1920X1080
Hard Drives
750GB 5400RPM
I have been to all these websites and tried different steps..

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 Computer

OS
...
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
DELL VOSTRO 3650
OS
Windows 8.1 PRO
CPU
3rd Generation Intel Core i7‐3612QM CPU @ 2.10GHZ
Memory
8GB DDR3
Graphics Card(s)
NVIDIA GeForce GT 525M (128 bit), 1GB Grpahics
Screen Resolution
1920X1080
Hard Drives
750GB 5400RPM
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Gateway GM5470E Desktop Computer
OS
Windows 7 32bit
CPU
AMD Athlon™ 64 X2 dual core 4000+ processor
Motherboard
ECS MCP61P-AM motherboard(micro_atx)
Memory
2048 MB DDR2, 667 MHz, (PC2-5300)
Graphics Card(s)
Pny NVIDIA GeForce gt610 1024mb ddr3
Sound Card
on-board integrated
Monitor(s) Displays
Vizio 24 inch 1920x1080 hd Tv
Screen Resolution
1920x1080
Hard Drives
Intel 3500 series 120gb
PSU
Corsair 430
Keyboard
Gateway wireless
Mouse
Gateway wireless
Internet Speed
2.2 .868
Browser
Seamonkey
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
DELL VOSTRO 3650
OS
Windows 8.1 PRO
CPU
3rd Generation Intel Core i7‐3612QM CPU @ 2.10GHZ
Memory
8GB DDR3
Graphics Card(s)
NVIDIA GeForce GT 525M (128 bit), 1GB Grpahics
Screen Resolution
1920X1080
Hard Drives
750GB 5400RPM
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 Computer

Computer Manufacturer/Model Number
Acer Veriton m261 (modded)
OS
Win 7 pro 64-bit, Ubuntu 9.10 64-bit
CPU
Intel Core 2 Duo 2.60 Ghz
Motherboard
Whatever came with the system
Memory
4 gb ddr2 667 Mhz
Graphics Card(s)
NVidia Geforce 9400 GS 1 gb ddr2 550 mhz GPU
Sound Card
Intergrated
Monitor(s) Displays
samsung SyncMaster 2494 24"
Screen Resolution
1080p
Hard Drives
80gb - IDE
750gb - SATA II
PSU
whatever came with the system
Case
whatever came with the system
Cooling
whatever came with the system
Keyboard
Apple Aluminium (Awesome)
Mouse
Some awesome Dell mouse, really good.
Internet Speed
100mbps
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
DELL VOSTRO 3650
OS
Windows 8.1 PRO
CPU
3rd Generation Intel Core i7‐3612QM CPU @ 2.10GHZ
Memory
8GB DDR3
Graphics Card(s)
NVIDIA GeForce GT 525M (128 bit), 1GB Grpahics
Screen Resolution
1920X1080
Hard Drives
750GB 5400RPM
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 Computer

Computer Manufacturer/Model Number
Acer Veriton m261 (modded)
OS
Win 7 pro 64-bit, Ubuntu 9.10 64-bit
CPU
Intel Core 2 Duo 2.60 Ghz
Motherboard
Whatever came with the system
Memory
4 gb ddr2 667 Mhz
Graphics Card(s)
NVidia Geforce 9400 GS 1 gb ddr2 550 mhz GPU
Sound Card
Intergrated
Monitor(s) Displays
samsung SyncMaster 2494 24"
Screen Resolution
1080p
Hard Drives
80gb - IDE
750gb - SATA II
PSU
whatever came with the system
Case
whatever came with the system
Cooling
whatever came with the system
Keyboard
Apple Aluminium (Awesome)
Mouse
Some awesome Dell mouse, really good.
Internet Speed
100mbps
The system is not running knoppix. It's running Redhat linux I think.

You can backup apps? :|
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
DELL VOSTRO 3650
OS
Windows 8.1 PRO
CPU
3rd Generation Intel Core i7‐3612QM CPU @ 2.10GHZ
Memory
8GB DDR3
Graphics Card(s)
NVIDIA GeForce GT 525M (128 bit), 1GB Grpahics
Screen Resolution
1920X1080
Hard Drives
750GB 5400RPM
Oh redhat? Well you can call redhat customer support. And yes you can back up youre whole system like in windows.
 

My Computer

Computer Manufacturer/Model Number
Acer Veriton m261 (modded)
OS
Win 7 pro 64-bit, Ubuntu 9.10 64-bit
CPU
Intel Core 2 Duo 2.60 Ghz
Motherboard
Whatever came with the system
Memory
4 gb ddr2 667 Mhz
Graphics Card(s)
NVidia Geforce 9400 GS 1 gb ddr2 550 mhz GPU
Sound Card
Intergrated
Monitor(s) Displays
samsung SyncMaster 2494 24"
Screen Resolution
1080p
Hard Drives
80gb - IDE
750gb - SATA II
PSU
whatever came with the system
Case
whatever came with the system
Cooling
whatever came with the system
Keyboard
Apple Aluminium (Awesome)
Mouse
Some awesome Dell mouse, really good.
Internet Speed
100mbps
Well thats making an img.. but restoring the image would leave me with the same no GRUB problem... :huh:
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
DELL VOSTRO 3650
OS
Windows 8.1 PRO
CPU
3rd Generation Intel Core i7‐3612QM CPU @ 2.10GHZ
Memory
8GB DDR3
Graphics Card(s)
NVIDIA GeForce GT 525M (128 bit), 1GB Grpahics
Screen Resolution
1920X1080
Hard Drives
750GB 5400RPM
Well, no. It will install an operation system, like a clean install, exept that it has all your software and settings. Get it?
 

My Computer

Computer Manufacturer/Model Number
Acer Veriton m261 (modded)
OS
Win 7 pro 64-bit, Ubuntu 9.10 64-bit
CPU
Intel Core 2 Duo 2.60 Ghz
Motherboard
Whatever came with the system
Memory
4 gb ddr2 667 Mhz
Graphics Card(s)
NVidia Geforce 9400 GS 1 gb ddr2 550 mhz GPU
Sound Card
Intergrated
Monitor(s) Displays
samsung SyncMaster 2494 24"
Screen Resolution
1080p
Hard Drives
80gb - IDE
750gb - SATA II
PSU
whatever came with the system
Case
whatever came with the system
Cooling
whatever came with the system
Keyboard
Apple Aluminium (Awesome)
Mouse
Some awesome Dell mouse, really good.
Internet Speed
100mbps
I get it.. But I don't get it.. Somethings telling me that won't work though...
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
DELL VOSTRO 3650
OS
Windows 8.1 PRO
CPU
3rd Generation Intel Core i7‐3612QM CPU @ 2.10GHZ
Memory
8GB DDR3
Graphics Card(s)
NVIDIA GeForce GT 525M (128 bit), 1GB Grpahics
Screen Resolution
1920X1080
Hard Drives
750GB 5400RPM
:D:D well im not sure if i can help you further. Just download a software that does this (too lazy to look for one)
 

My Computer

Computer Manufacturer/Model Number
Acer Veriton m261 (modded)
OS
Win 7 pro 64-bit, Ubuntu 9.10 64-bit
CPU
Intel Core 2 Duo 2.60 Ghz
Motherboard
Whatever came with the system
Memory
4 gb ddr2 667 Mhz
Graphics Card(s)
NVidia Geforce 9400 GS 1 gb ddr2 550 mhz GPU
Sound Card
Intergrated
Monitor(s) Displays
samsung SyncMaster 2494 24"
Screen Resolution
1080p
Hard Drives
80gb - IDE
750gb - SATA II
PSU
whatever came with the system
Case
whatever came with the system
Cooling
whatever came with the system
Keyboard
Apple Aluminium (Awesome)
Mouse
Some awesome Dell mouse, really good.
Internet Speed
100mbps
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
Recovering GRUB after reinstalling Windows

As above, when Windows is reinstalled, the master boot record will be overwritten. This can be avoided by backing up the boot sector, by following the instructions from step 2 in the above section 'Installing Windows After Ubuntu'. An alternative method is to use the Ubuntu LiveCD to reinstall the GRUB boot sector, here are step-by-step instructions, to be run after Windows has been reinstalled:

  1. Boot into a LiveCD .....You have an Ubuntu Live CD right?
  2. Open a terminal
  3. Open the GRUB Command line utility by typing

sudo grub
  1. Tell GRUB where your Ubuntu partition is by entering
  2. root (hdA,B).... IN YOUR CASE root (hd0,1)...... Ubuntu is on your 1st harddrive 2nd partition

Where 'A' is the hard-drive number, starting at 0, and 'B' is the partition number, starting at 0. For example, if Ubuntu was installed on the second partition of the first hard-drive, the command should be

root (hd0,1).... RUN THIS.....there is a space between ROOT and (

  1. Tell GRUB which drive to put the boot sector on
setup (hd0,1)... RUN THIS....... will install GRUB to partition and not MBR.....
there is a space between SETUP and (

If you run...... setup (hdo)....... it will install GRUB to MBR.

  1. Leave the GRUB Command line
  2. quit..RUN THIS
and reboot. This will not give dual-boot yet.

If this works post back and I will help with the next part. This is the link:
https://help.ubuntu.com/community/WindowsDualBoot
 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Gateway GM5470E Desktop Computer
OS
Windows 7 32bit
CPU
AMD Athlon™ 64 X2 dual core 4000+ processor
Motherboard
ECS MCP61P-AM motherboard(micro_atx)
Memory
2048 MB DDR2, 667 MHz, (PC2-5300)
Graphics Card(s)
Pny NVIDIA GeForce gt610 1024mb ddr3
Sound Card
on-board integrated
Monitor(s) Displays
Vizio 24 inch 1920x1080 hd Tv
Screen Resolution
1920x1080
Hard Drives
Intel 3500 series 120gb
PSU
Corsair 430
Keyboard
Gateway wireless
Mouse
Gateway wireless
Internet Speed
2.2 .868
Browser
Seamonkey
Exellent job ManyBeers! The guide is very good. Reps :D
 

My Computer

Computer Manufacturer/Model Number
Acer Veriton m261 (modded)
OS
Win 7 pro 64-bit, Ubuntu 9.10 64-bit
CPU
Intel Core 2 Duo 2.60 Ghz
Motherboard
Whatever came with the system
Memory
4 gb ddr2 667 Mhz
Graphics Card(s)
NVidia Geforce 9400 GS 1 gb ddr2 550 mhz GPU
Sound Card
Intergrated
Monitor(s) Displays
samsung SyncMaster 2494 24"
Screen Resolution
1080p
Hard Drives
80gb - IDE
750gb - SATA II
PSU
whatever came with the system
Case
whatever came with the system
Cooling
whatever came with the system
Keyboard
Apple Aluminium (Awesome)
Mouse
Some awesome Dell mouse, really good.
Internet Speed
100mbps
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
Recovering GRUB after reinstalling Windows

As above, when Windows is reinstalled, the master boot record will be overwritten. This can be avoided by backing up the boot sector, by following the instructions from step 2 in the above section 'Installing Windows After Ubuntu'. An alternative method is to use the Ubuntu LiveCD to reinstall the GRUB boot sector, here are step-by-step instructions, to be run after Windows has been reinstalled:

  1. Boot into a LiveCD .....You have an Ubuntu Live CD right?
  2. Open a terminal
  3. Open the GRUB Command line utility by typing

sudo grub
  1. Tell GRUB where your Ubuntu partition is by entering
  2. root (hdA,B).... IN YOUR CASE root (hd0,1)...... Ubuntu is on your 1st harddrive 2nd partition

Where 'A' is the hard-drive number, starting at 0, and 'B' is the partition number, starting at 0. For example, if Ubuntu was installed on the second partition of the first hard-drive, the command should be

root (hd0,1).... RUN THIS.....there is a space between ROOT and (

  1. Tell GRUB which drive to put the boot sector on
setup (hd0,1)... RUN THIS....... will install GRUB to partition and not MBR.....
there is a space between SETUP and (

If you run...... setup (hdo)....... it will install GRUB to MBR.

  1. Leave the GRUB Command line
  2. quit..RUN THIS
and reboot. This will not give dual-boot yet.

If this works post back and I will help with the next part. This is the link:
https://help.ubuntu.com/community/WindowsDualBoot

Done! What now sir?! :D
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
DELL VOSTRO 3650
OS
Windows 8.1 PRO
CPU
3rd Generation Intel Core i7‐3612QM CPU @ 2.10GHZ
Memory
8GB DDR3
Graphics Card(s)
NVIDIA GeForce GT 525M (128 bit), 1GB Grpahics
Screen Resolution
1920X1080
Hard Drives
750GB 5400RPM
Done! What now sir?! :D
TG;

If you have been successful in installing Grub into the Red Hat Linux partition, you can now try this again:

Add this line to the end of your boot.ini:

c:\linux.bin="Red Hat 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.


It should work this time, and you should be able to boot to Linux through the Windows boot manager.

Cheers!
Robert
 

My Computer

OS
...
Back
Top