Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 19 Sep 2018, 02:46
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Wanted: Tiny boot loader for dual floppy boot.
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
goingnuts

Joined: 07 Dec 2008
Posts: 909

PostPosted: Thu 15 Feb 2018, 12:29    Post subject:  Wanted: Tiny boot loader for dual floppy boot.  

I am looking for a tiny boot loader which can handle a dual floppy boot - that means initrd and main sfs on one floppy and a large kernel on the other floppy. Below my findings and notes until now:

For a single floppy boot syslinux is small (15K on disk) and effective:
Code:
syslinux -s /dev/fd0    #for real floppy
syslinux -s image.file   #for floppy image

But I cant find any hints about dual floppy boot syntax.

loadlin.exe works for single floppy too - but even though loadlin.exe is small (11K on disk) is needs the minimal dos programs (command.com, io.sys and msdos.sys) which adds 131K to the system. I don't know if it has syntax for dual floppy boot - but size alone leaves loadlin.exe out. Syntax to start linux via loadlin.exe after boot:
Code:
a:\loadlin a:\bzImage initrd=a:\Image.gz root=/dev/ram0


For dual floppy boot grub legacy works but is (too) large (100K on disk):
Floppy 1 contains initrd, main.sfs and the grub files (stage0 & stage2)
Floppy 2 contains kernel
Example menu.lst:
Code:
title Floppy Puppy
root (fd0)
pause Insert floppy number 2 (kernel) then press enter
kernel /bzImage root=/dev/fd0
pause Insert floppy number 1 again (initrd and main.sfs) then press enter
initrd /initrd.gz


Question: Any suggestions for a tiny boot-loader (20-30K) which is able to boot large kernel via dual floppy setup?
Back to top
View user's profile Send private message Visit poster's website 
Les Kerf

Joined: 24 Jun 2012
Posts: 317

PostPosted: Thu 15 Feb 2018, 15:44    Post subject:  

I don't know if the PloP boot loader will do what you want, but it may be worth a look.

https://www.plop.at/en/bootmanager/download.html
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 1838
Location: lincoln, uk

PostPosted: Thu 15 Feb 2018, 17:17    Post subject:  

hey nuts

this stuff is way above my understanding but a quick google has found:

https://web.archive.org/web/20140722123804/http://blueflops.sourceforge.net/?q=node/1 - looks very promising

http://webcache.googleusercontent.com/search?q=cache:ZsUlNNYACTYJ:freshmeat.sourceforge.net/projects/natld+&cd=1&hl=en&ct=clnk&gl=uk

https://web.archive.org/web/20041024122242/http://ftp.berlios.de:80/pub/natld/

http://webcache.googleusercontent.com/search?q=cache:p6lhQn2DCdcJ:alcolix.sourceforge.net/+&cd=10&hl=en&ct=clnk&gl=uk

https://web.archive.org/web/20070427161137/http://zoollinux.berlios.de/doku.php

https://web.archive.org/web/20060718061242/http://hysteria.sk:80/brutalware/

https://web.archive.org/web/20040622033941/http://www.quietsche-entchen.de:80/giotto/

http://mininux.free.fr/uk/ - looks very promising


hope they help

Smile
Back to top
View user's profile Send private message Visit poster's website 
amigo

Joined: 02 Apr 2007
Posts: 2641

PostPosted: Fri 16 Feb 2018, 16:49    Post subject:  

lilo?
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 909

PostPosted: Sat 17 Feb 2018, 08:35    Post subject:  

Thank you for very interesting input! Lots of fun ahead Very Happy
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0322s ][ Queries: 11 (0.0050s) ][ GZIP on ]