Larry Nguyen wrote:
Trong lilo.conf no' ghi la` boot=/dev/hda? hay boot=/dev/hda8 ba'c? Khi ca`i bootloader, ba'c ne^n cho.n /dev/hda (Master boot record cu?a ddi~a cu+'ng) nhu+ hi`nh trong bu+o+'c so^' 5 tu+` http://vnlinuxcd.vnlinux.org/huongdan.pdf Cha'u nghi la` ba'c cho.n /dev/hdax (boot sector cu?a vu`ng ddi~a) == 0 ddu'ng.
Cha'u cu~ng mo+'i ca`i la.i vi` nghe Tua^'n bi. va^'n dde^`. lilo cu?a cha'u 0 sao ca?. Ba^y gio+` la` ca'ch ba'c su+?a la.i.
Gia? su+? ba'c vu+`a ca`i vnlinuxCD xuo^"ng /dev/hda8. Du`ng vnlinuxCD boot ma'y le^n, to+'i ca'i prompt, hit Enter dde^? boot ma'y. Sau khi va`o gnome, launch gnome-terminal, go~ su, password la` root. Go~ "mount --bind /mnt/hda8/boot /boot". Go~ "lilo -C /mnt/hda8/etc/lilo.conf -v" Hy vo.ng tre^n ma`n hi`nh 0 ba'o lo^~i gi` ngoa`i nhu+~ng tho^ng tin dduoc the^m/ddo.c tu+` lilo.conf
Hi`nh minh ho.a http://vnlinuxcd.vnlinux.org/fix-lilo.gif
Ba'c nho+' thay ddo^?i /mnt/hda8 vo+'i /mnt/hdax vo+'i x la` ca'i partition
ba.n vu+`a ca`i vnlinuxCD xuo^'ng.
Sau khi install le^n di~a cu+'ng (cu. the^?: /dev/hda8) thi` boot tha^'t ba.i. Du`ng Knoppix 3.4 boot len ro^`i mount hda8 thi` tha^'y lilo.conf la`:
boot=/dev/hda map=/boot/map default="vnlinuxCD" keytable=/boot/livecd.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz-2.6.7-2.tmb.3mdk label="vnlinuxCD" root=/dev/hda8 initrd=/boot/initrd-2.6.7-2.tmb.3mdk.img append="devfs=mount splash=silent" vga=788 read-only
other=/dev/hda1 label="win_c"
other=/dev/hda5 label="hda5"
Be`n su+?a la.i la`:
boot=/dev/hda8 #map=/boot/map default="vnlinuxCD" #keytable=/boot/livecd.klt prompt #nowarn timeout=100 #message=/boot/message #menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz-2.6.7-2.tmb.3mdk label="vnlinuxCD" root=/dev/hda8 initrd=/boot/initrd-2.6.7-2.tmb.3mdk.img # append="devfs=mount splash=silent" append="hdc=ide-scsi hdd=ide-scsi hde=ide-scsi" vga=788 read-only
other=/dev/hda1 label="win_c"
#other=/dev/hda5 #label="hda5"
Ro^`i go~:
# mount -o bind /mnt/hda8/boot /boot #/sbin/lilo
ro^`i reboot thi` no' cha.y mo^.t ti' va` ngu+ng vo+'i tho^ng ba'o "kernel panic".
Pha?i gia?i pho'ng line na`o nu+~a dde^? boot ddu+o+.c nhi?? Mo.i ca'i distro kha'c khi bi. su+. co^' gi` be^` lilo thi` mi`nh dda^`u xa`i chie^u na`y (do Steve Kie^`u ba`y) va` dde^`u tha`nh co^ng. Rie^ng la^`n na`y bi. thua!
m k h _ s g n ======================================================================== Them tho^ng tin: Hi Larry!
La`m theo chi? da^~n mo+'i nha^'t, thi`:
[EMAIL PROTECTED] kdlc]$ su Password: [EMAIL PROTECTED] kdlc]# mount --bind /mnt/hda8/boot /boot [EMAIL PROTECTED] kdlc]# lilo -C /mnt/hda8/etc/lilo.conf -v LILO version 22.5.8, Copyright (C) 1992-1998 Werner Almesberger Development beyond version 21 Copyright (C) 1999-2003 John Coffman Released 10-Oct-2003, and compiled at 18:03:01 on Feb 19 2004
Warning: LBA32 addressing assumed Reading boot sector from /dev/hda8 Using MENU secondary loader Calling map_insert_data
Boot image: /boot/vmlinuz-2.6.7-2.tmb.3mdk Mapping RAM disk /boot/initrd-2.6.7-2.tmb.3mdk.img Added vnlinuxCD *
Boot other: /dev/hda1, on /dev/hda, loader CHAIN Added win_c
Writing boot sector. /boot/boot.0308 exists - no boot sector backup copy made. [EMAIL PROTECTED] kdlc]#
Tha^'y ca'i do`ng lba32 la` gia^.t mi`nh. Nhu+ng kho^ng pha?i chi? ca'i na`y . Khi reboot dde^? va`o vnlinuxCD tren HDD no' va^~n ba'o la`:
Kernel panic: no init found. Try passing init= option to kernel.
Ma^'y chu+~ cuo^'i cu`ng la` tro? va`o ca'i gi`?
m k h _ s g n
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ VietLUG-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/vietlug-users