LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   is it possible to install just GRUB in a PC with no linux? (https://www.linuxquestions.org/questions/linux-newbie-8/is-it-possible-to-install-just-grub-in-a-pc-with-no-linux-886055/)

doraimom 06-13-2011 09:48 AM

is it possible to install just GRUB in a PC with no linux?
 
Hi.
My mother has a notebook with windows and it's not booting anymore. Some problem in MBR.
I have already tried all options, like /fixmbr, fixboot, rebuildbcd.

I'd like to solve it installing GRUB, since it always recovers all my OS that are not booting anymore. The problem is that her laptop doesn't have linux installed.

Is it possible to install just GRUB without linux? How?

rokytnji 06-13-2011 09:52 AM

Quote:

Originally Posted by doraimom (Post 4384224)
Hi.
My mother has a notebook with windows and it's not booting anymore. Some problem in MBR.
I have already tried all options, like /fixmbr, fixboot, rebuildbcd.

I'd like to solve it installing GRUB, since it always recovers all my OS that are not booting anymore. The problem is that her laptop doesn't have linux installed.

Is it possible to install just GRUB without linux? How?

Have you tried

http://www.supergrubdisk.org/

yet?

acid_kewpie 06-13-2011 09:53 AM

not trivially as grub chains on to the stage2 image which is in the /boot partition of one of the Linux systems on the machine. You can run grub-install from an installer, however that will only get you a very minimal stage1 (1.5?) shell which I don't think give you any of the good stuff you are after.

i92guboj 06-13-2011 09:55 AM

You can always create a minimal partition to store /boot. You should also be able to store it in the windows partition itself, but I never tried it personally.

For the rest, all you need to install grub is a livecd, I know there are grub versions for other oses, but know nothing about them either.

qrange 06-13-2011 10:06 AM

Quote:

Originally Posted by i92guboj (Post 4384231)
You should also be able to store it in the windows partition itself, but I never tried it personally.

iirc, its called grub4dos

yancek 06-13-2011 10:20 AM

You can create a separate /boot partition as indicated above or a separate Grub partition or you can create a bootable CD as explained here (Grub Legacy):

http://www.gnu.org/software/grub/man...D_002dROM.html

or Grub2:

http://www.gnu.org/software/grub/man...D_002dROM.html

Simplest solution is SuperGrubDisk as suggested above. You will obviously need a Linux CD or installation to get the Grub files if you try one of the two methods above. Since windows isn't booting, its boot files or something else may be corrupted and there is still no guarantee any of this will work.

doraimom 06-13-2011 10:42 AM

Thanks for all the fast and excellent replies.
For any of the suggestions, I'll need some help.

1) About creating a minimal partition, how can I resize the existing partitions to open a space for the new linux partition? The laptop has 3 partitions: first the windows system partition (~100 MB), second the windows partition, and a data partition in the end. I'm thinking about resizing the last partition, but I just know how to do it graphically.
2) How does the super grub disk works? I burn it in a CD, boot it, and then it installs itself in my MBR? Is that it?

jefro 06-13-2011 03:24 PM

If windows can't fix it, I'd doubt you should try grub.

Be sure you use a live cd to save off all her data before you begin.

I'd also suggest you might get a bartsPE disk too as part of your toolbox.

yancek 06-13-2011 06:34 PM

There are different methods and files on different windows versions. You don't indicate which windows version you have. I'd do a little more investigating before trying to resize. It sounds like you have an OEM installation with a boot partition, system partition and recovery partition but there is no way for us to know that?? The last partition is probably the recovery partition. Do you have a recovery disk? Which windows version do you have?

The supergrubdisk boots the system from CD, it doesn't install to the mbr, AFAIK.

frankbell 06-13-2011 09:43 PM

My gut reaction is, Format the MBR.

http://support.microsoft.com/kb/69013

For that you need a DOS boot disk.

Otherwise, you could take a look at it with Trinity Rescue Kit.

qrange 06-14-2011 01:01 AM

another possibility is use USB for booting.
but if I were you, I'd replace the hard drive with ssd. and if its IDE replace it with CF.


All times are GMT -5. The time now is 07:54 PM.