1 |
Ferris McCormick wrote: |
2 |
|
3 |
> So you have two questions: |
4 |
> 1. Will Gentoo boot of the floppy? And if so, |
5 |
> 2. Can you take enough out of the kernel & put it into modules |
6 |
> to fit the kernel + the boot loader onto a floppy? |
7 |
> |
8 |
> I am sure your situation is addressed somewhere, but I've never run |
9 |
> across it. |
10 |
> |
11 |
> Good luck, keep trying, and come back with questions. Eventually |
12 |
> someone who knows the answer will get tired of reading my responses |
13 |
> and will feed you better information. |
14 |
|
15 |
I think I ran into new problems. After lots of work to shink kernel down |
16 |
to 1.2MB and teste the kernel is bootable, according to silo(1), these |
17 |
steps should create bootable floppy: |
18 |
|
19 |
genromfs -d directory/ -f device -a 512 -A 2048,/.. |
20 |
mount -t romfs device mountpoint |
21 |
silo -r mountpoint -i /boot/fd.b -F |
22 |
umount mountpoint |
23 |
|
24 |
This is what I did: |
25 |
|
26 |
root # fdisk /dev/fd0 |
27 |
|
28 |
Command (m for help): s |
29 |
Building a new sun disklabel. Changes will remain in memory only, |
30 |
until you decide to write them. After that, of course, the previous |
31 |
content won't be recoverable. |
32 |
|
33 |
|
34 |
Command (m for help): w |
35 |
The partition table has been altered! |
36 |
|
37 |
Calling ioctl() to re-read partition table. |
38 |
|
39 |
WARNING: Re-reading the partition table failed with error 22: Invalid |
40 |
argument. |
41 |
The kernel still uses the old table. |
42 |
The new table will be used at the next reboot. |
43 |
Syncing disks. |
44 |
|
45 |
root # genromfs -d /boot/ -f /dev/fd0 -a 512 -A 2048,/.. |
46 |
|
47 |
root # mount -t romfs /dev/fd0 /boot |
48 |
root # silo -r /boot -i /boot/fd.b -F |
49 |
silo.conf seems to be valid |
50 |
|
51 |
root # umount /boot |
52 |
|
53 |
And start the computer: |
54 |
|
55 |
[Enter OBP] |
56 |
ok boot floppy |
57 |
Boot device: /pci@1f,0/pci@1,1/ebus@1/fdthree File and args: |
58 |
Bad magic number in disk label |
59 |
Can't open disk label package |
60 |
|
61 |
Can't open boot device |
62 |
|
63 |
So I failed to make a bootable floppy. What do I miss? |
64 |
|
65 |
-- |
66 |
gentoo-sparc@g.o mailing list |