From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LK9oj-0001x2-QH for mharc-grub-devel@gnu.org; Tue, 06 Jan 2009 06:09:49 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LK9oi-0001wp-0y for grub-devel@gnu.org; Tue, 06 Jan 2009 06:09:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LK9og-0001wX-EV for grub-devel@gnu.org; Tue, 06 Jan 2009 06:09:47 -0500 Received: from [199.232.76.173] (port=47978 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LK9og-0001wO-AJ for grub-devel@gnu.org; Tue, 06 Jan 2009 06:09:46 -0500 Received: from mail.gmx.net ([213.165.64.20]:42134) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LK9of-0005uo-Ns for grub-devel@gnu.org; Tue, 06 Jan 2009 06:09:46 -0500 Received: (qmail invoked by alias); 06 Jan 2009 11:09:42 -0000 Received: from S010600087402c6df.vc.shawcable.net (EHLO dragon.dragonsden) [24.84.63.249] by mail.gmx.net (mp012) with SMTP; 06 Jan 2009 12:09:42 +0100 X-Authenticated: #15019713 X-Provags-ID: V01U2FsdGVkX19UNZUczTRUsbM5P7VwxOxEjjGD+0rmoZfPG04NYh Bkil7XfcnhIb+w Message-ID: <49633BF3.8070300@gmx.net> Date: Tue, 06 Jan 2009 03:09:39 -0800 From: Kenneth Andresen User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: grub-devel@gnu.org X-Enigmail-Version: 0.95.2 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms050800030602030807090407" X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: running grub-install / grub-mkconfig from livecd/dvd/usb X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2009 11:09:48 -0000 This is a cryptographically signed message in MIME format. --------------ms050800030602030807090407 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I have finally installed grub2 on a SD memory stick from a persistent LiveUSB, however I ran into several difficulties during the install; the main ones where as follows: 1) Running grub-install and grub-mkconfig from within a persistent liveUSB session cause grub not to find the root device. The "mount" command returns "rootfs on / type rootfs (rw)". For grub-install the work-around is to use the "--root-device" parameter and point it to where the installation is desired, for grub-mkconfig I found no immediate workaround but selected to create my own grub.cfg by hand. It may be smart to add the --root-device parameter to all the commands such as grub-mkconfig that requires figuring the root-device. 2) As from the above, the parameter "--root-device" may cause problems later on(?) In my case I used some time to figure out that --root-device in fact was not the device that was root on the system I was currently running, but the root device I wanted to install to. I am imagining several alternative problems later on where we are using separate root and boot partitions which may be on entirely different devices from each other. Due to the lack of GPT support under Grub legacy, I am frequently having a boot partition on a disk with msdos label but with everything else on the GPT device. 3) The "device.map" file creates links between (hd0) /dev/sda, (hd1) /dev/sdb, (hd2) /dev/sdg and so on. Notice /dev/sdg - this is due to my system having a built-in card reader, and firewire/usb disks are detected after these card reader entries even though they contain no memory sticks. I am experiencing instability in the use of /dev/sda and so on - frequently I find my firewire external disk detected as /dev/sda instead of my internal one. Would it be possible to use something more specific as device.map entries?; such as: (hd0) UUID=xxx-xxxx-xxxxx or (hd1) label=... I would like to use UUID and or label also inside the grub.cfg instead of root (hd0) such as root (UUID=xxx-xxxx-xxxxx) 4) When booting into my new shiny SD memory bootable stick and pressing ctrl-c and typing help, I am presented with a long list of options - I suspect a larger part of the help has scrolled beyond my screen. I tried with "help | more", but that did not result in anything. Is there an easy way to while in grub get the full help listing in a similar way to the intended use of "help | less" pr "help | more"? These where my initial findings from my first setup of grub2 so if there are any tricks I may use such as force the order of /dev/sda ... /dev/sdh to always be the same or something, I would greatly appreciate it! -- Best regards, Kenneth --------------ms050800030602030807090407 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGRzCC AwAwggJpoAMCAQICEEsPMAyXQ/3owCbCJwRBP2cwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDcwMTA3MTUzMVoX DTA5MDcwMTA3MTUzMVowQzEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEgMB4G CSqGSIb3DQEJARYRa2FuZHJlc2VuQGdteC5uZXQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw ggEKAoIBAQCfq2Yg2gAcz9zxOr7HNGoPQn9DdNbfWnvRRkYiaqMfDNbEnC+77P5exHGDWKjs bmkyBKLmlT92DGxf/EZEaoC7/2ShB3GJ+GFbqkpZCk0I2Q5np8zAnJVp6+7tr7JRSR/3bYEL 9OElak4Uj+5Bs2AxL+407XfNuCZw2hZ3MwyTCmDPZhgyWy+LaSsHqO5SSOCjiQBRcJ2fCZpT nQuqV7EtdKTa1hftV6wcjCZiFkUBZI0JpQvxHBGgNFAi1OpPKk5IkkIHy9iiSzPqENcp2+k2 fP4w8HcqaO60ZzYhpVwrmKTtvkpK7tRPtR5pzrOgsNQUBdmF1W2OtIKfuszFPRthAgMBAAGj UjBQMA8GA1UdDwEB/wQFAwMHiIAwEQYJYIZIAYb4QgEBBAQDAgUgMBwGA1UdEQQVMBOBEWth bmRyZXNlbkBnbXgubmV0MAwGA1UdEwEB/wQCMAA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