Re: LILO only says LI 01 01 01 01...
On 9 Nov 1997, Andy Spiegl wrote:
> I tried switching from a IDE to a SCSI disk. I copied everything
> (except proc) to the new disk using tar, edited the new fstab and
> lilo.conf, and typed 'lilo -r /mnt'. Here's what lilo said:
it sounds like you forgot to reconfigure /etc/lilo.conf to write the
boot record to your scsi disk instead of the ide disk.
try:
- power down and remove the IDE drive
- boot with the rescue floppy, at the LDLINUX prompt, type:
rescue root=/dev/sda1 emergency
if /dev/sda1 is not your root partition then modify the above line
accordingly.
- login with root password when prompted
- remount the root fs read-write with "mount -n -o rw,remount /"
- edit /etc/lilo.conf
change the boot= and root= lines at the top of the file to look like:
boot=/dev/sda1
root=/dev/sda1
once again, adjust the device names to suit your system.
- run "lilo -t" to test the lilo config
- if no errors, then run "lilo" to write the boot record to /dev/sda1
- run "sync"
- run "mount -n -o ro,remount /"
- reboot
if this still fails, try the above again but use "boot=/dev/sda" instead of
"/dev/sda1". this will write it to the master boot record of the scsi disk,
overwriting the boot record put there by the MBR program.
craig
--
craig sanders
networking consultant Available for casual or contract
temporary autonomous zone system administration tasks.
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: