Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jul 2010 11:10:36 -0700
From:      Randi Harper <randi@freebsd.org>
To:        Sean Bruno <seanbru@yahoo-inc.com>
Cc:        "freebsd-sysinstall@freebsd.org" <freebsd-sysinstall@freebsd.org>
Subject:   Re: Silly Sysinstall Tricks, redux
Message-ID:  <AANLkTilI41c0ki03MPHHpyXtGt5eTSepYELDWHg-Lt1F@mail.gmail.com>
In-Reply-To: <1278694522.2436.22.camel@localhost.localdomain>
References:  <1278694522.2436.22.camel@localhost.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 9, 2010 at 9:55 AM, Sean Bruno <seanbru@yahoo-inc.com> wrote:
> Karsten asked for a "proper bug report" so I'll try to comply.
>
> Setup:
> =A0 =A0 =A0 =A0Partition a USB stick into 3 seperate partitions
> =A0 =A0 =A0 =A0-- Part 1: VFAT, 128MB, Grub boot loader and related files
> =A0 =A0 =A0 =A0-- Part 2: Empty partition, 1.2GB, no F/S
> =A0 =A0 =A0 =A0-- Part 3: Empty partition, 1.2GB, no F/S
>
> =A0 =A0 =A0 =A0Download the latest i386 and amd64 USB install images:
> ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/201006/FreeBSD-9.0-CURRENT-20=
1006-amd64-memstick.img
> ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/201006/FreeBSD-9.0-CURRENT-20=
1006-i386-memstick.img
>
> =A0 =A0 =A0 =A0I'm using 201006 for now as July hasn't appeared.
>
> =A0 =A0 =A0 =A0dd the downloaded images to each of your empty partions as=
 per common
> instructions:
> =A0 =A0 =A0 =A0dd if=3DFreeBSD-9.0-CURRENT-201006-amd64-memstick.img of=
=3D/dev/da0s2
> bs=3D10240 conv=3Dsync
> =A0 =A0 =A0 =A0dd if=3DFreeBSD-9.0-CURRENT-201006-i386-memstick.img of=3D=
/dev/da0s3
> bs=3D10240 conv=3Dsync
>
> =A0 =A0 =A0 =A0Setup your grub configuration to boot off of these images:
> =A0 =A0 =A0 =A0e.g.
> =A0 =A0 =A0 =A0title FreeBSD-CURRENT-i386
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0root (hd0,1)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0chainloader +1
> =A0 =A0 =A0 =A0title FreeBSD-CURRENT-amd64
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0root (hd0,2)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0chainloader +1
>
> =A0 =A0 =A0 =A0Boot new system off of USB stick, at this point the system=
 will boot
> normally and come up into the sysinstall menu. =A0I can configure drives,
> select packages and things seem to work fine until the I get to the
> "select media from which to install" section where I can chose CD/DVD,
> FTP, HTTP, USB etc.
>
> =A0 =A0 =A0 =A0Selecting USB install fails to find any media. =A0Hence I =
*ass*ume that
> sysinstall doesn't understand that the media can have more than one
> partition and that I might want to use something other than da0s1 to use
> as my source of packages.
>
>
> =A0 =A0 =A0 =A0Clear? =A0Confusing? =A0Nonsense? =A0:-)
>
> Sean
>

So, the way I did the USB stuff was a dirty, dirty hack. It looks for
da0a (or c, i can't recall). Eventually, this is going away. But the
jist of it is that you have to dd the memstick to da0, not a slice. :(

Someday (soon, hopefully) we'll be using labels for install media.

-- randi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTilI41c0ki03MPHHpyXtGt5eTSepYELDWHg-Lt1F>