Bug 31073 - Kickstart raiding / makes lilo fail
Kickstart raiding / makes lilo fail
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: anaconda (Show other bugs)
1.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-03-08 11:38 EST by Anders Blomdell
Modified: 2007-04-18 12:32 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-07-16 12:23:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Anders Blomdell 2001-03-08 11:38:35 EST
With this in the kickstart file:

  clearpart --all
  part raid.01 --size 2000 --ondisk hda
  part raid.02 --size 2000 --ondisk hdb
  part swap --size 1000 --ondisk hda
  part swap --size 1000 --ondisk hdb
  part /backup/homeB --size 20000 --ondisk hda
  part /backup/homec --size 20000 --ondisk hdb
  raid / --level 1 --device md0 raid.01 raid.02 

Gives this partitioning:

  Disk /tmp/hda: 255 heads, 63 sectors, 5606 cylinders
  Units = cylinders of 16065 * 512 bytes

     Device Boot    Start       End    Blocks   Id  System
  /tmp/hda1   *         1      2550  20482843+  83  Linux
  /tmp/hda2          2551      5606  24547320    5  Extended
  /tmp/hda5          2551      2805   2048256   fd  Linux raid autodetect
  /tmp/hda6          2806      2933   1028128+  82  Linux swap

  Disk /tmp/hdb: 255 heads, 63 sectors, 5606 cylinders
  Units = cylinders of 16065 * 512 bytes

     Device Boot    Start       End    Blocks   Id  System
  /tmp/hdb1   *         1      2550  20482843+  83  Linux
  /tmp/hdb2          2551      5606  24547320    5  Extended
  /tmp/hdb5          2551      2805   2048256   fd  Linux raid autodetect
  /tmp/hdb6          2806      2933   1028128+  82  Linux swap

which in turn makes lilo fail, since the root partition start too far from 
the beginning of the disk.
Comment 1 Michael Fulbright 2001-03-08 11:51:45 EST
What version of Red Hat Linux are you filing this bug for?
Comment 2 Anders Blomdell 2001-03-08 11:55:07 EST
Latest RawHide (Mon 2000-03-05)
Comment 3 Michael Fulbright 2001-03-08 15:57:42 EST
Did /etc/lilo get lba32 or linear put in it?
Comment 4 Anders Blomdell 2001-03-09 03:21:21 EST
/mnt/sysimage/etc/lilo.conf:

boot=/dev/md0
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=linux

image=/boot/vmlinuz-2.4.1-0.1.14
        label=linux
        initrd=/boot/initrd-2.4.1-0.1.14.img
        read-only
        root=/dev/md0


But still screen 0 contains an error message (overwritten by the congratulations 
as usual).

...ning: device 0x0305...
...for linear mode (try...

BUT: the system boots (so the lilo is somewhat OK), and then stops with a:
  Kernel panic: No init found.  
Comment 5 Michael Fulbright 2001-03-09 10:54:17 EST
Could you try adding a /boot partition so the 1024 cylinder limit isn't a problem?
Comment 6 Anders Blomdell 2001-03-09 11:08:52 EST
Does this mean that the earlier heuristics that placed / at the beginning of the 
disk is removed, but /boot is still placed at the beginning of the disk?

I would be perfectly satisfied with raiding an already formatted disk, but then 
bug #29544 comes into play.
Comment 7 Michael Fulbright 2001-03-21 15:36:20 EST
The kickstart code does not properly mark '/' as a bootable partition if '/boot'
is not present currently. I wanted to make sure this was the failure you were
seeing.
Comment 8 Kevin Keegan 2001-06-27 10:15:31 EDT
What is the status of this?  I'm trying to use the following ks.cfg file and 
get the same errors--fatal error "...device 0x0309....try lba32", and system 
will not boot.

part raid.01 --size 25 --ondisk hda
part raid.02 --size 3500 --ondisk hda
part swap --size 300 --ondisk hda

part raid.11 --size 25 --ondisk hdb
part raid.12 --size 3500 --ondisk hdb
part swap --size 300 --ondisk hdb

raid /boot --level 1 --device md0 raid.01 raid.11
raid / --level 1 --device md1 raid.02 raid.12
install
Comment 9 Jeremy Katz 2001-07-22 16:06:46 EDT
New code is much more aggressive about placing /boot partitions or raid
partitions which are part of /boot at the beginning of drives which should fix
this problem.

Note You need to log in before you can comment on or make changes to this bug.