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


ADVERTISEMENT

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

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 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

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

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

Ubuntu :: Stuck In Startup - Recover Files?

Apr 28, 2010

I've been stuck in startup for two months and have tried much of the advice found on the forums but still no luck! I have a live disc but I REALLY need to recover files from my existing (but inoperable) system! this is exactly what the screen says upon startup...

[Code]...

View 1 Replies View Related

Ubuntu :: GRUB Loading ... Error: No Such Disk Grub Recover

Feb 9, 2010

I know nothing about this at all. I have never programmed a computer.. I loaned my tower to a friend who put this on ...now i have it back and cant get to my windows 98. all i get each time i boot is ...

GRUB loading ... error:no such disk grub recover>

I have tried ubuntu sec 8.4 recover mode and all i get is unreconized command.. i do not know how to set anything.. i have no disks for this not even the orginal windows recover disk.. is their anything i can do to get win to run as it use to??

View 1 Replies View Related

Ubuntu :: Grub Not Found - Recover Grub After Windows 7 Install?

Aug 24, 2010

I had to dual boot my computer again with windows unfortunately for school. This is something I've dealt with dozens of times in the past but when I try to recover grub 2 with the ubuntu live cd I get this:

sudo grub
sudo: grub: command not found

View 4 Replies View Related

Software :: Grub Gets Stuck At GRUB Loading Stage 1.5 / Make It Work?

Jun 4, 2011

So I have 2 ide hdds but whenever they are both connected, grub gets stuck at GRUB loading stage 1.5. how can I resolve this problem?
both are Maxtors with ext4 fs. primary is 20 gb and secondary 80 gb.
Jumpers are set to cable select.
Boot order in bios is correct. (primary first, secondary isn't in the list at all)

View 8 Replies View Related

General :: How To Recover The GRUB

Apr 20, 2011

i have already installed Debian 6.0 i386 & Windows XP in my PC. But due to some Problem i have again reinstalled Windows XP ... So How to Recover the GRUB in my PC which i have already installed Debian 6.0 i386

View 2 Replies View Related

Ubuntu :: Recover Grub With Live Cd?

Mar 1, 2010

So here is my problem:

I'm trying to restore the grub using a ubuntu 9.10 live cd. I have two partitions in my computer, and i used the partition that contained Vista to install windows 7. Now, i'm trying to restore the grub so that i can also boot ubuntu.

When i do "sudo fdisk -l", the output is:

Disk /dev/sda: 120.0 GB, 120034123776 bytes
138 heads, 12 sectors/track, 141571 cylinders
Units = cylinders of 1656 * 512 = 847872 bytes
Disk identifier: 0x0fb3cfe1

[Code]....

View 9 Replies View Related

Ubuntu :: Broken Grub / Recover It?

Mar 6, 2011

My good working system stopped working. At reboot I get
"GNU GRUB version 1.95 |ubuntu|0"

Is there a way to recover?

View 9 Replies View Related

General :: Use Grub To Recover Redhat?

Mar 13, 2010

While attempting to make my secondary hard drive accessible I managed to screw up me RedHat installation.

When I boot I get: Error loading operating system

I can use the PCs boot menu to select the "2. Primary Master Drive" instead of "1. Normal" and (Unix) grub comes up.

Can I use grub to recover my Redhat install?

View 3 Replies View Related

CentOS 5 :: Boot Stuck At GRUB

Jan 20, 2009

the boot of my server is stuck at the message "GRUB"

I've allready tried :
chroot /mnt/sysimage
grub-install /dev/cciss/c0d0

but with no improvement. What else can I try?

View 6 Replies View Related

Ubuntu Installation :: Recover Grub Without LiveCD?

Jan 25, 2011

I installed Windows after installing Ubuntu. But Ubuntu is still intact in its partition.

I'm trying to run the Ubuntu LiveCD to recover grub, but the LiveCD no longer works. It stops the boot process and does not load completely.

I can not run Ubuntu in live mode to recover grub.

Is there any way to recover the grub/grub2 without the LiveCD?

View 2 Replies View Related

General :: Recover Grub After Windows Install?

Jan 8, 2011

I have a laptop with two partitions, dual booting Vista and Ubuntu. laptop was originally furnished with Vista. It's become totally unusable and I want to install XP on the NTFS partition erasing Vista. I know that after installing XP it will overwrite the MBR and GRUB will be lost. how to recover GRUB after the XP install. all data is now on the Ubuntu partition. I need XP just for games for my kids. barbie and harry potter ...

I spent 30min looking for sth like that but could not find it, just reference if such a thread exists.

View 5 Replies View Related

General :: Recover Grub After Changing A Partition?

Jan 23, 2011

I moved my NTFS partition with XP and after restarting got the grub> prompt. ls,grub-install and mount are not recognized. find /boot/grub/stage1 (hd0,2,a)

how can I recover? my *nix is osol and I have grub 0.97 (legacy)

I have both a osol and ubuntu cds, but it seems I should be able to load from the grub prompt.

View 3 Replies View Related

Debian :: Computer Stuck At Grub Screen

Jul 16, 2010

I have an old laptop (Acer TravelMate 350TE) which I would like to turn into a router. So, I downloaded i386 - Small CD and installed to that computer. Setup finished, system restarted but computer stuck at grub screen. A menu comes like this:But neither enter button nor arrow keys are working. How can I solve this ?

View 4 Replies View Related

Fedora :: Stuck At Grub Command Prompt

Jun 7, 2011

I was deleting some space off my C Drive and I believe I may of accidentally deleted Fedora, or some of it! I have a dual boot with Fedora and Windows XP so when I started my desktop up it would load into fedora by default or I could press a key to load XP! (It rhymes!) Now, however, it instantly loads up into "Grub"

And that's it! Run, Or Exit, or anything really, doesn't work! Except Reboot! So I'm a little stuck. It's an old PC and the Windows XP disc is long gone, if I ever had one! I had this thought that perhaps if I reinstall Fedora from a CD it many bring back the old command prompt and let me get back into XP again? Or, is that crazy talk??

View 3 Replies View Related

Ubuntu :: Stuck At Grub Rescue And Can't Boot Fom Cd

Nov 26, 2010

I lost power during my Ubuntu update and when I powered back up ubuntu was broken. Now the stupid bit. My hdd was partitioned into 3 bits, vista os, data, and ubuntu. In vista I deleted the ubuntu part and merged it with the data part. Now when I power up my computer it goes straight to a black screen that says...
error : no such partition.

grub rescue> I have looked through the forums for an answer to my problem but to no avail. When I put the ubuntu live cd in and turn back on itjust goes to the same screen. I'm a novice to the world of computers and need any help you can offer.

View 2 Replies View Related

Ubuntu :: Recover Partition And Grub Lost From Windows?

Dec 8, 2010

I installed Ext2fsd from windows XP because I needed access to a text file on my ubuntu install. However, it didn't work because the drive is ext4 and all it listed was the root folders (/home, /var etc..) nothing any deeper.

I closed the app and continued working in windows.

Today I went to start my computer and it loaded the grub-rescue> prompt. I immediately tried to run "help" to find out what happened, however, grub reported the command as unknown.

I then ls and got a partial listing of the partitions.

Code:
(hd0) (hd0,5) (hd0,1) (fd0)

So what do I do? How do I recover my linux partition? If the partition is bad - then how is the bios able to find the grub-rescue> prompt?

View 5 Replies View Related

General :: Recover From Gnu Grub Version 1.97 Beta 4 Prompt?

May 28, 2011

how recover from gnu grub version 1.97 beta 4 prompt (ubuntu)

View 3 Replies View Related

Ubuntu :: Update Manager Got Stuck On Updating Grub

Jun 2, 2010

Got the network settings set up, tried to open firefox - nothing, wouldn't load. went into update manager and started updating the software. The update manager got stuck on updating Grub, I left it to do it's thing while I slept hoping it would finish. I wake up, go back to his pc and it's still stuck on grub, not really anything I could do but shut down his pc and try again, well, his pc doesn't even want to load Ubuntu now. I tried booting up several times, then tried the restore option in the loader, but all I get is this: [URL]...

View 9 Replies View Related

Ubuntu :: Xubuntu Hard Reset Stuck At Grub

Sep 17, 2010

I currently have a problem where when xubuntu is restarted using the power button, it will prompt the user with grub asking which selection to boot (xubuntu recovery or xubuntu) this feature itself is fine, but for some reason there is no timer, which means that unless you hit enter, it will always be stuck on the GRUB selection screen. I am wondering if there is any way to change this, is there anyway to enter a timer into the system so no matter what, after x seconds it will boot xubuntu?

View 1 Replies View Related

Ubuntu Installation :: Upgraded From 10.04 To 10.10 - Stuck At Grub Prompt

Jan 10, 2011

I upgraded my dell inspiron 6000 from ubuntu 10.04 to 10.10 then rebooted and now I am stuck at the grub prompt. I am able to boot from a flash drive and have run the boot script. This laptop did not have a dual boot system on it but it did have windows on it at one time, converted to ubuntu.

View 9 Replies View Related

General :: Cannot Boot, Stuck In GRUB Line-editing?

Sep 3, 2010

After my last update in my ubuntu, I had a problem. (As almost everytime that I update it)
When I select to boot ubuntu, it doesn't work.It shows something like:"GNU GRUB version 1.97"beta 4[ Minimal BASH-like line editing is supported.For the first word, TAB lists possible command completions.Anywhere else TAB lists possible device/file completions]
sh:grub> "And I don't know how to make it work.I tried to follow this tutorial:[URL]I got an error message saying that the file couldn't be found. And if I skip it, when I type "boot" the system reboots and comes to the same place I was before.
I've also tried to set another partitions like

View 11 Replies View Related







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