[Lunar-bugs] [Lunar Linux 0000057]: grub installation during install

Lunar bug reports list lunar-bugs at lunar-linux.org
Thu Mar 16 16:51:18 UTC 2006


The following issue has been CLOSED
======================================================================
<http://bugs.lunar-linux.org/view.php?id=57> 
======================================================================
Reported By:                Stumbles
Assigned To:                sofar
======================================================================
Project:                    Lunar Linux
Issue ID:                   57
Category:                   ISO
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Moonbase Version:           20060104
Core Tools:                 Lunar
Core Tools Version:         20060101
Resolution:                 fixed
Fixed in Version:           1.6.0 RC release(s)
======================================================================
Date Submitted:             01-05-2006 17:29 UTC
Last Modified:              03-16-2006 16:51 UTC
======================================================================
Summary:                    grub installation during install
Description: 
All scsi system including cdrom. aic7xxx has /dev/sda and /dev/sr0. ips has
/dev/sdb. The system is partitioned as;

/dev/sda1 - swap
/dev/sda2 - boot (ext2)
/dev/sda3 - / (xfs)
/dev/sdb1 - /home (xfs)

Normally I use reiserfs for / and /home but have lately been using xfs on
my machines.

This was performed on /dev/sda that had been low level formatted using the
aic7xxx built in function. Choosing grub it says;

grub>  root ()
error 21: Selected disk does not exist
grub > setup ()
error 12: Invalid device selected
grub> quit

grub should use the following parameters from now on:

root ()
kernel /$ (image name)

grub was installed on the MBR of


And that's it. It still confuses me why a boot loader is chosen first.
Maybe it's just that I've always done it after a kernel is install or
don't understand the under lying logic here.

So I press on with the install. I choose a kernel and I get that try
readlink --help line repeated a number of times and asked if I want to
manually configure grub. I say no to that. So drop to shell and look at
menu.lst. Everything is correct except the kernel stanza. It reads;

kernel /2.6.14.5-smp-4gb root= ro devfs=mount

Well actually when using reiserfs for / I use this in menu.lst;

kernel /2.6.14.5-smp-4gb
root (hd0,2)

I have notice that does not work for / when it is xfs and have to change
the kernel line to;

kernel /2.6.15.5-smp-4gb root=/dev/sda3

So proceding with the install and reboot, where grub should come up I get
nothing. Just a blank screen with a cursor in the upper left corner. Since
that last line saying which MBR grub was installed on looks to be
incomplete, I'll stab a guess and say grub was not installed at all.
Actually I don't see how it could get installed because as noted above it
does not know where root lives or which disk to install to MBR.
======================================================================

----------------------------------------------------------------------
 sofar - 02-17-06 19:19 
----------------------------------------------------------------------
grub installs OK on the following situations:

1) BOOT and ROOT on the same partition
2) separate BOOT and ROOT partitions

requirements: single disk install - systems with multiple OS's on the
first disk and a lunar install on the second will not work.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
01-05-06 17:29 Stumbles       New Issue                                    
01-05-06 17:29 Stumbles       Moonbase Version          => 20060104        
01-05-06 17:29 Stumbles       Core Tools                => Lunar           
01-05-06 17:29 Stumbles       Core Tools Version        => 20060101        
02-17-06 19:19 sofar          Status                   assigned => resolved
02-17-06 19:19 sofar          Fixed in Version          => 1.6.0 RC release(s)
02-17-06 19:19 sofar          Resolution               open => fixed       
02-17-06 19:19 sofar          Note Added: 0000110                          
03-16-06 16:51 sofar          Status                   resolved => closed  
======================================================================



More information about the Lunar-bugs mailing list