Date: Thu, 19 Jun 2008 11:14:32 +0200 From: Ed Schouten <ed@80386.nl> To: Matthias Apitz <matthias.apitz@oclc.org> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: moving FreeBSD installation disk1 to an USB stick Message-ID: <20080619091432.GG93496@hoeg.nl> In-Reply-To: <20080619082740.GA3700@rebelion.Sisis.de> References: <20080619082740.GA3700@rebelion.Sisis.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--cyV/sMl4KAhiehtf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Matthias, * Matthias Apitz <guru@unixarea.de> wrote: >=20 > Hello, >=20 > I'm preparing the installation of FreeBSD 7.0 on an Asus eeePC which has > no CD/DVD drive for the installation (and I have no external CD driver > with USB): > http://www.laptoppen.nl/product-260-Asus-EEE-PC-900-Zwart.html >=20 > My idea is to 'copy' somehow the FreeBSD 7.0 installation disk1 to an > USB stick of 1 GByte; there is some kind of recipe how to put a boot-able > system onto such an USB stick, like; > http://groups.google.com/group/lucky.freebsd.questions/msg/5c759b1c87376b= 22 > but this is not what I want; I want to boot the stick (of course) and > run the 'sysinstall' having the complete disk1 on the stick; >=20 > maybe it is an option making only the file system on the stick and the > boot sector and fill in a dump of the file system of disk1, with some > minor changes that after booting it uses the USB as CD device? >=20 > any other ideas? You could consider installing FreeBSD by hand. Just make sure you get a bootable FreeBSD system on that USB stick and do this: bsdlabel -w -B /dev/ad0 # assuming ad0 is the eeepc flash # just do bsdlabel -e /dev/ad0 if you want to add multiple slices for i in a d e f g ... # any partitions you have do newfs -U -O 2 /dev/ad0$i done =09 # mount all your partitions in /new mkdir /new mount /dev/ad0a /new mkdir /new/var mount /dev/ad0d /var # make sure you have the `base' and `kernels' directories on # your USB stick and do this: cd /X.Y-RELEASE/base DESTDIR=3D/new sh install.sh cd ../kernels DESTDIR=3D/new sh install.sh generic mv /boot/GENERIC/* /boot/kernel/ # create a /etc/fstab file vi /etc/fstab Good luck! --=20 Ed Schouten <ed@80386.nl> WWW: http://80386.nl/ --cyV/sMl4KAhiehtf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkhaI3gACgkQ52SDGA2eCwXU0gCfQG2T3W/4Ae0X3xajntKLHgwh rMkAn2O4BVvEXPLvw328BTkp/w2aBep3 =d+Pk -----END PGP SIGNATURE----- --cyV/sMl4KAhiehtf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080619091432.GG93496>