On Saturday 15 April 2006 06:27, Larry Nguyen wrote: > On 8:19:43 am 04/14/06 maikhai <[EMAIL PROTECTED]> wrote: > > http://gentoo-wiki.com/HOWTO_LiveCD_on_disk#Unpacking_the_LiveCD > > HOWTO LiveCD on disk > > > > This HowTo teaches you how to put a working copy of the Gentoo > > Minimal LiveCD into the first partition of your harddrive. This is > > useful for installing servers remotely or for laptop users. I used > > this method to remotely install Gentoo on a Strato root server. > > > > [snip] > > > > > > Chào mọi người! > > Nếu theo như cách trên thì có thể cài gentoo-2006 LiveCD > > Installer lên HDD quá dễ hay sao ? > > Tui cài cái 2006 này đến bây giờ là lần xóa cài cài > > xoá thứ 7 rồi ! Lần thứ 8 thì đang emerge kde (tức là > > nó chỉ chịu làm việc sau khi chạy /opt/installer/misc/updat > > egtkfe -- và cũng chỉ chạy tới mục cài > > bootloader là tịt ngòi) > > > > Bạn nào có kinh nghiệm vụ này vui lòng post lên đây > > mấy chiêu hè ? > > -- > > m k h _ s g n > > DDe^? weekend na`y, hy vo.ng, co' tho+`i gian cha'u vie^'t ca'i litto > how-to ne^'u ba'c va^~n kho^ng du`ng ca'i how-to be^n tre^n ddu+o+.c. > > -Larry > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > VietLUG-users mailing list > VietLUG-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/vietlug-users
-- m k h _ s g n
deb deb # mke2fs -j /dev/hda2 mke2fs 1.38 (30-Jun-2005) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 912128 inodes, 1821369 blocks 91068 blocks (5.00%) reserved for the super user First data block=0 56 block groups 32768 blocks per group, 32768 fragments per group 16288 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632 Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 28 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. deb deb # mkdir /mnt/rescue deb deb # mount /dev/hda2 /mnt/rescue/ deb deb # mkdir /mnt/livecd deb deb # mount -o loop livecd-i686-installer-2006.0.iso /mnt/livecd/ deb deb # cp -a /mnt/livecd/* /mnt/rescue deb deb # umount /mnt/livecd/ deb deb # grub-install --root-directory=/mnt/rescue --no-floppy hd0,1 Probing devices to guess BIOS drives. This may take a long time. Installation finished. No error reported. This is the contents of the device map /mnt/rescue/boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script `grub-install'. (hd0) /dev/hda deb deb # nano -w /mnt/rescue/boot/grub/device.map deb deb # nano -w /mnt/rescue/boot/grub/device.map >> open mot terminal khac va sua device.map [hd0 /dev/hda]thanh[hd0,1 /dev/hda2] deb deb # grub-install --root-directory=/mnt/rescue --no-floppy hd0,1 /dev/hda2 does not have any corresponding BIOS drive. deb deb # mount /mnt/livecd/ mount: can't find /mnt/livecd in /etc/fstab or /etc/mtab deb deb # mount -o loop livecd-i686-installer-2006.0.iso /mnt/livecd/ deb deb # deb deb # ls -lh /mnt/livecd/ total 668M -rw-r--r-- 1 root root 22K Feb 23 00:46 Getting_Online.txt -rw-r--r-- 1 root root 6.1K Feb 23 00:46 README.txt drwxr-xr-x 3 root root 2.0K Feb 23 00:36 docs -rwx------ 1 root root 668M Feb 23 01:03 image.squashfs drwxr-xr-x 2 deb users 2.0K Feb 23 00:46 isolinux -rw-r--r-- 1 root root 0 Feb 23 00:46 livecd drwxr-xr-x 2 root root 2.0K Feb 6 04:14 snapshots deb deb # ls -lh /mnt/rescue/ total 669M -rw-r--r-- 1 root root 22K Feb 23 00:46 Getting_Online.txt -rw-r--r-- 1 root root 6.1K Feb 23 00:46 README.txt drwxr-xr-x 3 root root 4.0K Apr 15 08:47 boot drwxr-xr-x 3 root root 4.0K Feb 23 00:36 docs -rwx------ 1 root root 668M Feb 23 01:03 image.squashfs drwxr-xr-x 2 deb users 4.0K Feb 23 00:46 isolinux -rw-r--r-- 1 root root 0 Feb 23 00:46 livecd drwx------ 2 root root 16K Apr 15 08:40 lost+found drwxr-xr-x 2 root root 4.0K Feb 6 04:14 snapshots deb deb # Dung mc vao /dev/hda2 coi thi chi thay nhu tren!!!