Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 04-18-2012, 03:43 PM   #1
LQ Newbie
Registered: Jun 2005
Posts: 16

Rep: Reputation: 0
grub2-install issue on fedora 16 kickstart

I have three disks in a Software RAID 1 (one spare) created during kickstart. I want to install grub on all three disks so i can boot in the event one drive fails and i have to remove it.

so in the %post section of my kickstart i have this:
grub2-install --boot-directory=/boot /dev/sda
grub2-install --boot-directory=/boot /dev/sdb
grub2-install --boot-directory=/boot /dev/sdc

when the kickstart completes, these commands seem to run successfully ( i redirect the output to a file and check later), and in the chroot'd post environment. but the box boots into a grub prompt.

if i boot into a F16 rescue image and manually run the above commands in the chroot'd rescue environment and reboot the box boots successfully.

so, what the heck ?
Old 04-22-2012, 01:23 PM   #2
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 & 7
Posts: 3,074

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
I've usually installed grub a separate partition holding /boot. In your case is /boot on the same partition? What file system are you using?
Old 04-23-2012, 04:15 PM   #3
LQ Newbie
Registered: Jun 2005
Posts: 16

Original Poster
Rep: Reputation: 0
/boot is a separate partition and is ext4. as i mentioned, i can run the same exact command in a 'rescue' chrooted environment and then i can boot my system. but doing so in the install chrooted environment does not work.


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
how to install the fedora 16 without grub2 was4444 Fedora - Installation 3 10-05-2011 10:03 AM
Fedora 13 Installation issue -- Unable to install multiple linux distributions ---partition issue navneethr Linux - General 6 12-23-2010 12:17 AM
Error at post install scripts for fedora 10 kickstart installation ravis007 Linux - General 1 11-18-2009 05:31 AM
Fedora 10 Kickstart install fails at network configuration hoover90 Fedora - Installation 1 07-22-2009 11:35 PM
Fedora Core 4 Kickstart Install Fails bpetersen Fedora - Installation 2 11-14-2006 10:21 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration