1 |
Hi, |
2 |
|
3 |
2006/3/29, Lutz Schönemann <lutz.schoenemann@××××××××××××××.de>: |
4 |
> Okay, now Lilo loads the first stage and returns the error-code 99. The |
5 |
> man-page contains a paragraph containing the error codes: |
6 |
> 99 invalid second stage index sector |
7 |
> and a detailed description: |
8 |
> "... Errors 99 and 9A usually mean the map file (-m or map=) is not |
9 |
> readable, likely because LILO was not re-run after some system change, |
10 |
> or there is a geometry mis-match between what LILO used (lilo -v3 to |
11 |
> display) and what is actually being used by the BIOS (one of the lilo |
12 |
> diagnostic disks, available in the source distribution, may be needed to |
13 |
> diagnose this problem). ..." |
14 |
> |
15 |
> But how can I get the right device-map needed for my embedded system? I |
16 |
> tried to create a CF card with the diagnostic disks data (writing on CF |
17 |
> instead of wirting to /dev/sd0) but the system doesn't even boot with |
18 |
> this CF-Card. |
19 |
> |
20 |
> Lutz |
21 |
> |
22 |
> Ned Ludd wrote: |
23 |
> > I always used lilo for this task. I found grub to be way to problematic |
24 |
> > and BIG. On x86 I'd chroot into the CF and run lilo. It can be tricky |
25 |
> > and a tad confusing at times till you make that mental map of where the |
26 |
> > devices live. Note be careful or you could end up killing the wrong |
27 |
> > boot sector or device. |
28 |
> > |
29 |
> > My CF was my /dev/sdb but CF is IDE so I needed a conf like this. |
30 |
> > http://dev.gentoo.org/~solar/embedded/local/local/customize/etc/lilo.conf |
31 |
> > |
32 |
> > The kernel got installed to sdb1->hda1 and sdb2->hda2 was used as the |
33 |
> > ROOT file system. |
34 |
> > |
35 |
> > I also used these two scripts to speed up the task. |
36 |
> > |
37 |
> > (Format the CF) |
38 |
> > http://dev.gentoo.org/~solar/embedded/fdisk_cf_flash |
39 |
> > |
40 |
> > (Copy the FS to flash and run the bootloader) |
41 |
> > http://dev.gentoo.org/~solar/embedded/flash_cf_disk |
42 |
> > |
43 |
> > .. good luck. |
44 |
> > |
45 |
> > |
46 |
> > |
47 |
> > On Tue, 2006-03-28 at 11:37 +0200, Lutz Schönemann wrote: |
48 |
> > |
49 |
> >>Hi, |
50 |
> >>I'm trying to get Linux running on a x86 embedded-system (Panel PC |
51 |
> >>"Atlas"). The os should be loaded from a CF-Card (CF-Card reader is |
52 |
> >>onboard and bootable). My current problem with it is that I don't know |
53 |
> >>how to get a bootloader installed on a CF-Card. |
54 |
> >>I have a Gentoo-Box (Toshiba Laptop) compiled for i386. The CF-Card is |
55 |
> >>connected via USB. When ever I install a bootloader on the CF-Card a |
56 |
> >>Dell laptop is able to boot from it but the embedded system doesn't do |
57 |
> >>it. It seems to be the problem that the two BIOS differ to much from |
58 |
> >>each other. |
59 |
> >>How can I install a bootloader that works on other hardware (with |
60 |
> >>different BIOS)? |
61 |
> >> |
62 |
> >>Someone told me to build a very small kernel and put that into the |
63 |
> >>master boot record (must be smaller than 446 bytes). How can I do this? |
64 |
> >>I have deactivated nearly all features, compiled everything as module |
65 |
> >>that could be build as module but the kernel size is 627k !?! |
66 |
> >> |
67 |
> >>For more information on the hardware: |
68 |
> >>http://www.kws-computer.de/ppcatlas.html |
69 |
> >> |
70 |
> >>there is a link to the data sheet (Datenblatt) |
71 |
> >> |
72 |
> >>Thanks for help |
73 |
> >> |
74 |
> >>-- |
75 |
> >>Lutz Schönemann |
76 |
> >> |
77 |
> >>Addr: Fraunhofer Institut für Sichere Informations Technologie SIT |
78 |
> >> Rheinstrasse 75, 64295 Darmstadt, Germany |
79 |
> >>WWW: http://www.sit.fraunhofer.de |
80 |
> >> |
81 |
> >>Zertifizierungen in der FhG: http://pki.fraunhofer.de |
82 |
> |
83 |
> |
84 |
> -- |
85 |
> Lutz Schönemann |
86 |
> |
87 |
> Addr: Fraunhofer Institut für Sichere Informations Technologie SIT |
88 |
> Rheinstrasse 75, 64295 Darmstadt, Germany |
89 |
> WWW: http://www.sit.fraunhofer.de |
90 |
> |
91 |
> Zertifizierungen in der FhG: http://pki.fraunhofer.de |
92 |
> -- |
93 |
> gentoo-embedded@g.o mailing list |
94 |
> |
95 |
> |
96 |
|
97 |
I would install or run lilo (or any other bootloader) from the |
98 |
embedded system directly. |
99 |
|
100 |
I mean, connect only one ide cd reader put CF in the ide reader at |
101 |
embedded mainboard. No other device to damage its boot. |
102 |
Then boot from an any live distro or a gentoo install boot cd itself |
103 |
and chroot to embedded system. |
104 |
Then, re-run lilo or install grub or any other boot manager. |
105 |
|
106 |
Sorry my bad english. |
107 |
|
108 |
-- |
109 |
gentoo-embedded@g.o mailing list |