class="21845">
A.;從主引導記錄中移走LILO並重存原先的windows;MBR;
1.;c:>;fdisk;/mbr;
2.;#/sbin/lilo;-u;/dev/hda;
3.;#dd;if=/boot/boot.0300;of=/dev/hda;bs=446;count=1;
4.;#cat;/boot/boot.0300;>;/dev/hda;
注意:只有你原先安裝windows;95後再安裝Linux時,/boot/boot.0300;
才是你原先的windows;95;MBR。;
B.;重存LILO到MBR;
1.;用安裝軟盤或光盤啟動到boot:;
boot:;vmlinuz;root=/dev/hdXY;(如:;hda1;);
啟動完成後運行;#/sbin/lilo;
2.;用兩張軟盤啟動後:;
#mount;-t;ext2;/dev/hda1;/mnt;
#ln;-s;/mnt/boot;boot;
#ln;-s;/mnt/etc/lilo.conf;/etc/lilo.conf;
#/mnt/sbin/lilo;
C.;拷貝LILO到軟盤;
1.;/sbin/lilo;-b;/dev/fd0;
2.用Redhat;安裝盤引導到;boot:;
boot:;vmlinuz;root=/dev/hdXY;(hdXY;為你的根分區);
update;/etc/lilo.conf;
root=/dev/fd0;
boot=/dev/fd0;
再運行:#/sbin/lilo;-v;
D.;制作一張Redhat;Linux;引導盤;
#mkbootdisk;--device;/dev/fd0;2.0.36-3;
E.;拷貝內核至軟盤,讓軟盤單獨引導Linux並掛上硬盤上的根文件系統。;
#fdformat;/dev/fd0H1440;
#dd;if=/boot/vmlinuz;of=/dev/fd0;
#rdev;/dev/fd0;/dev/hda1;