LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 10:48 AM   #1
doraimom
Member
 
Registered: Nov 2005
Posts: 270

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, 10:52 AM   #2
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 15 , Slackel 14.1, ChromeOS
Posts: 4,713
Blog Entries: 19

Rep: Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970
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, 10:53 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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, 10:55 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
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, 11:06 AM   #5
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable, amd64
Posts: 805

Rep: Reputation: 32
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, 11:20 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
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, 11:42 AM   #7
doraimom
Member
 
Registered: Nov 2005
Posts: 270

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, 04:24 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,409

Rep: Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207
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 04:26 PM.
 
Old 06-13-2011, 07:34 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
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, 10:43 PM   #10
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,365
Blog Entries: 12

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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, 02:01 AM   #11
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable, amd64
Posts: 805

Rep: Reputation: 32
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 07:19 AM
Help with Multiple Linux install and Grub kschmitz2 Linux - Software 4 02-21-2008 09:18 PM
Trying to remove linux/grub w/ windows xp from hd, then install different linux yuvlevental Linux - Software 6 09-13-2007 06:16 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 01:55 PM
Unable to Boot Linux after Grub install jspsandhu Linux - Software 5 06-11-2006 09:03 AM


All times are GMT -5. The time now is 10:39 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration