LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-13-2011, 09:48 AM   #1
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Rep: Reputation: 30
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?
 
Old 06-13-2011, 09:52 AM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,063
Blog Entries: 21

Rep: Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470
Quote:
Originally Posted by doraimom View Post
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?
 
Old 06-13-2011, 09:53 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 06-13-2011, 09:55 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
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.
 
Old 06-13-2011, 10:06 AM   #5
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
Quote:
Originally Posted by i92guboj View Post
You should also be able to store it in the windows partition itself, but I never tried it personally.
iirc, its called grub4dos
 
Old 06-13-2011, 10:20 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,443

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
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.
 
Old 06-13-2011, 10:42 AM   #7
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Original Poster
Rep: Reputation: 30
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?
 
Old 06-13-2011, 03:24 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,937

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
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.

Last edited by jefro; 06-13-2011 at 03:26 PM.
 
Old 06-13-2011, 06:34 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,443

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
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.
 
Old 06-13-2011, 09:43 PM   #10
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,272
Blog Entries: 28

Rep: Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123
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.
 
Old 06-14-2011, 01:01 AM   #11
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
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.
 
  


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
[SOLVED] can re-install grub without re-installing linux? gabriel.560 Linux - Newbie 5 11-01-2009 06:19 AM
Help with Multiple Linux install and Grub kschmitz2 Linux - Software 4 02-21-2008 08:18 PM
Trying to remove linux/grub w/ windows xp from hd, then install different linux yuvlevental Linux - Software 6 09-13-2007 05:16 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
Unable to Boot Linux after Grub install jspsandhu Linux - Software 5 06-11-2006 08:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:47 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration