Am 2004-05-17 21:59:38, schrieb GG: >Et en ce qui me concerne , c'est donc trop tard, même si je crée une >disquette Grub, elle ne sera pas à l'image de mon système? No, c'est pas trop tard... ______ ( /sbin/tdbootfloppy ) ________________________________________ / | cd / | | # Formater un Disquette avec 1680 Secteurs... | fdformat /dev/fd0u1680 | | # Cree le system de fichier | mkfs.ext2 -c -b 1024 -N 30 -m 0 -v -L bootdisk /dev/fd0u1680 | | # Desactiver le fsck | tune2fs -c 0 -C 0 -i 0 /dev/fd0u1680 > /dev/null | | # Monter le Disquette et cree les repertois neccesaire | mount -t ext2 /dev/fd0u1680 /floppy | mkdir -v /floppy/boot /floppy/dev /floppy/etc | | # Copier le Device-Files | cp -vR /dev/fd0u1680 /floppy/dev/ | cp -vR /dev/hda /floppy/dev/ | cp -vR /dev/hda1 /floppy/dev/ | | # Copy le fichier de Noyau | cp -v /boot/boot-menu.b /floppy/boot/ | cp -v /boot/map /floppy/boot/ | cp -v /boot/System.map-2.4.26-1-686-smp /floppy/boot/ | cp -v /boot/vmlinuz-2.4.26-1-686-smp /floppy/boot/ | | # Cree un symlink sur la Disquette | cd /floppy | ln -s boot/vmlinuz-2.4.26-1-686-smp vmlinuz | cd / | | # Copier et modifie le fichier lilo.conf sur la Disquette | cp /etc/lilo.conf /floppy/etc/lilo.conf | editor /floppy/etc/lilo.conf | | # lba32 | # boot=/dev/fd0u1680 <=== C'es important | # root=/dev/hda1 | # prompt | # delay=0 | # timeout=50 | # vga=normal | # # append="" | # default=Linux | # | # image=/vmlinuz | # label=Linux | # read-only | | # installer LILO sur la Disquette | lilo -v 2 -r /floppy | umount /floppy \______________________________________________________________________ Mais j'ai pour ca je utiliser un BASH-Script a peu plus comfortable :-) Et ca marcher parfect ! Actuellement j'au eu problem avec un Samsung que le BIOS d'un PII/333 ne reconnes pas... Je demarrer mon FileServer avec la Disquette... MAIS ATTENTION: Il es pas capable du demarrer avec un initrd !!! Bon, en general si tu compiler ton propre noyau, tu compiler sans initrd ou ton initrd est beaucoup plus petit comme le initrd de 2.4.26-1-686-smp... Jai deja fait un Disquette de demarrage avec un noyau de 1,1 Mo et un initrd de 300 ko. Ca marcher avec un Disquette de 1.68 Mo >GG Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Attachment:
signature.asc
Description: Digital signature