LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   howto create boot disc on debian sarge ? (https://www.linuxquestions.org/questions/debian-26/howto-create-boot-disc-on-debian-sarge-373960/)

cccc 10-17-2005 11:23 AM

howto create floppy boot disc on debian sarge ?
 
hi

howto create floppy boot disc on debian sarge ?

greetings
cccc

TigerOC 10-17-2005 03:26 PM

Which boot manager are you using?

makuyl 10-17-2005 03:29 PM

man mkboot

cccc 10-18-2005 05:27 AM

I'm using GRUB

sarajevo 10-18-2005 05:49 AM

fdformat /dev/fd0

mk2fs /dev/fd0
mount -t ext2 /dev/fd0 /mnt/floppy
grub install --root-directory=/mnt/floppy (fd0)
cd /boot/grub/grub.conf /mnt/floppy/boot/grub/grub.conf

umount /mnt/floppy


and finally www.google.com

cccc 10-18-2005 03:04 PM

thanks,

but it seems, these commands don't work on debian sarge

yanik 10-18-2005 03:26 PM

Quote:

Originally posted by cccc
thanks,

but it seems, these commands don't work on debian sarge

Replace mk2fs with mke2fs

or you could do it the debian way, debian provides a simple tool called mkboot:

Quote:

mkboot makes a bootdisk. By default the bootdisk will use the kernel /vmlinuz and the current root partition. Use the -r option to specify a different partition, and provide the new kernel file directly to specify a different kernel. Use the -d option to specify a different device for the floppy drive. If invoked with the -i option, it tries to make a Debian GNU/Linux system bootable after a new kernel was installed by /sbin/installkernel. If ELILO is installed, it runs /usr/sbin/elilo. If GRUB is installed, it does nothing. If LILO is in use, it runs /sbin/lilo. If SILO is installed, it does nothing. Otherwise, mkboot will make a new bootdisk.
You can type mk then press tab 2 times at the prompt to list all tools to create file systems.


All times are GMT -5. The time now is 01:22 AM.