On Sun, 5 Jan 2003, bcl.man wrote: > Hi. > > To complete Buchan Milne contribution in response to Narfi Stefansson, > here is a detailed HD install lilo config. > > > ######## please replace my config by YOUR CONFIG for all "hdb5 labels" > ######## > ######## COOKER-BASE-ABSOLUTE-DIRECTORY => /home/hdb5/devel/cooker/i586/ > ######## COOKER-BASE-RELATIVE-DIRECTORY => /devel/cooker/i586/ > ######## COOKER-BASE-PARTITION => hdb5 > ######## COOKER-BASE-DISK => hdb > ######## COOKER-LILO-INSTALL-LABEL => ins_hd_img_hdb5 > ######## > > [root@pc root]# cd /boot > [root@pc boot]# mkdir hd_img > [root@pc boot]# mkdir -p /var/tmp/tmp_mount > [root@pc boot]# mount /home/hdb5/devel/cooker/i586/images/hd.img -o loop > /var/tmp/tmp_mount/ > [root@pc boot]# cp -p /var/tmp/tmp_mount/* hd_img > > ######## edit /etc/lilo.conf to obtain that difference
Someone should probably script this up, I just don't know what the easiest way to add the entry to lilo.conf is. Then, maybe someone would be kind enough to put the script in the cooker tree and make this easier for everyone ... Of course, it would only need on argument, location of cooker tree, unless of course it is run from within a cooker tree. One wonders if it would work (as root) by double-clicking in Konq etc. Hmm .. > > [root@pc boot]# diff /etc/lilo.conf /etc/lilo.conf.svg > 69,76d68 > < image=/boot/hd_img/vmlinuz > < label=ins_hd_img_hdb5 > < root=/dev/ram3 > < initrd=/boot/hd_img/hd.rdz > < ramdisk=32000 > < vga=791 > < > append="automatic=method:disk,disk:hdb,par:hdb5,dir:/devel/cooker/i586" > < read-only > [root@pc boot]# lilo > Added linux * > Added linux-nonfb > Added failsafe > Added floppy > Added ins_hd_img_hdb5 You could always do a 'lilo -R ins_hd_img_hdb5' here to ensure you boot into the install .... > [root@pc boot]# reboot > > > > Thanks again for Buchan Milne to start this contribution. > > > > I have try to add expert in append string like > > append="expert > automatic=method:disk,disk:hdb,par:hdb5,dir:/devel/cooker/i586" > > but "automatic install" feature fail on two newer question "Third party > modules" and "Scsi access" > > does anybody know the string to realize "automatic install" in expert mode. > I haven't tried installing cooker recently, my setup was for 9.0 ... Pixel? Regards, Buchan -- |----------------Registered Linux User #182071-----------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7