[OLPC-devel] Booting from uncleanly dismounted flash key.
Jim Gettys
jg at laptop.org
Sat Aug 26 21:01:06 EDT 2006
Ah, the dangers of going through my mail backwards....
- Jim
On Sat, 2006-08-26 at 16:11 -0600, Ronald G Minnich wrote:
>
> Jim Gettys wrote:
> > If you have an ext3 image on a flash key and boot via LinuxBIOS, the
> > boot fails, and you get dropped into a shell. fsck -p of the flash
> key,
> > and everything is fine again.
> >
> > Is there some way to fix this? This feels very fragile to me.
> > - Jim
> >
>
> It's a headache. Part of the problem (Which I have mentioned from
> time
> to time) is that the boot script does the wrong thing and leaves the
> USB
> file system in an unclean state.
>
> What it does:
> kexec from the usb key
>
> what it should do:
>
> cp bzimage /tmp
> cp initrd /tmp
> unmount /
> kexec /tmp/bzimage "args" /tmp/initrd
>
> This would clean things up quite a bit.
>
--
Jim Gettys
One Laptop Per Child
More information about the Devel
mailing list