adding disk confuses lilo
Dan Egli
pluglist at plug.org
Mon Apr 14 12:16:47 MDT 2003
Jonathan Ellis wrote:
> Dan Egli wrote:
>
>> Jonathan Ellis wrote:
>>
>>> My server has three disks; hda, hdc, and hdd. c and d are on the
>>> secondary controller. When I add another disk (as slave) to the
>>> primary controler, lilo gets to the infamous "LI" and stops.
>>
>>
>> Where is your /boot partition, and your / partition? If either of
>> those is on hdc or hdd then thats the issue. Lilo only uses those
>> names for human readabliity. Internally it refers to physical device
>> #. And when you add a primary slave with 2ndary master/slave already
>> present, the 2ndary physical device #s change.
>
>
> /boot is /dev/hda, but / is /dev/hdc2. So that is probably indeed my
> problem. Is there any solution other than reinstalling lilo from CD
> after the extra disk is in?
>
> -Jonathan
>
> .===================================.
> | This has been a P.L.U.G. mailing. |
> | Don't Fear the Penguin. |
> `==================================='
Yes, there is.
Before the new drive is in place, run mkbootdisk. It creates a bootable
floppy. The floppy doesn't user lilo, but uses syslinux instead.
Syslinux uses the userspace device names, not the system device #s, so
it would work ok. After you create the disk, shutdown, install the new
drive, boot FROM THE FLOPPY, and then when you are booted into linux,
run lilo from the command line. It will re-generate the bootsector and
input correct device #s. Then you should be set.
--- Dan
More information about the PLUG
mailing list