On 10:51:52 pm 07/25/05 maikhai <[EMAIL PROTECTED]> wrote: > > DDa^u ca^`n pha?i na(`m trong /boot ba'c. No' na(`m ngay / luo^n > > ro^`i. Ba'c xem isolinux.cfg no' boot le^n nhu+ the^' na`o. 2 ca'i > > chi'nh dda~ co' la` nha^n vmlinuz va` initrd.gz > > > > Sau khi xem isolinux.cfg dde^? bie^'t no' boot vo+'i nhu+~ng > > options gi`, bu+o+'c ke^' ba'c co' the^? "gunzip initrd.gz" ro^`i > > "mount -o loop initrd /to/somewhere" sau ddo' "cd /to/somewhere" > > ba'c se~ tha^'y (tho^ng thu+o+`ng) ta^.p tin linuxrc trong ddo'. > > Xem ta^.p tin na`y thi` ba'c se~ bie^'t sau khi nha^n dda~ load, > > no' se~ tie^'p tu.c qua' tri`nh boot nhu+ the^' na`o. Ne^'u trong > > /to/somewhere ba'c 0 tha^'y linuxrc thi` xem trong > > /to/somewhere/etc. > > > > -Larry > > Kho^ng tim tha^'y ca'i file linuxrc o+? dda^u ca?. > > -- > m k h _ s g n >
Cha'u co' xem qua. Ho. du`ng /etc/inittab ro^`i go.i rc.S # System initialization (runs when system boots). si:S:sysinit:/etc/rc.d/rc.S Trong rc.S ba'c se~ tha^'y ho. go.i tie^'p ca'c thu+' kia # mount proc and the CD CRAMS mount proc /proc -t proc if [ -x /etc/rc.d/livecd_init ]; then /etc/rc.d/livecd_init fi Trong livecd_init ho. tha^.t su+. ba9't dda^`u na.p ca'c scripts va` images /etc/rc.d/mount_functions # call mount_cd function, to mount /dev/hdc hdd etc. #echo "Mounting all available CDs..." mount_cds #echo "mounting other discs..." mount_all_discs LIVECD_SUBDIR="`cat /proc/cmdline | egrep -io \"livecd_subdir=([-/.a-z0-9_]*)\"`" LIVECD_SUBDIR="`echo \"$LIVECD_SUBDIR/\" | cut -b 15-`" LIVECD_FIND="$LIVECD_SUBDIR"/bin.img ....... Qua' de^~ pha?i 0 ba'c? Ba'c ra'ng mo` no' va` hie^?u ca'ch hoa.t ddo^.ng ddi. Ba'c hie^?u ca'i na`y thi` la`m livecd theo y' mi`nh qua' de^~. -Larry ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ VietLUG-users mailing list VietLUG-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vietlug-users
