Grub installation fails in Linux BMR..


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Grub installation fails in Linux BMR..
# 1  
Old 07-26-2012
Grub installation fails in Linux BMR..

Hi all,

This topic is purely on a problem in installing grub in my LINUX BMR process... A major problem too..

I am designing Linux BMR where i do the following..
  • Backup the " / " as a whole .. with partition details ..etc
  • And using the Knoppix Live CD i first create the partitions with respect to backed up data , and mount the partitions..
  • Then i copy all the files to the hard disk.. and apply symbolic links.
  • Finally i install grub to the hard disk.

By doing the above process , i am able to backup and restore the CentOS machine of Version more than 6.0. But the problem comes in lesser versions in the final stage (i.e) in the time of installing grub.

I use this command " chroot /mnt grub-install /dev/sda1 " to install grub which worked fine for versions more than 6.0 . But the same is throwing stage1 file not read correctly while installing in 5.5 version. But while i use grub command line and give "root (hd0,0) and setup (hd0)" then it is getting installed.. and i got the system booted..

I cant follow this grub command line while i go for coding. I am in need of some one's help now.. I need to clarified on the following..
  • Why grub-install command giving stage1 error in versions less than 6.0
  • Is grub scriptable ??
  • How can i solve this problem , is there any other way to install grub through UNIX C++ code..??

Kindly revert me , if u need some further clarifications...

Thanks

Selva
# 2  
Old 07-26-2012
Well, what changed with grub between v5 and v6? Is it a different version of grub? Take a look at what files are present inside /boot between the two versions.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Ansible installation fails on standalone Oracle Linux

I have a standalone Oracle Linux server which has no connectivity to the internet. I was following a blog which directed me to download all ansible dependent setup files and install them using the below command. # yum localinstall -y python-crypto-2.6.1-1.el7.rf.x86_64.rpm... (7 Replies)
Discussion started by: mohtashims
7 Replies

2. AIX

DB2 10.5 un-installation Fails

AIX 7.1 on Power7 Platform. I am doing this as root. OK, somehow my instance is stuck and I cannot create any new instances for the 10.5 (db2icrt gets to step 2 of creation and sits. Have let it sit for 45minutes). db2ilist shows the instance, but deleting it says there is no instance. Tried to... (1 Reply)
Discussion started by: mrmurdock
1 Replies

3. AIX

Phase 3 fails while performing alt disk installation.

Hi All, I have been trying to perform alt disk installation for AIX 6.1 server. Phas 3 fails and bosboot is not getting updated. when i tried only phase 1 and phase 3 by skipping phase 2 for just testing purpose, then boot image was getting updated. But when i try phase3 after phase 2, boot... (3 Replies)
Discussion started by: Rockyc3400
3 Replies

4. UNIX for Dummies Questions & Answers

Openvz installation fails

Hello, I have a problem So I want to install this openvz. I run command apt-get install linux-image-openvz-amd64 and after that I check whether everything went ok with uname -r. But it seems that openvz is nowhere to be found. Why is that? All I see is 2.6.32-5-xen-amd64. Also when I try to... (1 Reply)
Discussion started by: linas
1 Replies

5. UNIX for Advanced & Expert Users

Grub Installation fails with stage1 error

Hi, I have a problem in installing grub where the error thrown as " /grub/stage1 file not found" but the stage1, stage2 files are present in the /boot/grub/ folder. I do this grub install in the final step of the Linux BMR that i have designed. In the CentOs version above 6.0 the grub... (0 Replies)
Discussion started by: selvarajvs
0 Replies

6. Solaris

Can't have the GRUB menu for solaris x86 installation

Dears, I'm trying to install solaris x86 on sun x4170 M2 I started connecting consol to the machine but when I do the reset /SYS command nothing changed I can see that the /SYS is powered on but I can get the GRUB menu to start the installation of the solaris. the solaris DVD is already... (2 Replies)
Discussion started by: engwzwz
2 Replies

7. UNIX for Advanced & Expert Users

make test fails for DBD::Oracle installation

I've already installed the DBI Perl Module with no issues and now I'm attempting to install the DBD::Oracle driver on a Red Hat Enterprise 4 server and am having some trouble. I've checked through the forums and haven't seen anything helpful at this point. Everything goes fine during the perl... (1 Reply)
Discussion started by: pstrosnyder
1 Replies

8. Solaris

Sun Management Center installation fails

Hi all I'm trying to install Sun Management Center 4.0 on a fresh installation of Solaris 10 on a Sun 280R server. The installation keeps failing (during the setup process). Below is an extract of the log file (where things start to go wrong): Starting Sun Management Center database... (1 Reply)
Discussion started by: soliberus
1 Replies

9. Solaris

X-windows Problem /GUI Installation fails

Guys, I am trying to install few products on my solaris 10 box. One of these installation would go as GUI installation. Whenever i run the setup, it throws an error message saying that GUI could not be started. What all things i need to check on server side as well as client (my windows... (0 Replies)
Discussion started by: ak835
0 Replies

10. OS X (Apple)

GRUB Error and Installation Failure

...I haven't been here in along time! Anyways, I didn't know where I should put this, as this involves practically three OSes, so if this is in the wrong place, feel free to move it. Recently, I thought about this: installing OpenSUSE 10.1 on my Mac Mini's (Intel Core Duo) external hard... (0 Replies)
Discussion started by: Danny_10
0 Replies
Login or Register to Ask a Question