Re: [Vietlug] cdrouter liveCD
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=7477alloc_id=16492op=click ___ VietLUG-users mailing list VietLUG-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vietlug-users
Re: [Vietlug] cdrouter liveCD
On 8:53:30 am 07/25/05 maikhai [EMAIL PROTECTED] wrote: Hi List! Ca'i CD na`y no' no'i kho?i ca^`n ca`i le^n HD, nhu+ng ne^'u cu+' thi'ch ca`i cho+i thi` la`m ra(ng ma` ca`i? Vi` ra(`ng no' kho^ng co' gi` trong /boot ca?. Hay la` pha?i xa`i chie^u boot tu+` DOS ba`ng loadlin.exe? dhcppc0:/mnt/hda7# ls -lh /mnt/hda7 total 89M -rwxr-xr-x 1 root root 787 2005-05-02 08:39 autoexec -rw-r--r-- 1 root root 1.8M 2005-05-02 08:27 bin.img -rw-r--r-- 1 root root 4.7K 2005-05-02 08:39 changelog -rwxr--r-- 1 root root 1.4K 2005-05-02 08:39 create_bootiso drwxr-xr-x 2 root root 4.0K 2005-05-02 08:40 devel drwxr-xr-x 2 root root 4.0K 2005-05-02 08:40 dos -rw-r--r-- 1 root root 3.2M 2005-05-02 08:39 initrd.gz -rw-r--r-- 1 root root 2.7K 2005-05-02 08:40 installed_packages.txt -rw-r--r-- 1 root root 9.3K 2005-05-02 08:40 isolinux.bin -rw-r--r-- 1 root root 7.3K 2005-05-02 08:39 isolinux.bin.gz -r--r--r-- 1 root root 2.0K 2005-05-02 08:40 isolinux.boot -rw-r--r-- 1 root root 672 2005-05-02 08:39 isolinux.cfg -rw-r--r-- 1 root root 12K 2005-05-02 08:39 LEAME.txt -rw-r--r-- 1 root root 5.0M 2005-05-02 08:28 lib.img -r--r--r-- 1 root root 295 2005-05-02 08:39 LICENSE drwx-- 2 root root 16K 2005-07-22 13:44 lost+found -rw-r--r-- 1 root root 1.2K 2005-05-02 08:39 named.tar.gz -rw-r--r-- 1 root root 12M 2005-05-02 08:39 opt.img -rw-r--r-- 1 root root 12K 2005-05-02 08:39 README.txt -rw-r--r-- 1 root root 156 2005-05-02 08:39 README.voip -rw-r--r-- 1 root root 11K 2005-05-02 08:39 root.tar.gz -rw-r--r-- 1 root root 3.0M 2005-05-02 08:39 sbin.img -rw-r--r-- 1 root root 1.1K 2005-05-02 08:39 splash -rw-r--r-- 1 root root 63M 2005-05-02 08:38 usr.img -r 1 root root 1.8M 2005-05-02 08:40 vmlinuz -- m k h _ s g n 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 --- 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=7477alloc_id=16492op=click ___ VietLUG-users mailing list VietLUG-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vietlug-users
Re: [Vietlug] cdrouter liveCD
On Monday 25 July 2005 09:24 pm, Larry Nguyen wrote: On 8:53:30 am 07/25/05 maikhai [EMAIL PROTECTED] wrote: Hi List! Ca'i CD na`y no' no'i kho?i ca^`n ca`i le^n HD, nhu+ng ne^'u cu+' thi'ch ca`i cho+i thi` la`m ra(ng ma` ca`i? Vi` ra(`ng no' kho^ng co' gi` trong /boot ca?. Hay la` pha?i xa`i chie^u boot tu+` DOS ba`ng loadlin.exe? dhcppc0:/mnt/hda7# ls -lh /mnt/hda7 total 89M -rwxr-xr-x 1 root root 787 2005-05-02 08:39 autoexec -rw-r--r-- 1 root root 1.8M 2005-05-02 08:27 bin.img -rw-r--r-- 1 root root 4.7K 2005-05-02 08:39 changelog -rwxr--r-- 1 root root 1.4K 2005-05-02 08:39 create_bootiso drwxr-xr-x 2 root root 4.0K 2005-05-02 08:40 devel drwxr-xr-x 2 root root 4.0K 2005-05-02 08:40 dos -rw-r--r-- 1 root root 3.2M 2005-05-02 08:39 initrd.gz -rw-r--r-- 1 root root 2.7K 2005-05-02 08:40 installed_packages.txt -rw-r--r-- 1 root root 9.3K 2005-05-02 08:40 isolinux.bin -rw-r--r-- 1 root root 7.3K 2005-05-02 08:39 isolinux.bin.gz -r--r--r-- 1 root root 2.0K 2005-05-02 08:40 isolinux.boot -rw-r--r-- 1 root root 672 2005-05-02 08:39 isolinux.cfg -rw-r--r-- 1 root root 12K 2005-05-02 08:39 LEAME.txt -rw-r--r-- 1 root root 5.0M 2005-05-02 08:28 lib.img -r--r--r-- 1 root root 295 2005-05-02 08:39 LICENSE drwx-- 2 root root 16K 2005-07-22 13:44 lost+found -rw-r--r-- 1 root root 1.2K 2005-05-02 08:39 named.tar.gz -rw-r--r-- 1 root root 12M 2005-05-02 08:39 opt.img -rw-r--r-- 1 root root 12K 2005-05-02 08:39 README.txt -rw-r--r-- 1 root root 156 2005-05-02 08:39 README.voip -rw-r--r-- 1 root root 11K 2005-05-02 08:39 root.tar.gz -rw-r--r-- 1 root root 3.0M 2005-05-02 08:39 sbin.img -rw-r--r-- 1 root root 1.1K 2005-05-02 08:39 splash -rw-r--r-- 1 root root 63M 2005-05-02 08:38 usr.img -r 1 root root 1.8M 2005-05-02 08:40 vmlinuz -- m k h _ s g n 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 LEAME.txt LICENSE README.txt bin/ boot/ changelog dev/ etc/ home/ lib/ mnt/ opt/ proc/ sbin/ tmp/ usr/ var/ DIR_COLORS HOSTNAME X11/ adjtime apache/ config-mrtg cron.daily/ cron.hourly/ cron.monthly/ cron.weekly/ csh.login cxacru cxacru.service* dbdiff/ devfsd.conf dhclient.conf dhcpc/ dhcpd.conf dialogrc err.cfg fb.modes fdprm frottle.conf frottle.conf.sample fstab ftpusers gpm-root.conf gpm-syn.conf gpm-twiddler.conf group gshadow hardwareclock host.conf hosts hosts.allow hosts.deny hosts.equiv hotplug/ identd.conf inetd.conf inetd.conf~ inittab inputrc ioctl.save isapnp.conf.sample isapnp.gone.sample issue issue.net ld.so.cache ld.so.conf lftp.conf licence lilo.conf lilo.conf.bak lilo.conf.new lilo.conf.ok lilo.conf.old localtime localtime-copied-from@ login.access login.defs logrotate.conf logrotate.d/ lpd.conf lpd.perms magic magic.mime mediaprm minicom.users minirc.dfl modules.conf modules.devfs motd mtab mtools.conf mutt/ my.cnf nail.rc named.conf networks news/ nntpserver nscd.conf nsswitch.conf ntp.conf organization pango/ passwd passwd- pcmcia/ pine.conf ppp/ pptpd.conf printcap profile profile.d/ proftpd.conf protocols random-seed rc.d/ resolv.conf resolv.conf.347 rmt@ rndc.key rpc securetty serial.conf services shadow shadow- shells shorewall/ skel/ slackware-version snmpd.conf@ ssh/ ssl/ sudoers syslog.conf tcp.smtp.cdb tcpserver/ termcap termcap-Linux tin/ updatedb.conf vga/ webmin/ webmin.cfg wgetrc wlan/ wondershaper-1.1a/ wpa_supplicant.conf yp.conf ytalkrc