Re: Generating a new grub.conf ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-05-07 at 13:52 -0400, William Case wrote:
> Hi Bradely;
> 
> On Wed, 2008-05-07 at 12:03 -0500, Bradley Pursley wrote:
> > Bruno Wolff III wrote:
> > > On Wed, May 07, 2008 at 06:51:45 -0400,
> > >   William Case <billlinux@xxxxxxxxxx> wrote:
> > >   
> > >> Is it not possible to make a Red Hat utility that just repeats the grub
> > >> part of the Anaconda installation process.  Perhaps it could have a gui
> > >> frontend in order to make some simple adjustments, but nonetheless a
> > >> user/administrator could re-install just the grub part of their system
> > >> without having to run the entire Fedora installation.
> > >>     
> > >
> > > You can run grub to reinstall the part that is in the MBR.
> > > You use the 'root' command to tell it what partition has the config file
> > > and 'setup' to write to the MBR of a particular hard drive. (If you are
> > > using software raid 1, you want to do this manually as the install only
> > > writes the MBR of one drive.)
> > > Otherwise the grub.conf file is plain text and you can use your favorite
> > > text editor to edit it.
> > If I understood the question properly, I believe it was how do you 
> > install / configure grub (for dual booting was the specific question) 
> > with no previous grub.conf file and no knowledge or experience with 
> > grub. The question was not how to re-install grub. I am also awaiting 
> > the answer to this question because I also had this problem and had to 
> > totally re-install Fedora just because the grub.conf file got hosed and, 
> > as of yet, no one has answered this question.
> > 
> > Bradley
> > 
> Actually the question is "how do you install / configure grub (for dual
> booting was the specific question) with or *without* previous grub.conf
> file and knowledge or experience with grub".  As I have pointed out, I
> do have some grub experience and I did get thinks working just fine.  I
> was able to install grub from the grub shell and install with 'run' and
> 'setup' from my rescue disk, and then mount '/boot' and write a
> grub.conf file with emacs.
> 
> My question was based on the steep learning curve of the first couple of
> times I manually installed grub.  Why isn't there a simple Red Hat or
> Fedora utility that duplicates the Anaconda installer actions? It would
> save on the learning curve for new users and get users back in action
> faster when they run into grub problems and wipeouts.  Since the basic
> code already exists, it would seem a simple utility to create.  I could
> be used from either the 'root user' login or the rescue disk.
> 
> I ask here because I have been wrong before about how simple it actually
> is to en something.
There is a way to do it. Boot the install ( comparable disk) into rescue
mode.  Mount your partions containing / and /boot. chroot to the /
partition. then create the /boot/grub.conf file if there is not one.
Then run: grub-install /dev/sdx 
x=a,b,etc.


--
=======================================================================
jogger, n.: An odd sort of person with a thing for pain.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux