Subject: Re: floppyinstfs size
To: None <port-sandpoint@netbsd.org>
From: None <bgjung@etri.re.kr>
List: port-sandpoint
Date: 03/17/2002 13:32:55
------_=_NextPart_001_01C1CDD2.AF74FAF0
Content-Type: text/plain;
charset="euc-kr"
Content-Transfer-Encoding: quoted-printable
Thank you for your reply.
I'm trying to make a "standalone" kernel.
I used sys/arch/sandpoint/conf/RAMDISK and
distrib/sandpoint/floppys/ramdisk/ramdisk.fs.
But it didn't live "standalone".
It just ask (I)nstall, (S)hell, (H)alt?
So, I 'm wondering it needs to setup all tgz fles (base,tgz and =
etc.tgz),
it almost 80M bytes, not 8M byte.
What is missing on distrib/sandpoint?
Or what I should add some lines on conf/RAMDISK?
2M is sufficient for "standalone" image?
=BF=F8=BA=BB =B3=BB=BF=EB:
=BA=B8=B3=BD=BB=E7=B6=F7: Erik Anggard[erik.anggard@packetfront.com]
=B9=DE=B4=C2=BB=E7=B6=F7: Boo Geum Jung
=C2=FC=C1=B6:port-sandpoint@netbsd.org
=C1=A6=B8=F1: Re: floppyinstfs size
=B9=DE=C0=BA=B3=AF=C2=A5: 2002/03/17 =C0=CF 04:16
Are you trying to make an installation floppy disk or just a=20
"standalone" kernel? We use the following process to build "standalone" =
kernels:
1) configure and compile a kernel with options MEMORY_DISK_HOOKS,=20
MEMORY_DISK_IS_ROOT and MINIROOTSIZE (and optionaly=20
MEMORY_DISK_SERVER=3D0), see src/sys/arch/sandpoint/conf/RAMDISK=20
2) set up a directory to contain the files for the ramdisk and possibly =
an mtree-file and use makefs (8) to create an image-file of the=20
directory (use "-s"-flag to set the size to the same as MINIROOTSIZE in =
step 1).=20
3) use mdsetimage (8) to copy the image-file into the kernel built in =
step 1
/Erik
Boo Geum Jung wrote:
>2M seems to be insufficient to execute standalone on RAM, I don't know =
the=20
>exact resean now.=20
>So I'd like to extent the size of floppyinstfs from 2M to 8M.=20
>What should I change?=20
>Should I change disktab?=20
>=20
>floppyinstfs|NetBSD floppy install filesystem:\=20
> :ty=3Dfloppy:se#512:nt#1:rm#300:ns#64:nc#64:\=20
> :pa#4096:oa#0:ba#4096:fa#512:ta=3D4.2BSD:\=20
> :pc#4096:oc#0:=20
>=20
>=20
>
------_=_NextPart_001_01C1CDD2.AF74FAF0
Content-Type: text/html;
charset="euc-kr"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Deuc-kr">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Re: floppyinstfs size</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Thank you for your reply.</FONT>
<BR><FONT SIZE=3D2>I'm trying to make a "standalone" =
kernel.</FONT>
<BR><FONT SIZE=3D2>I used sys/arch/sandpoint/conf/RAMDISK and =
distrib/sandpoint/floppys/ramdisk/ramdisk.fs.</FONT>
<BR><FONT SIZE=3D2>But it didn't live "standalone".</FONT>
<BR><FONT SIZE=3D2>It just ask (I)nstall, (S)hell, (H)alt?</FONT>
<BR><FONT SIZE=3D2>So, I 'm wondering it needs to setup all tgz fles =
(base,tgz and etc.tgz), it almost 80M bytes, not 8M byte.</FONT>
<BR><FONT SIZE=3D2>What is missing on distrib/sandpoint?</FONT>
<BR><FONT SIZE=3D2>Or what I should add some lines on =
conf/RAMDISK?</FONT>
<BR><FONT SIZE=3D2>2M is sufficient for "standalone" =
image?</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>=BF=F8=BA=BB =B3=BB=BF=EB:</FONT>
</P>
<P><FONT SIZE=3D2>=BA=B8=B3=BD=BB=E7=B6=F7: Erik =
Anggard[erik.anggard@packetfront.com]</FONT>
<BR><FONT SIZE=3D2>=B9=DE=B4=C2=BB=E7=B6=F7: Boo Geum Jung</FONT>
<BR><FONT SIZE=3D2>=C2=FC=C1=B6:port-sandpoint@netbsd.org</FONT>
<BR><FONT SIZE=3D2>=C1=A6=B8=F1: Re: floppyinstfs size</FONT>
<BR><FONT SIZE=3D2>=B9=DE=C0=BA=B3=AF=C2=A5: 2002/03/17 =C0=CF =
04:16</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Are you trying to make an installation floppy disk or =
just a </FONT>
<BR><FONT SIZE=3D2>"standalone" kernel? We use the following =
process to build "standalone" </FONT>
<BR><FONT SIZE=3D2>kernels:</FONT>
<BR><FONT SIZE=3D2>1) configure and compile a kernel with options =
MEMORY_DISK_HOOKS, </FONT>
<BR><FONT SIZE=3D2>MEMORY_DISK_IS_ROOT and MINIROOTSIZE (and optionaly =
</FONT>
<BR><FONT SIZE=3D2>MEMORY_DISK_SERVER=3D0), see =
src/sys/arch/sandpoint/conf/RAMDISK </FONT>
<BR><FONT SIZE=3D2>2) set up a directory to contain the files for the =
ramdisk and possibly </FONT>
<BR><FONT SIZE=3D2>an mtree-file and use makefs (8) to create an =
image-file of the </FONT>
<BR><FONT SIZE=3D2>directory (use "-s"-flag to set the size =
to the same as MINIROOTSIZE in </FONT>
<BR><FONT SIZE=3D2>step 1). </FONT>
<BR><FONT SIZE=3D2>3) use mdsetimage (8) to copy the image-file into =
the kernel built in step 1</FONT>
<BR><FONT SIZE=3D2>/Erik</FONT>
<BR><FONT SIZE=3D2>Boo Geum Jung wrote:</FONT>
<BR><FONT SIZE=3D2>>2M seems to be insufficient to execute =
standalone on RAM, I don't know the </FONT>
<BR><FONT SIZE=3D2>>exact resean now. </FONT>
<BR><FONT SIZE=3D2>>So I'd like to extent the size of floppyinstfs =
from 2M to 8M. </FONT>
<BR><FONT SIZE=3D2>>What should I change? </FONT>
<BR><FONT SIZE=3D2>>Should I change disktab? </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>>floppyinstfs|NetBSD floppy install filesystem:\ =
</FONT>
<BR><FONT SIZE=3D2>> =
:ty=3Dfloppy:se#512:nt#1:rm#300:ns#64:nc#64:\ =
</FONT>
<BR><FONT SIZE=3D2>> =
:pa#4096:oa#0:ba#4096:fa#512:ta=3D4.2BSD:\ </FONT>
<BR><FONT SIZE=3D2>> =
:pc#4096:oc#0: </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>></FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C1CDD2.AF74FAF0--