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


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

Programming :: Make Variable To Refer A File In A Folder?

Dec 16, 2008

How can i make a variable in a bash script, to refer each file in a folder,and to switch it to the next file,until the last file of the folder?

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

General :: Grub Stage2 Is Not Loaded

Jul 21, 2010

my distro is centos 5.3.today i boot the computer,i saw an error "grub stage2 is not loaded" and the system is halted. is it needed to reinstall grub? pls give me the step-by-step solution.

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

General :: Unable To Boot Windows / Grub Error Saying GRub Loading Stage2 Read Error

Jul 8, 2011

I am new to Linux. I have installed RHEL 5.4 on my PC with preloaded Windows XP.

Windows was set as the first boot kernel. So if i do not choose which OS to be loaded it will load Windows by Default.

Today I got an error saying GRub Loading Stage2 read error.

View 9 Replies View Related

Fedora :: KVM Virtual Machine Stuck In Grub Loading Stage2?

Sep 22, 2010

I upgraded to fc13 from fc12 recently. After the upgrade the virtual machine boot is stuck in grub loading stage 2. I have attached a screen shot of the picture for reference.

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

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

Ubuntu Installation :: Files In GRUB Folder Missing After Update?

Mar 4, 2010

The update package popped up with some security updates. I downloaded all of them and then hit the restart button. Now all I see after the winboot load is the grub 'dos' screen. I can get to grub rescue but thats it. I was wondering if there is a way to download the missing files from somewhere and place them in the grub folder as I am dual booting with XP.

I have installed Ubuntu onto a seperate partition as well.

View 3 Replies View Related

Ubuntu :: Source.iist Of Lucid Still Refer To Karmic / Change These All?

May 3, 2010

Ubuntu 10.04 Lucid

Now I have installed Lucid on a VM of Sun VBox. It is now running. But I found the source.list still refers to karmic. What can I do? Change all karmic to lucid?

View 2 Replies View Related

CentOS 5 Server :: KickStart Unable To Retrieve Stage2.img

Sep 14, 2010

I recently set up a kickstart server using Centos 5. I copied all 7 of the centos 5 install cd's to the tree. I made the install cd, it boots fine. I'm using http, when I'm prompted, I put in the web site: 1.1.1.1 and the Centos directory of /network-install/RPM

I get the following error:

Unable to retrieve [URL]

I've been told the double slashes after the ip address is not a problem, and I've tested that through a browser, by browsing the same location. (not sure if
that's a valid test, but it did find the directory and display the files.)

View 2 Replies View Related

General :: What Does "gateway" In Routing Table Refer To

Feb 15, 2010

What exactly does gateway in a route refer to? I know what a default gateway is- it's the route of last resort. But used in context of a host route (with destination specified), what is a gateway and why is it important?

View 5 Replies View Related

Ubuntu :: Need To Change Permissions For Boot Grub Folder

Aug 12, 2010

This is my 2nd time using my Ubuntu, I am using 9.10 because my laptop doesnt support 10.04 (need more RAM). So anyway I need to know a way to change it so I can edit files in there, I checked the properties and root has read only permissions how can I change this?

View 3 Replies View Related

General :: No - Menu.lst - In My Ubuntu - /boot/grub/ - Folder

Jan 30, 2010

I have a problem with my GRUB bootloader. I have Ubuntu 9.10 and Win XP installed on my laptop. But only the list of Ubuntu appears in the menu and NOT win XP.

Some instructions say try to edit the "menu.lst" file in "/boot/grub/" menu.

But there is no such a file in my /boot/grub/" folder.

View 14 Replies View Related

CentOS 5 :: Debian Netinstall Long Done, CentOS 5 Still Trying To Retrieve Stage2.img?

Apr 2, 2009

I am trying to install 5.3 using net install disc, where it hangs for over 30 minutes trying to retrieve stage2.img. Second time. After first time and waiting over 25 minutes, I tried Debian net install on another box, and it's done with installation long ago, while this one is still hanging (and from the looks of it I doubt it will continue).

1. Network is good, the box pings, network parameters are good, Debian worked flawlessly with same parameters

2. It did pull all it needed before stage2.img

3. Plenty of RAM in the box, over 3 GB

4. The box needs no additional drivers (except newer version of kernel as vanilla still doesn't have a complete support for Intel DP43TF board), distro has them all

View 1 Replies View Related

OpenSUSE Install :: Stuck On Stage2 After Install?

Jan 8, 2010

i'm new to linux, i installed fedora 12 first. These are my partitions

Device Boot Start End Blocks Id System
/dev/sda1 1 192 1536000 27 Unknown
Partition 1 does not end on cylinder boundary.

[code]...

View 9 Replies View Related

OpenSUSE Install :: Fill In The /boot Folder Without Installing GRUB?

Dec 15, 2010

I have a laptop with the CD-ROM apparently broken, so I installed OpenSuSE 11.4 milestone4 from USB stick .unfortunately in the end of the installation I had a GRUB configuration error (twice) . then, in the third time I removed GRUB from the installation procedureSince my other GNU / Linux is Ubuntu, I did update-grub on ubuntu, it detects the presence of OpenSuSE but it does not add it to its grub.cfgwhen I wanted to add it manually to ubuntu's GRUB, I realized that, in OpenSuSE, the /boot path was empty.My Question is: Do you know how to put the files needed to boot OpenSuSE (initrd, vmlinuz , ...) in the directory /boot without installing OpenSuSE's GRUB ?? (ie keep the ubuntu's GRUB)

View 8 Replies View Related

Slackware :: Install GRUB Via The .txz Package And It Created A Mirrored Image Of The /boot Folder?

Jan 6, 2010

In light of my previous achievement in wireless networking, I've decided to create a larger issue for myself to solve. Which hopefully I can get some help with. Because my system is totally kisspoped up, for those of you who get what that means. I was trying to install GRUB via the .txz package and it created a mirrored image of the /boot folder. Which for some reason contained the / folder. Which in turn held /boot and all the other folders / is expected to contain.

Now, trying to remove the extra /boot folder proved difficult, but once I finally was able to figure it out, I remembered I could removepkg and that would probably mend the situation. However, I was already 20-something percent through moving the files to trash. Now when I checked /, /boot was gone from there. Along with various other folders. SO! Apparently the /tmp/boot folder created was in reality the /boot folder, albeit in the wrong place and having the wrong contents. Somehow, one folder existed as two different versions of itself at the same point in time. Much as a Time Lord might. Deleting one made the other vanish with it.

Good news:I removed it via Thunar and it should be in the root user's trash /home and some other folders had yet to be trashed when I hit cancel, so I can still use some things Bad news:I never ran X as root, so I don't know if it HAS a trash folder I can only use things already started up because the binaries are gone, but the configuration files in /home are still there (although /usr/bin remains)

Ideally, there would be a big UNDO button somewhere in this long row of function keys. Reasonably, there should be some kind of restoration tool. Realistically, I think I'm going to have to reinstall the system, which wasn't easy in the first place due to my faulty disc bay which detects discs at will.

View 6 Replies View Related

Ubuntu Installation :: Grub Errors - More Than 1 Grub - The Change Does Not Appear In The Boot Up Menu

Dec 22, 2010

The first is I seem to have 3 GRUB installs. So whilst I update the one from my live session, the change does not appear in the boot up menu. I had installed 10.10 from a CD into a different partition (sda6), but that will not boot, so I have just deleted this and done another grub install and update. The kernel I am using has just been updated from 10.04 to 10.10 too, and it is this that I use and the Grub I have been working on (sda5).

[Code]...

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

Ubuntu Installation :: Boot/grub/win7 - Testdisk/update-grub Method, But It Didn't Work?

Mar 4, 2011

I have 2 hard disks. sda,sdb

In sda, I have 4 partitions, and I have windows 7 in one of the extended partitions [not in the primary partition].

In sdb, I have 3 partitions. 2 for storage, and 1 10GB drive for Ubuntu. Again, Ubuntu is not of a primary partition.

I had ubuntu 10.04 running on that for a long time. However, I wanted to reinstall ubuntu and use 10.10.This is what I did EXACTLY:Booted from Ubuntu install CD

Chose advanced istall

Selected sdb3 for Ubuntu

I installed GRUB2 on the SAME partition as Ubuntu aka sdb3 Installed then rebooted

I can boot into Ubuntu fine, but whenever I select Windows 7 bootloader from the GRUB menu, the screen goes black, and my PC reboots.

Boot Info:

Code:
Boot Info Script 0.55 dated February 15th, 2010 [code]....

ls: reading directory sda6/: Input/output error

I have tried the testdisk/update-grub method, but it didn't work.

View 9 Replies View Related

Ubuntu Installation :: Win 7 Dual Boot - Revert Grub 2 To Grub 1?

Mar 26, 2010

So my computer has ubuntu 9.10 installed 1st and I want to install win 7 in a separate partition. Basically, ubuntu 1st, win 7 later so far from what I learned from search results, grub 2 have problem with win 7 installed later and what was recommended was install win 7 before ubuntu. how ever I do not have the time to start over again because there are too many things to back up or install again. can I simply revert grub 2 to grub 1 again and resolve the problem?

View 7 Replies View Related

Ubuntu Installation :: Load GRUB From Grub Rescue Prompts?

Apr 11, 2010

First the hard data:

Upgraded from Ubuntu 9.04 to 9.10 via upgrade manager
System is AMD 64
Have dual boot with XP on seperate hard drive

[code]....

Then the wheelspin:

Seem to have knocked out GRUB as normal loading screen does not appear anymore.
Worse, I think I accidently installed grub to something labelled SDC5.

Cannot get anything except the "grub rescue" prompt. I'm not sure if using the LiveCD (9.10) can help. Have tried a few prompts from other threads but just ended up with mud splattered all over the place. I'm gathering I need to load grub, but can I do it using any grub rescue commands?

View 9 Replies View Related

Ubuntu Installation :: Grub Not Detecting Windows 7 Even After Updating Grub

Apr 22, 2010

installed windows 7..then tried restoring grub using live cd....mounted partition somewhere else....then installed ubuntu again where it was installed previously and now grub is not detecting windows 7 but i am able use my windows files

used sudo update-grub2.

View 9 Replies View Related

Ubuntu Installation :: Can't Start Grub Without Super Grub Disk

Jun 22, 2010

If I use the super grub disk I can get to my ubuntu partition otherwise my windows partition boots automatically. I spent over an hour in the community documentation using the live cd to reinstall grub and nothing has fixed it. I think that grub is installed and the windows bootloader is just taking precedence.

View 3 Replies View Related







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