[Chugalug] Boot Linux from a diskette?

Alex Smith (K4RNT) shadowhunter at gmail.com
Tue Mar 4 14:35:02 UTC 2014


Free or NetBSD, anyone? ;)

" ' With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.' Those words were uttered by Judge Aaron Satie as wisdom and
warning... The first time any man's freedom is trodden on we’re all
damaged." - Jean-Luc Picard, quoting Judge Aaron Satie, Star Trek: TNG
episode "The Drumhead"
- Alex Smith
- Dulles Technology Corridor (Chantilly/Ashburn/Dulles), Virginia USA


On Tue, Mar 4, 2014 at 8:15 AM, Rod <rod-lists at epbfi.com> wrote:

>  yeah if only opendarwin had continued.
>
> On Mon, 03 Mar 2014 23:34:42 -0500, Chad Smith <chad78 at gmail.com> wrote:
>
> Something that is awesome, and yet scary about Linux.
>
> "I'm sure this is crazy... but can you do ____ with Linux?"
>
> 14 different people respond with 18 different ways to do it.
>
> *- Chad W. Smith*
>
>
> On Mon, Mar 3, 2014 at 10:27 PM, <flushy at flushy.net> wrote:
>
>> Quoting Dan Lyke <danlyke at flutterby.com>:
>>
>>  On Mon, 03 Mar 2014 19:48:05 -0500
>>>
>>
>>  And now is when you get to dive. Deep.
>>>
>>
>>
>> ah the days of the boot/root disk.
>>
>> Basically:
>>
>> # copy the kernel to a floppy image
>> dd bs=1k if=/boot/vmlinuz of=/tmp/floppy.img 2>&1 | tee /tmp/log.txt
>>
>> # calculate the kernel blocks
>> awk '/ records out/ { print $1 + 1 ; }' < /tmp/log.txt  > /tmp/size.txt
>>
>> # write a compressed root floppy image (ramdisk) to the img
>> dd bs=1k seek=$(cat /tmp/size.txt) of=/tmp/floppy.img if=root.img.gz
>> bs=1k 2>/dev/null
>>
>> # finally write the whole thing to the floppy
>> dd bs=512 of=/dev/fd0 if=/tmp/floppy.img
>>
>> [end]
>>
>> You can make 1992K floppies using some low level format utilities.
>>
>> http://www.fdutils.linux.lu/
>>
>> This project seeks to help you build root/boot disks, though it's a bit
>> outdated.
>>
>> http://sourceforge.net/projects/byld/
>>
>> Here is a write up of how to do it manually (you'll need to create your
>> own version of rdev as it's deprecated).
>>
>> http://www.tldp.org/HOWTO/Bootdisk-HOWTO/x703.html
>>
>> --b
>>
>>
>>
>> _______________________________________________
>> Chugalug mailing list
>> Chugalug at chugalug.org
>> http://chugalug.org/cgi-bin/mailman/listinfo/chugalug
>>
>
>
>
>
> --
> Using Opera's mail client: http://www.opera.com/mail/
>
> _______________________________________________
> Chugalug mailing list
> Chugalug at chugalug.org
> http://chugalug.org/cgi-bin/mailman/listinfo/chugalug
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://chugalug.org/pipermail/chugalug/attachments/20140304/2fd57737/attachment.html>


More information about the Chugalug mailing list