* Kernel partition
@ 2001-11-21 14:21 Felix Radensky
2001-11-21 15:04 ` David Woodhouse
0 siblings, 1 reply; 4+ messages in thread
From: Felix Radensky @ 2001-11-21 14:21 UTC (permalink / raw)
To: linux-mtd
Hi,
I'd like to create 2 partitions on my flash disk: kernel partition
(where kernel image resides)
and normal ext2 partition. I was thinking of using fdisk and creating an
ext2 partition at
some offset from the start of the disk, thus reserving space for kernel
partition. Will this
work, or some other technique is required ?
TIA.
Felix.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Kernel partition
2001-11-21 14:21 Kernel partition Felix Radensky
@ 2001-11-21 15:04 ` David Woodhouse
2001-11-21 15:54 ` Felix Radensky
0 siblings, 1 reply; 4+ messages in thread
From: David Woodhouse @ 2001-11-21 15:04 UTC (permalink / raw)
To: Felix Radensky; +Cc: linux-mtd
felix@allot.com said:
> I'd like to create 2 partitions on my flash disk: kernel partition
> (where kernel image resides) and normal ext2 partition. I was thinking
> of using fdisk and creating an ext2 partition at some offset from the
> start of the disk, thus reserving space for kernel partition. Will
> this work, or some other technique is required ?
No. You can't just put an ext2 filesystem on flash - at least not safely.
You need either a translation layer to pretend to be a normal block device,
or more usefully a real filesystem designed for use on flash, like JFFS2.
--
dwmw2
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Kernel partition
2001-11-21 15:04 ` David Woodhouse
@ 2001-11-21 15:54 ` Felix Radensky
2001-11-21 15:54 ` David Woodhouse
0 siblings, 1 reply; 4+ messages in thread
From: Felix Radensky @ 2001-11-21 15:54 UTC (permalink / raw)
To: David Woodhouse; +Cc: linux-mtd
Hi,
Thanks, David. I know I need some translation layer, and I have a driver
that provides it. My concern is disk partitioning. Will the method I described
work ? Will I be able to use dd to copy kernel image to kernel partition on
block
device ?
TIA.
Felix.
David Woodhouse wrote:
> felix@allot.com said:
> > I'd like to create 2 partitions on my flash disk: kernel partition
> > (where kernel image resides) and normal ext2 partition. I was thinking
> > of using fdisk and creating an ext2 partition at some offset from the
> > start of the disk, thus reserving space for kernel partition. Will
> > this work, or some other technique is required ?
>
> No. You can't just put an ext2 filesystem on flash - at least not safely.
> You need either a translation layer to pretend to be a normal block device,
> or more usefully a real filesystem designed for use on flash, like JFFS2.
>
> --
> dwmw2
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Kernel partition
2001-11-21 15:54 ` Felix Radensky
@ 2001-11-21 15:54 ` David Woodhouse
0 siblings, 0 replies; 4+ messages in thread
From: David Woodhouse @ 2001-11-21 15:54 UTC (permalink / raw)
To: Felix Radensky; +Cc: linux-mtd
felix@allot.com said:
> Thanks, David. I know I need some translation layer, and I have a
> driver that provides it. My concern is disk partitioning. Will the
> method I described
> work ? Will I be able to use dd to copy kernel image to kernel
> partition on block device ?
That depends on your translation layer - I assume that'll work. Your
translation layer code must use the gendisk mess to get partitioning to
work. Persuading your bootloader to understand your translation layer
and the partitioning within it, and hence to load the kernel from it, is a
different matter.
--
dwmw2
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-11-21 15:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-21 14:21 Kernel partition Felix Radensky
2001-11-21 15:04 ` David Woodhouse
2001-11-21 15:54 ` Felix Radensky
2001-11-21 15:54 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox