Fedora :: Grub Cannot Find Stage1?

Jan 20, 2010

I successfully installed fedora 12 the other day, got it up and running fine. Yesterday I installed windows 7 on my second partition on the drive (dumbest thing ever, I know). What I forgot is that windows can't handle not being in control, and that it would replace my bootloader (grub). "No problem" I thought. I booted a live usb that had grub-install on it (which has worked for me in the past). The drive which needs grub on it is /dev/sda, sda1 being the partition with /boot on it.

So I do the following in the live usb:

Code:
mkdir /media/fedora
mount /dev/sda1 /media/fedora
grub-install --root-directory=/media/fedora /dev/sda

But after a few seconds I get an error message saying that "stage1 not read correctly". When I go into the drive I can see that there is a file /media/fedora/boot/grub/stage1, and the device.map which grub creates appears to be correct (/dev/sda corresponds to hd0). Going into the grub terminal and running "root (hd0,0)" then "setup" gives a similar result (complains about not being able to find stage1).

On another forum someone mentioned tyring "depmod" before installing grub, but that didn't work for me.

View 4 Replies


ADVERTISEMENT

Red Hat / Fedora :: GRUB Loads During Booting / Stage1.5 And Stage2 Take Place?

Jun 28, 2010

i am newer to linux.i have a doubt in linux boot process in my machine RHEL5 has installed,in bootig GRUB will load in 3 steps

stage 1--> stage1.5 --->stage2

stage1

1st stage1 of grub is located in the 412 bytes of MBR)

also there is a file
/boot/grub/stage1 ( then what is this???)

stage1.5
( where does stage1.5 file located ? i found certain files in /boot/grub/)
like

e2fs_stage1_5

fat_stage1_5

ffs_stage1_5

code....

but my qusetn is GRUB loads from among these files??i removed the above mentioned files from /boot/grub ,but my system is still booting!!!!!!!!!!!!!!!!!!

how it is?then how stage1.5 and stage2 take place??

View 2 Replies View Related

Software :: System Stops In Grub At: GRUB Loading Stage1.5 Error 18

May 3, 2010

My Server runs "fine", then I type init 6 for rebooting or some cron job initiates Init 6 and my system stops in grub at: GRUB loading stage1.5. Error 18 After another Ctrl+Alt+Del the system boots as if anything happened. this is why I doubt that it's an issue of too big HDD or BIOS.

View 2 Replies View Related

Software :: Modifying GRUB Stage1

Jan 12, 2011

Hi All,

I am using legacy grub(0.9.7) as my boot loader. I want to add some code into GRUB stage1. But I am getting following error.

stage1.S: Assembler messages:
stage1.S:591: Error: attempt to move .org backwards
stage1.S:603: Error: attempt to move .org backwards
make[2]: *** [stage1.o] Error 1

It seems like Stage1 code is starting after BPB only. Is it possible to use BPB section for GRUB stage1 (GRUB is installed in HDD)??

If yes, how to change the code start to BPB section??

View 1 Replies View Related

CentOS 5 :: How Does Grub Stage1 Work

Nov 2, 2009

I have a number of questions about the detailed mechanics of Grub. My first question is hopefully simple. Lets say I have a separate /boot partition at (hd0,0), and install Grub's Stage1 to the MBR. The BIOS knows to load and execute the bootloader residing in (hd0,0)'s MBR because the BIOS is configured in CMOS to do so. But then how does the copy of Stage1 that lives in the MBR know to find Stage2 in the /grub partition of (hd0,0)? If Stage1 was written to the MBR of (hd1) and the grub partition was in (hd1,3) my impression is that Grub handles that seamlessly. I would guess that when Stage1 is copied into the MBR by grub or grub-install, it must have a built-in parameter value that essentially says "find Stage2 at /grub/Stage2 in (hd0,0)". But I haven't found an explanation of this in the Grub manual nor in the webpages I've look at so far.

View 2 Replies View Related

OpenSUSE Install :: 11.1- Completely Reinstall Grub & Its Stage1&2 Files?

Mar 11, 2010

Due to lack of concentration, I inadvertantly ran PClinux(2009-2)'s "install.sh" while I was in openSuse 11.1. This file says:

grub --device-map=/boot/grub/device.map --batch <<EOF
root (hd0,6)
setup --stage2=/boot/grub/stage2 (hd0,6)
quit
EOF

I soon found out that Suse 11.1 would no longer boot from boot.ini (using bootpart) because the boot process now brings up PCLOS (in /dev/sda6) rather than Suse 11.1 sitting in /dev/sda5. No problem, I thought, I'll boot from the Suse install DVD, use repair, and away I go. Wrong. After grinding, it started mentioning about generating something for sda13, which is my last partition. NTFS! So I bailed before it got too far. I even tried "rescue" option on the DVD, command prompt, and grub commands to reinstall via "setup.

Then I tried to use Super Grub Disk (.97xx) to reinstall the PBR, stage 1 and stage 2 loaders. Didn't change a thing. So then I used Grub4DOS and got into my Suse 11.1 installation using this in its menu.lst:
title openSUSE 11.1 - 2.6.27.45-0.1

[Code]...

Worked fine, and is now my (only) method of booting to 11.1. So obviously it's bypassing stage 1 and 2 files, using it's native Grub4DOS code. But then I tried Yast-Bootloader to reinstall Grub's files. No difference. Then I used the advanced part to "write bootloader code to disk" No difference. Even tried "propose a new boot scheme" (or whatnot) no difference. After looking at all this, I've come to the conclusion that the PBR code in sda5 is scraunched, and/or stage 1 code (although it's still the original date), or stage 2 (which definitely had a new timestamp of when I committed the fatal error by executing PCLOS's "install.sh".

So my question is this: How do I do a good COMPLETE re-install of Suse's version of the grub files? Because, for sure, grub commands like "setup --stage2=/boot/grub/stage2 (hd0,5), and variations thereof, certainly aren't doing it? My reasoning is that I should make sure that all the boot files get restored/confirmed as "originally installed by Suse".

View 9 Replies View Related

Ubuntu Installation :: What Does Stage1 And Stage2 Refer To In Grub Folder

Jul 10, 2010

What does stage1 and stage2 refer to in grub folder.

View 2 Replies View Related

Debian :: Grub Load Error "Grub Loading Stage1.5. Grub Loading, Please Wait... Error 15"

May 23, 2010

When I try and boot my Debian computer I get the messages: Grub Loading stage1.5. Grub loading, please wait... Error 15 Is there any way of recovering from this - or is it simply a fresh install? I was attempting an upgrade from Lenny to Squeeze and despite a few hurdles it looked like it was all happening. Got the new kernel loading, and the new grub. It looked as though grub2 was working so I ran the grub-remove-legacy-support command (something like that) and now my computer won't boot grub or Linux.

I'm assuming the MBR on my harddrive is lost, however I don't know what state the partition is in. I'm guessing that maybe this has been lost as well. I tried a few tools from the Ultimate Boot CD but nothing here was able to re-install my grub or boot from any partition or even mount my file-system. I'm fearing the worst but would like it confirmed before I blow it all away with a new install.

View 8 Replies View Related

Red Hat :: Recover From A "GRUB" Stuck Before Stage1?

Mar 31, 2010

I have a system that we ghosted with SGS 2.0.1 (Ghost 11).We ghosted the whole disk, but when we send it out - we plan to be able to restore individual partitions. mainly because it is running VMware server 2, and the partition restores will allow the admins to restore Individual VMs by restoring their partitions - OR - leave the VMs alone and restore just the Red Hat Linux root partition if they mess something up.

Unfortunately, this didn't work correctly right away. When restoring the root partition by itself, the system hangs on the word GRUB.Using the Rescue Disk we can get it running again. Then, after re-ghosting- and then restoring the new ghost partition - it works!I thought it was because we added the "-IB" switch to the ghost executable. This includes the boot info into the image. But maybe it was the rescue disk all along.

View 4 Replies View Related

Fedora Installation :: Grub Did Not Find Third OS

Jun 26, 2011

I have Fedora 15 installed alongside Windows and Debian. The bootloader found Windows without any trouble, but it did not add an entry for the Debian install. os-prober sees both Windows and Debian as follows:

/dev/sda1:Microsoft Windows XP Professional:Windows:chain/dev/sda5ebian GNU/Linux (6.0.1)ebian:linux

Since I'm new to Fedora and lack experience with Grub2, I'm asking for advice here before I go off and try to repair this in some silly way that will make life even more difficult. So...what's the tried-and-true Fedora approach to this?

View 3 Replies View Related

Fedora Installation :: Grub Can't Find Windows

Aug 12, 2010

I have a problem that has been vexing me for a week now. I installed Windows XP Media first and then Fedora 12. I did the instalation as simple as I could and let the disk do the work. After installation I rebooted but the windows is not part of the boot up. When I hit the "other" selection a blinking curser shows up and that's it. Now I did goto the Gedit conf. and changed "other" to "Windows" and increased the boot up sec. (hd0,0) is suppose to be for Windows, but no results, (hd2,0) is for Fedora and (hd1,0) is the restore file for Windows. I have tried to see the fdisk, the dev/ directory but don't have a clue how to get there from the terminal.

View 14 Replies View Related

Fedora :: Reinstalling Grub To Find Vista Partition?

Apr 14, 2011

I deleted the wrong line in grub.conf, and now cannot boot into my Windows Vista anymore. I really need to get it back right away, I am trying to do my taxes, and they are on there, and I can't get to them. I added this to grub.conf, but no luck.

Vista
root (hd0,0)
chainloader +1

View 2 Replies View Related

Fedora Installation :: F15 Grub Doesn't Find Debian?

Jun 12, 2011

I had XP, Debian and F14 installed. Bootloader was the Grub from F14.

I installed F15 from DVD overwriting F14. In the new grub.conf I added:

Quote:

title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
title Debian

[Code].....

View 4 Replies View Related

Fedora Installation :: Can't Find A F11 Entry In Grub Boot Loader?

Jun 10, 2009

I successfully installed Fedora 11 from the DVD iso. At the end, the installation program prompts me to reboot the system. But when the boot loader appears after rebooting, there are only the old entries.

I have 2 IDE disks and one sata disk. The first IDE disk is hd0, the second IDE is hd1. The SATA disk is hd2. In the setup, I selected hd0 to install grub. Fedora 11 was installed on the SATA disk (hd2).[edit] I forgot to say, that Fedora 10 is on /dev/sda and Fedora 9 on /dev/sdb

View 7 Replies View Related

Red Hat / Fedora :: How To Edit Grub - Unable To Find Boot Record

Oct 12, 2010

i installed ubuntu inside windows but someone instead of uninstalling it directly deleted the ubuntu folder inside windows ,thinking that the partition will be deleted. but when i restarted the system and command prompt came and said unable to find boot record and i couldn't boot windows as well and a grub prompt came like grub>, then i inserted the windows boot cd and repair the boot record error but my problem is , instead of doing this way, can i do so by grub prompt directly without using winidows cd.

View 1 Replies View Related

Software :: Grub Drops To Grub Prompt On Boot / But Can Use Commands To Find Menu

Jun 5, 2009

I've got myself the curious situation where, when I boot the system, I can get grub to start, but it always drops to the prompt.

I can run:configfile /grub/menu.lst

and this brings up the menu with no problems, and from there I can boot the system to either linux or windows. What I don't understand is why it wont go to the menu in the first place?As far as I can tell, grub/Kubuntu got confused when installing, as each of the hd#,# settings in the menu.lst have needed tweaking to let the system boot. (e.g. windows is actually hd0, but the original install had it at hd2. Likewise linux is on hd1, but the menu.lst had it at hd0). I've happily tweaked these to make the system boot, but would appreciate any help in convincing grub to actually load the menu without me having to use the prompt.

View 7 Replies View Related

Ubuntu :: Grub - Lost My Windows Partition - Can't Find Menu.lst In /boot/grub

Nov 1, 2010

I got ubuntu 10.04 lucid lynx along with windows (dual boot) and using Grub. On my computer, I have my C:/ (programs) and D:/ (data). I've never used my D:/ before that day that I've lost my windows partition on my grub menu. I usually use my D:/ with windows. The first time I used my D:/ to store data with linux, I lost my windows option in my grub menu. I'm not sure what I did wrong but I do want to restore my windows option in my grub menu.

After "fdisk -l",

I checked in /boot/grub and there is no menu.lst to modify. how I can get back my windows option in my grub menu ?

View 24 Replies View Related

Ubuntu :: Grub Messed Up - Error: Can't Find GRUB Drive For /sdd1

Jan 31, 2010

I've trawled the internet but can't seem to find the exact same issue, so I've made a new thread. So, I installed Ubuntu onto a 160gb drive. I have other drives in the system, but I disconnected them so that the system drive would be sda. Ubuntu installed perfectly with no issues whatsoever. I connected the other drives in the system, and again it booted up perfectly (although I can't remember whether the 160gb drive remained as sda or became sdd). Then I attached some extra drives temporarily to do some data shuffling.

This moved my system drive to become sdf. My computer booted fine multiple times like this, but when I was finished with the drives I rebooted and suddenly everything broke. For some reason my ubuntu installation showed up in the GRUB twice, and neither of them booted. So, I popped in the Live CD (which I'm using to type this post), and decided to update the grub. I chrooted into my system drive and ran update-grub, but it simply returned something like this:

[Code]....

View 7 Replies View Related

Ubuntu Installation :: Grub Rescue Mode - Error: Cannot Find A Device For /boot/grub (is /dev Mounted?)

Dec 16, 2010

I updated yesterday and now when I start my laptop it goes in to grub rescue mode. I have booted from a 'live cd' and thought I could repair grub from there. In gparted however the partition with ubuntu (sda1) is seen as unknown file system, in terminal when I list the partition table it shows up as FAT16 type. When I try a grub-install it gives this error message:

[Code]....

View 9 Replies View Related

Red Hat / Fedora :: Fedora Shell Scripting \ "Find In Curent Folder For Files, And It Copy First File He Find With Name Gived By User?

May 18, 2011

shell scripting in Fedora14I want a script"Find in curent folder for files, and it copy first file he find with name gived by user, if name already exist then echo error message and finish"command usage " bash scriptname copyASname"

smthing like Code: #!/bin/bash
for files in /home/user/*
do

[code]....

View 1 Replies View Related

Ubuntu :: Can't Find A Grub Editor Anywhere

Jan 12, 2010

Is there any grub editors out there now? I tried to search synaptic and that new stupid software thing ubuntu just got, but I can't find a grub editor anywhere. FInding a grub editor used to be easy, but now it's damn hard to find ubuntu software.

View 4 Replies View Related

Ubuntu :: Can't Find /etc/default/grub?

May 30, 2010

I'm trying to fix my booting problems on 10.04 by following this guide. Except the grub file is not in /etc/default. Grub is definitely installed (0.97 legacy) and the computer boots ok-ish so it must be somewhere.

View 2 Replies View Related

Ubuntu :: Can't Find Win 7 Entry In Grub?

Dec 23, 2010

i just know about this : Boot Info Script 0.55 dated February 15th, 2010

[Code]...

View 9 Replies View Related

Ubuntu :: GRUB Can Not Find Windows 7 / Get That?

Jan 30, 2011

To start im going to specify as many things as i can think of that may help this process.

1. My laptop came originally with Windows 7 on it.
2. I installed Lubuntu based off Ubuntu 10.10 i'm assuming the slight differences between Ubuntu and Lubuntu shouldn't make this to much trouble.
3. This was installed off of a flash drive.
4. Windows was working fine until the partition of Lubuntu.
5. My old windows files can still be accessed so i'm going to assume windows 7 was not partitioned over or deleted.
6. I'm running off of a Lenovo computer which i believe to have partitioned a section off for some of it's own features never looked into it or touched that partition
7.Currently GRUB gives me four different choices 2 being of Lubuntu connection and 2 being of some memtest thing that i have never seen before.
8. I can't think of how to copy this but when i type in sudo fdisk -l i get partitions from /dev/sda1 through /dev/sda7 every one filled. code...

View 9 Replies View Related

Debian :: Squeeze Won't Find Grub

Aug 23, 2010

I decided to upgrade to Squeeze from Etch.

not upgrade, but moving from etch to squeeze.

Clean new install. Format disks, re-partition...etc.

All goes perfectly well, until I reboot into my newly installed Squeeze.

After the messages from the bios motherboard, there is a black screen with a flashing cursor, and nothing else happens. Now it should have been the GRUB coming up and asking which system to boot into. But there is nothing at all on my screen.

I thought I've done something wrong during install, so I formated the disks again, and re-installed squeeze again. Just paying close attention to every message, before I went further.

And AGAIN, when rebooting into the system, there is nothing on the screen.

View 3 Replies View Related

Ubuntu :: Find Out What Grub Is Used In Mint 9?

Sep 2, 2010

how do i find out what grub is used in mint 9? grub or Grub 2

View 6 Replies View Related

General :: Cant Find A Grub 2 Menu ?

Sep 3, 2010

I have installed ubuntu 9.10 after the windows xp os, and then my grub.cfg file only contained information about linux.. my windows os couldnot be booted..But thats fine because i now work only on linux, so I could normally boot into ubuntu..

But now i tried to install fedora 12 on that partition on which windows was installed, and i set the space of that partition as "free". And then something went wrong, and i could not install fedora.

Now wen i boot into the normal ubuntu linux from the local hard disk, this error appears on screen - "No bootable media present, enter bootable disk and press enter."

I can boot into the installed os by first booting from a live cd, and selecting the "boot from local disk" option. But i cannot boot without a live cd.

I also reinstalled grub-pc package, but no change.

View 9 Replies View Related

OpenSUSE Install :: How To Find A GRUB Article

Jul 1, 2010

Have I missed something or is there really no (defining and explaining) article in the "(main)" namespache of the new openSUSE wiki about GRUB (GRUBLegacy or GRUB2 or just in general)? Only "How-to-do"s and not one "What-is"?

[code]....

View 5 Replies View Related

General :: GRUB: How Find Partition Number - Hd0,x ?

Aug 29, 2010

I am playing with grub and i change the root using:

How can i know what's x for /dev/sda7 ?

The problem is that in Gparted view, the order is not like sda5, sda6, sda7, ...but the order is like:

So what's x for /dev/sda7 ?

View 2 Replies View Related

Ubuntu :: Can't Find /boot/grub/menu.lst?

Feb 5, 2010

I primarily need to remove several listings from my boot menu. After many updates and upgrades the list is HUGE.I know you can edit the grub menu.lst file, but I don't have one.

[Code]...

And, I did read the guide on removing entries from grub 2. The problem is, some of the kernels in the current grub menu are no longer in synaptic on this install. Currently I have WinXP, Ubuntu 8.10, and Ubuntu 9.10 installed. I want to leave 8.10 installed, but not have it available in the Grub menu. How can this be accomplished? Grub 2 seems quite obtuse compared to earlier versions where there was a simple menu file

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved