Link to home
Start Free TrialLog in
Avatar of egarciat
egarciat

asked on

Install LILO on a disk not ROOT mounted

I have to duplicate several boxes with the same REISER filesystem.

All I have to do, is repartition the blank disk then mount the blank disk into /mnt and copy the fs from the master disk mounted in /mnt1
then remove al disks but the previously blank one. and boot from CD telling the kernel to use /dev/hdc1 as root
then run LILO (lilo.conf already exists) , then reboot w/o the CD Drive

The system boots perfectly.

I would like to save time, and install LILO before or after copying files to the blank disk.

Is that posible?..

remember I have 2 disk and 1 CD. One Disk is blank the other has a filesystem on first partition.
when I boot from CD the CD itself is /dev/hda, the blank disk is /hdc and the master disk is /hdd when mounted, blank disk is /hdc1 on /mnt and master disk is /hdd1 on /mnt1 the kernel is located at / (bzImage) on the master disk but copied to the blank disk at the same location /

I would like to run LILO (the lilo binary is contained in the CD filesystem but also on both disks) and specify that it must be installed on the MBR of the blank disk and must boot /dev/hda as it's root partition. because when I remove the CD Drive and the master disk, the previously blank (now with a full filesystem) becomes hda1

ASKER CERTIFIED SOLUTION
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial