Difference between revisions of "Boot Floppy HowTo"


From Knoppix Documentation Wiki
Jump to: navigation, search
(Replacing page with '{{delete|out of date}} ~~~~')
 
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
This is an explanation on how to make two floppy disks to boot.
+
{{delete|out of date}} [[User:Werner P. Schulz|Werner P. Schulz]] 14:01, 8 January 2013 (MST)
 
+
Also see: [http://debian.tu-bs.de/knoppix/CeBit]
+
 
+
Boot Knoppix on a machine where it works from CDROM. Then execute these commands to create two floppies. Leave out the "$" when entering the commands, the "cat" commands goes over several lines, down to EOF, in between is what the file /mnt/floppy/boot/grub/menu.lst should contain afterwards.
+
 
+
''#Floppy 1: grub + kernel'' <br>
+
''$ mkfs -t vfat /dev/fd0'' <br>
+
''$ grub-install --root-directory=/mnt/floppy /dev/fd0'' <br>
+
''$ cp /cdrom/boot/isolinux/linux24 /mnt/floppy/'' <br>
+
''$ cat >/mnt/floppy/boot/grub/menu.lst <<EOF'' <br>
+
''default 0'' <br>
+
''timeout 3'' <br>
+
 
+
''title Knoppix Floppies initrd'' <br>
+
''kernel (fd0)/linux24 ramdisk''size=100000 init=/etc/init lang=ch apm=power-off vga=791 nomce BOOT''IMAGE=knoppix'' <br>
+
''pause Insert floppy with miniroot and press ENTER'' <br>
+
''module (fd0)/minirt24.gz'' <br>
+
''EOF''  <br>
+
 
+
''#Floppy 2: miniroot'' <br>
+
''$ mkfs -t vfat /dev/fd0''  <br>
+
''$ cp /cdrom/boot/isolinux/minirt24.gz /mnt/floppy/''  <br>
+
 
+
The Kernel 2.6 does not fit on the same floppy as GRUB. In that case, copy the initrd26.gz on the boot floppy with grub and the kernel on a separate floppy.
+
 
+
the menu.lst file will then look like this (noscsi added):
+
 
+
''title Knoppix Floppies initrd'' <br>
+
''pause Insert floppy with kernel (disk 2) and press ENTER'' <br>
+
''kernel (fd0)/linux26 ramdisk''size=100000 init=/etc/init lang=ch apm=power-off vga=791 nomce noscsi BOOT''IMAGE=knoppix'' <br>
+
''pause Insert floppy with miniroot (disk 1 again) and press ENTER'' <br>
+
''module (fd0)/minirt26.gz'' <br>
+
 
+
= Obselete Document: =
+
 
+
You make a KNOPPIX Boot Floppy by one of these procedures.
+
 
+
!It is not correct to just copy files onto the floppy. <br> <br>
+
 
+
*!!If you have KNOPPIX or a other linux distribution started:<br>
+
Insert an empty, formatted floppy disk and the KNOPPIX CD. <br> <br>
+
K --> KNOPPIX --> Root Shell --> cd /mnt/cdrom/KNOPPIX --> ls <br> <br>
+
Now you should see a file name ''boot.img'' . <br>
+
In some versions the file may have a language name attached.<br>
+
 
+
Enter the following line from the shell:<br>
+
 
+
: ''dd if=/mnt/cdrom/KNOPPIX/boot.img of=/dev/fd0 bs=1440k'' <br>
+
 
+
This will erase the floppy and the KNOPPIX boot disk.<br> <br>
+
 
+
; Or for the lazy : ''cat /mnt/cdrom/KNOPPIX/boot.img >/dev/fd0''
+
 
+
*!!If you are in Windows:<br>
+
Insert an empty, formatted floppy disk and the KNOPPIX CD.<br>
+
Open a DOS Window, open the KNOPPIX directory on the CD. <br>
+
: d:<br>
+
: cd \KNOPPIX <br>
+
create a boot floppy using the command: <br>
+
: mkfloppy.bat<br>
+
 
+
: '''*''' actual path on Knoppix 3.3 CDROM: ''/cdrom/KNOPPIX/mkfloppy.bat''
+
----
+
: Is this also possible in Knoppix 3.4?? <br>
+
: At least with 3.4 2004-05-04, no.  The file boot.img is not there, neither is the mkfloppy.bat or rawwrite2.exe.  This might be due to the use of isolinux.  I '''need''' this, badly enough to continue investigating it.
+
 
+
-----
+
Hi, look here [http://debian.tu-bs.de/knoppix/[[Ce] Bit]]/ for a boot.img and make''floppy''3.4.sh. Hope this helps. MTH
+
 
+
 
+
= Two Bootfloppies for Knoppix 3.4 =
+
 
+
Check out the mkbootfloppy script (Knoppix->Utlities menu) thats on 2004-05-10 and newer. It wil create two bootfloppies with the currently running kernel.
+
 
+
----
+
Back to [[Setup Instructions]]
+

Latest revision as of 21:01, 8 January 2013

Template:Delete Werner P. Schulz 14:01, 8 January 2013 (MST)