From owner-freebsd-hackers@FreeBSD.ORG Thu May 13 21:21:16 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A0651065675 for ; Thu, 13 May 2010 21:21:16 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0EC638FC1E for ; Thu, 13 May 2010 21:21:15 +0000 (UTC) Received: by fxm17 with SMTP id 17so883820fxm.13 for ; Thu, 13 May 2010 14:21:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:subject :date:x-mailer; bh=BGa5f6iRpUKwRErFk2hOCOlL4J3nawBX/uXlxIbTU4M=; b=eMSsHAD5k7mbIqAikUhZlnaYX7RwPKCIozGG6cq19jWElhv84jLwwOHyuQWFG3lLsy TapFwtWz8JAcMUFEu3ln6ukfM4DRJPkZ142gVlwVtJbRP1SNSXwnXxxWpfIhwQCHr/Ju v0fcyVKKyJsM/VMrgnntFuSZ7h+eTKPi3JWhM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:subject:date:x-mailer; b=QsBm/kSdQ4qDbGhZCUFHY2KW7X6qipvIlq9adLepesuftkfSzO7eVVcZR9ahTQ0Npk a4J4qQKwW/rrqT6vsGsUVjI7R6wNDdKVzplqO3P9/PbQr3ObB5U5cNuNZO6YtLTsgiyL NtqlwtDUW5nRs3k1IvgLRHQEmOrpi5OKQiwwI= Received: by 10.223.40.136 with SMTP id k8mr503017fae.24.1273784023395; Thu, 13 May 2010 13:53:43 -0700 (PDT) Received: from DEV (93-138-126-208.adsl.net.t-com.hr [93.138.126.208]) by mx.google.com with ESMTPS id r25sm7476228fai.11.2010.05.13.13.53.42 (version=SSLv3 cipher=RC4-MD5); Thu, 13 May 2010 13:53:42 -0700 (PDT) Message-ID: <20100513.205343.421.1@DEV> From: rank1seeker@gmail.com To: freebsd-hackers@freebsd.org Date: Thu, 13 May 2010 22:53:43 +0200 X-Mailer: POP Peeper (3.6.0.0) Subject: Custom USB layout & sysinstall (Starting FIXIT) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2010 21:21:16 -0000 So, I downloaded USB stick .img Instead of just writing it with dd, I've mounted and dumped it, as I wanted custom USB stick, layout. To cut it short. Bootable img file appears as ad0s2a instead of ad0a. Once I boot from BIOS->USB stick->slice 2, I enter sysinstall successfully. Now I wana enter into FIXIT, from sysinstall. And I get "No USB devices found!", as well as, at all other parts, of sysinstall, that search for USB device. Other parts of sysinstall, DO list ad4 (my HDD) and da0 (my USB stick) correctly. I think sysinstall has hardcoded command, to mount da0a and doesn't see da0sxa, at all. So how do I do it manually? Emergency Holo Sh is no go. Maybe this part of code is responsible, from file /usr/src/usr.sbin/sysinstall/devices.c: Code: /* * Find all devices that match the criteria, allowing "wildcarding" as well * by allowing NULL or ANY values to match all. The array returned is static * and may be used until the next invocation of deviceFind(). */ Device ** deviceFind(char *name, DeviceType class) { static Device *found[DEV_MAX]; int i, j; j = 0; for (i = 0; i < numDevs; i++) { if ((!name || !strcmp(Devices[i]->name, name)) && (class == DEVICE_TYPE_ANY || class == Devices[i]->type)) found[j++] = Devices[i]; } found[j] = NULL; return j ? found : NULL; } PS: Options --> Rescan Devices, in sysinstall don't work. Could I start fixit, from loader prompt directly, so I wouldn't even have to eneter sysinstall, as I don't need it at all to install FreeBSD?