🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.embedded
Article #7

Booting from compact flash (a question of LILO)

#7
From: Religious Sect
Date: Mon, 27 Aug 2001 12:16
38 lines
2118 bytes
Hi y'all

I'm trying to boot from a compact flash card which is connected to my
standard IDE controller (with a IDE to CF converter).  But I'm not having
much luck.

I currently boot from a standard harddrive (hda).  Meanwhile the CF card is
connected as hdc.  Everything works sweet.  I can mount hdc1 and hdc2 and
everyone is happy.

So I run:
lilo -C lilo.flash
cp /boot/* /mnt/flash/boot/

lilo.flash:
--------------------------------
boot=/dev/hdc
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
read-only
root=/dev/hdc2
image=/boot/vmlinuz-2.2.18
--------------------------------

Which should install MBR and booting stuff on the CF card.

But when I try to boot from the CF card all i get is:

L 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 (etc)

This means the first stage is loaded, but no more.

Have I forgotten something?

Steve
Technical Details
Message-ID: <bSqi7.23401$A5.71980@news1.eburwd1.vic.optushome.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!news.xtra.co.nz!news1.optus.net.au!optus!newshub1.rdc1.nsw.optushome.com.au!news1.eburwd1.vic.optushome.com.au.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fff06,106a0a3918663612,start
X-Google-Attributes: gidfff06,public
X-Google-Thread: 102983,2bac29b80736099f
X-Google-Attributes: gid102983,public
X-Google-ArrivalTime: 2001-08-27 05:16:36 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!news.xtra.co.nz!news1.optus.net.au!optus!newshub1.rdc1.nsw.optushome.com.au!news1.eburwd1.vic.optushome.com.au.POSTED!not-for-mail
From: "Religious Sect" <dontspamthe.templeofcaring@optushome.com.au>
Newsgroups: comp.os.linux.embedded,aus.computers.linux
Subject: Booting from compact flash (a question of LILO)
Lines: 41
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <bSqi7.23401$A5.71980@news1.eburwd1.vic.optushome.com.au>
Date: Mon, 27 Aug 2001 12:16:07 GMT
NNTP-Posting-Host: 203.164.122.47
X-Complaints-To: abuse@optushome.com.au
X-Trace: news1.eburwd1.vic.optushome.com.au 998914567 203.164.122.47 (Mon, 27 Aug 2001 22:16:07 EST)
NNTP-Posting-Date: Mon, 27 Aug 2001 22:16:07 EST
Organization: @Home Network