Article View: comp.os.linux.embedded
Article #6Re: Booting from compact flash (a question of LILO)
From: Erik Ivanenko
Date: Tue, 28 Aug 2001 15:19
Date: Tue, 28 Aug 2001 15:19
34 lines
2390 bytes
2390 bytes
Omit the boot parameter, and specify root=/dev/hdc2. From the
lilo.conf(5) man page:
boot=boot-device
Sets the name of the device ->(e.g. a hard disk partition)<- that
contains the boot sector. If this keyword is omitted, the boot sector is
read from (and possibly written to) the device that is currently mounted
as root.
You may wish to try boot=/dev/hdc2, if root must be /dev/hda2.
Afterall, your fdisk claims that /dev/hdc2 is the bootable partition.
> And here's what happens when you do an fdisk -l
>
> Disk /dev/hda: 16 heads, 51 sectors, 1010 cylinders
> Units = cylinders of 816 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 1 41 16727+ 82 Linux swap
> /dev/hda2 * 42 1010 395352 83 Linux
>
> Disk /dev/hdc: 4 heads, 32 sectors, 490 cylinders
> Units = cylinders of 128 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hdc1 1 256 16368 83 Linux
> /dev/hdc2 * 257 490 14976 83 Linux
>
> Any ideas why I have no permission for hdc? Especially when I can mount and
> read/write to my hearts content?
>
> Thanks
>
> Steve
Technical Details
Message-ID:
<3B8BB670.7992E294@utoronto.ca>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!torn!utnut!utgpu!utinfo!newsReferences:
<bSqi7.23401$A5.71980@news1.eburwd1.vic.optushome.com.au> <pan.2001.08.28.09.52.16.151.6999@identecsolutions.de> <9SNi7.23857$A5.73618@news1.eburwd1.vic.optushome.com.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fff06,106a0a3918663612 X-Google-Attributes: gidfff06,public X-Google-Thread: 102983,2bac29b80736099f X-Google-Attributes: gid102983,public X-Google-ArrivalTime: 2001-08-28 08:56:13 PST Newsgroups: comp.os.linux.embedded,aus.computers.linux Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!torn!utnut!utgpu!utinfo!news From: Erik Ivanenko <erik.ivanenko@utoronto.ca> Subject: Re: Booting from compact flash (a question of LILO) X-Nntp-Posting-Host: 128.100.202.120 Content-Type: text/plain; charset=us-ascii Message-ID: <3B8BB670.7992E294@utoronto.ca> Sender: news@campus-news-reading.utoronto.ca Content-Transfer-Encoding: 7bit Organization: University of Toronto X-Accept-Language: en References: <bSqi7.23401$A5.71980@news1.eburwd1.vic.optushome.com.au> <pan.2001.08.28.09.52.16.151.6999@identecsolutions.de> <9SNi7.23857$A5.73618@news1.eburwd1.vic.optushome.com.au> Mime-Version: 1.0 Date: Tue, 28 Aug 2001 15:19:12 GMT X-Mailer: Mozilla 4.76 [en] (Win95; U) Lines: 34