Gentoo Archives: gentoo-embedded

From: Mike Frysinger <vapier@g.o>
To: Siong-Ui Te <siongui@×××××.com>
Cc: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] include baselayout in initramfs
Date: Mon, 01 Oct 2007 10:03:53
Message-Id: 200710010553.56963.vapier@gentoo.org
In Reply to: Re: [gentoo-embedded] include baselayout in initramfs by Siong-Ui Te
1 On Sunday 30 September 2007, Siong-Ui Te wrote:
2 > I found temporary solution to this.
3 > Here is my /init:
4 >
5 > ---
6 > #!/bin/ash
7 > umask 022
8 > exec <dev/console >dev/console 2>&1
9 > exec chroot . /sbin/init
10
11 chroot looks silly ... simply doing `exec /sbin/init` should be sufficient
12
13 > and I modified rootfs in /etc/fstab as following
14 > / / tmpfs noatime 0 0
15
16 you didnt have stuff in /etc/fstab before ? you'd need that regardless ...
17
18 you could also place a file "/fastboot" in your initramfs ... that'd skip all
19 fsck scripts ...
20 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature