Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Boot Floppy z0r
Date: Fri, 25 Jul 2003 03:24:29
Message-Id: 200307242324.27451.vapier@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 i'm spent sometime developing a boot-floppy-generating script but seem to have
5 hit some roadblocks ...
6 (1) i cant seem to get vmware to like the 1 disk version of a boot floppy ...
7 (2) i cant seem to find any floppy disks that arent corrupted :)
8 (3) i cant seem to figure out how to make 2.6.x *not* zero out a ramdisk after
9 umounting it ... wasnt a prob in 2.4.x, but now it's a show stopper for me :/
10
11 so i think i'll release the scripts i have in order to get feedback from ppl
12 who may have done this kind of thing before ... i myself have never made a
13 bootable floppy before, this would be my first attempt :)
14
15 lets jump to it, the code: http://wh0rd.org/gentoo/boot-floppy/ ...
16 next, ill give some info on it ...
17 the script requires you have uclibc installed. what is uclibc you ask ? just
18 goto http://www.uclibc.org/ ... basically it is a much smaller replacement
19 for glibc ... smaller is better because we can get more stuff onto the
20 floppy. the script builds a floppy disk image with these packages (all
21 compiled with uclibc): busybox, tinylogin, udhcp, e2fsprogs. i basically got
22 a working root system put together and wanted to get the floppy generation
23 process down before adding more stuff.
24
25 so ! heres what i need !
26 (1) feedback on what you think should be better
27 (2) feedback on how to make a working floppy image (without using a floppy
28 drive) ... utilizing a boot loader like grub is ok, but i wish i could get
29 the dealie down where the first hundred blocks the kernel occupies while the
30 rest of the disk is the rootfs ... and the kern just loads it for you ...
31
32 - -mike
33 -----BEGIN PGP SIGNATURE-----
34 Version: GnuPG v1.2.2 (GNU/Linux)
35
36 iQIVAwUBPyCi50FjO5/oN/WBAQKB3g//X/W9ZtQ2ty5GM7SNpcD01Kpc6UA6V4I0
37 fiDB7sqs7lT94yO/qgg/5ZTq+9r1sRjEY7nmJgvpcjCJ5VAye3sAYFg/yEOwXIeF
38 gRdlRtCrXfS5ThK5z/BCphkIAJ597c65OUXNwQp6LTnbNsXlE7thEczFAzYzDx7B
39 SjiTQjNp4Jih9mpeJ5wAfvWcu0UerKZDymB0hFUsXa2BolVmC4hv5XE4T5AMWJFj
40 8Kj4AakI/Pdt6FR4VEMuHdS2y8z/Q/0TJXCbIRSyjb8p3KYKUJ78WpDvssGRGrRa
41 ek3x8DQ6Eo4IMsD+9bULWXhcW4L8H4ItEQXfud5AclXVd82ZORkx9LeuIjemnZSw
42 8c8oolACECJwLb0AD+ZGY+wgSOG8h9LqmrsgBFtL18wB7DCEUYNUFRBfujsfgbWx
43 tvPLc3YQVeyHSR0OpQQobjizHDOk5BWK22hRFT1lEEdwbBM6zHrEPp28lEs1ptqD
44 aWEQCcgaNRB4iPJxoRNtiFjElLPBTk/qmXaZ596WTcf30KUI+n1orJCbqcZcMau+
45 mnZKU9KjOidSZ4BXlRzBhk+VhPqHoYKOu8d0EROjL1E6SYngp1l5Zj7Ij7N7QvQ1
46 6eiu0miOBBxa5wN99YX47mPsknybh7Hzw58iZ1sD/TDHrjUPZdE11rQgNwaOxCkZ
47 eVxChkTOgvQ=
48 =2t/4
49 -----END PGP SIGNATURE-----
50
51 --
52 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Boot Floppy z0r donnie berkholz <spyderous@g.o>