From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OyLOn-0000LV-F2 for garchives@archives.gentoo.org; Wed, 22 Sep 2010 09:13:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4AFE6E0785; Wed, 22 Sep 2010 09:13:07 +0000 (UTC) Received: from mail-pv0-f181.google.com (mail-pv0-f181.google.com [74.125.83.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 1A805E0785 for ; Wed, 22 Sep 2010 09:13:07 +0000 (UTC) Received: by pvg16 with SMTP id 16so151598pvg.40 for ; Wed, 22 Sep 2010 02:13:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=ED+eBZUjtcYcytu0/0ljB4+O1wPfpdbY1ZCk+jHygT8=; b=YZPEqI5sMfUphD2eW8SzvN3VwFq9xWnJNjHXg7P7O7T5pbfc32B0lLTuuX5CzTGxz6 0324I/ir0ll/QHaTvE7IIq9r0QYrG0slqDEBWr9+H0NQZbpzH/gX1XuxqKNYl+wiU4e9 d8jhBMwCn8li1H8PikzzlG4zeI6HFcPf24jO8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=OYwECx6FgrDgHne8ApjTfVM6g04vDolaif54NuWloi125/Zlf+i2G4ODR7nkjt3M2a D//VgOveEUu5yaNwjgvmrdsBm5Nlawe2mH3FRKos/s0FIH6Lm9pe6JNZZXGeVxdCgeXb WYdoIzMpGk1hfY6UezZSh5eVGv2JcObQUEpIo= Received: by 10.114.92.3 with SMTP id p3mr13422184wab.77.1285146786069; Wed, 22 Sep 2010 02:13:06 -0700 (PDT) Received: from [192.168.32.2] (110-174-198-154.static.tpgi.com.au [110.174.198.154]) by mx.google.com with ESMTPS id c10sm17211090wam.13.2010.09.22.02.13.03 (version=SSLv3 cipher=RC4-MD5); Wed, 22 Sep 2010 02:13:05 -0700 (PDT) Message-ID: <4C99C89D.6060707@gmail.com> Date: Wed, 22 Sep 2010 19:13:01 +1000 From: Jake Moe User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100911 Lightning/1.0b3pre Thunderbird/3.1.3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Booting Gentoo from USB stick References: <4C89BD8B.4020306@gmail.com> <201009210926.35850.joost@antarean.org> <4C9987E2.60709@gmail.com> <201009220916.45517.joost@antarean.org> In-Reply-To: <201009220916.45517.joost@antarean.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 692c9beb-5bec-43f7-a3c0-3a139b81694d X-Archives-Hash: f61c9f843da3189dc0158e90ea98ed0d On 09/22/10 17:16, J. Roeleveld wrote: > On Wednesday 22 September 2010 06:36:50 Jake Moe wrote: > > > >> Well, now that I've managed to get it booting, the only problem is that >> I can't seem to get the disk label working right. In GRUB's menu.lst, >> if I use root=LABEL=UsbRoot, it doesn't work (kernel panic, label not >> found, but sda1 is listed as available), but if I use root=/dev/sda1, it >> works. However, later in the boot process, it mounts / using >> LABEL=UsbRoot in fstab just fine. Is that a problem with GRUB? Or the >> kernel? Or am I doing something else wrong? > I think someone mentioned earlier in this thread that "label" support for boot > requires an initrd (ramdisk) to work. This could be what you're running into? Quite possibly. I seem to be reading the same thing, but I thought I had heard from the list previously that it was possible. Actually, I've just found the e-mail I was thinking of before: Alan McKinnon's reply on 08/31/10 02:32 with the subject "Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers" in which he said that he's always used labels and never needed an initramfs to make it work. So I might have to fiddle with it some more and see if I can't get it working. >> And for future reference, while looking into various things for this, I >> found these in the Gentoo Wiki: >> USB Portable Install - http://en.gentoo-wiki.com/wiki/USB_Portable_Install >> Portable USB Gentoo - http://en.gentoo-wiki.com/wiki/Portable_USB_Gentoo >> >> Unfortunately, both use genkernel instead of manually configured >> kernels, so that part doesn't help, but one mentions the option >> "scandelay=2" to add to the kernel boot line in GRUB to introduce the >> delay genkernel needed to see the USB device; would have been good to >> know that last week when I was trying genkernel. :-P > That is something I noticed for a few Howto's, genkernel is used quite often, > but I actually haven't seen the need for it myself yet. > > But I am glad to hear you managed to get it working. > Did you try trimming down your kernel a bit more to see what the minimum > required is? :) > > -- > Joost > No, I'm still trying to get a basic system up and running. After I booted into it, I tried to install v86d so I could try to get a framebuffer working and have more lines on my screen while I try to trim things down. However, I quickly ran into an "out of space" issue, which I found out was because of inodes, not size. So I had to copy the contents off, re-make the partition with more inodes, and then copy the data back on. Since then, I haven't had a chance to boot it and see how it's going. Hope to tomorrow. Jake Moe