From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D7E231393DD for ; Mon, 1 Sep 2014 16:00:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 02436E08A0; Mon, 1 Sep 2014 16:00:26 +0000 (UTC) Received: from mail142c7.megamailservers.com (mail111c7-2520.megamailservers.com [69.49.98.21]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A9CF5E0784 for ; Mon, 1 Sep 2014 16:00:24 +0000 (UTC) X-POP-User: admin@sys-concept.com X-VIP: 69.49.109.100 Received: from syscon7.localdomain (S01060050da7ae68c.ed.shawcable.net [68.149.90.13]) by mail142c7.megamailservers.com (8.13.6/8.13.1) with ESMTP id s81G0G63020173 for ; Mon, 1 Sep 2014 12:00:17 -0400 Received: by syscon7.localdomain (Postfix, from userid 1000) id 74E8620027E; Mon, 1 Sep 2014 10:00:43 -0600 (MDT) Date: Mon, 1 Sep 2014 10:00:43 -0600 From: Joseph To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] making bootable USB Message-ID: <20140901160043.GE15640@syscon7> References: <20140830053737.GA5867@syscon2> <20140831205527.4ea565c2@joel.rcfcuxp.local> <20140901020646.GA15640@syscon7> <1984621.EcnsxNjCF1@andromeda> 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 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline In-Reply-To: <1984621.EcnsxNjCF1@andromeda> User-Agent: Mutt/1.5.22 (2013-10-16) X-CTCH-RefID: str=0001.0A020203.54049817.00DB,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.1 cv=aZZYw3Yt c=1 sm=1 tr=0 a=C3ZDv51cNVt4vJz/79I2xQ==:117 a=C3ZDv51cNVt4vJz/79I2xQ==:17 a=SDcUNfBxAAAA:8 a=BDKbP5mgAAAA:8 a=Unq3plm5DvEA:10 a=M1kyBYkWWGkA:10 a=SuFnMd4Av3cA:10 a=-sCtj0qjysgA:10 a=nDghuxUhq_wA:10 a=8nJEP1OIZ-IA:10 a=pGLkceISAAAA:8 a=99uRGae3AAAA:8 a=6BUsvCsmB7UtyCuupi4A:9 a=wPNLvfGTeEIA:10 a=AWvPMun6NoIA:10 a=MSl-tDqOz04A:10 X-Archives-Salt: cdaef059-54c8-4dec-adcd-8731257c7d5c X-Archives-Hash: fb4ebd464719d0c10a4d94d2073492cf On 09/01/14 11:32, J. Roeleveld wrote: >On Sunday, August 31, 2014 08:06:46 PM Joseph wrote: >> On 08/31/14 20:55, Will Tomlinson wrote: >> >On Sun, 31 Aug 2014 12:06:49 -0600 >> > >> >Joseph wrote: >> >> I've re-run the setup but it still doesn't work. >> >> >> >> df -h >> >> /dev/sda1 3.8G 190M 3.6G 5% /run/media/joseph/4GB_ysa >> >> >> >> /dev/sda1 * 2048 7864319 3931136 b W95 FAT32 > >Which command did you use to create the filesystem? I used to format usb stick flash drive - bootable create partition if it doesn't exist # fdisk /dev/sda n p 1 enter, enter t b w q format it for 1GB # mkfs -t vfat /dev/sda1 format it for 4GB # mkfs -t vfat -F 32 /dev/sda1 >> >> while usb not mounted: >> >> >> >> dd if=/usr/share/syslinux/mbr.bin of=/dev/sda >> >> 0+1 records in >> >> 0+1 records out >> >> 440 bytes (440 B) copied, 0.00121707 s, 362 kB/s >> >> >> >> While usb mounted: > >Which command do you use to mount? To mount USB I use from my desktop XFCE icon drop down menu after icon showed up "Mount Volume" > > >> > >> >Joseph, I am assuming you are trying to create an install disk? If so, >> >you shouldn't have to do all these steps. I normally just download the >> >minimal install ISO and write it to a USB drive with the following >> >commands: >> > >> ># dd if=/path/to/minimal-install.iso of=/path/to/usb-drive bs=4096 >> ># sync >> > >> >You don't have to mount the USB drive. Use sync to ensure that all the >> >data has actually been written to the device before you remove it. >> > >> >I have run across problems with some ISO files that don't play nice >> >with this method, but this one seems to work well with the Gentoo >> >minimal CD. Also, keep in mind that you don't really need to have the >> >Gentoo install disc to install Gentoo. It's certainly EASIER to follow >> >the handbook when you have the minimal install disc, but just about any >> >Linux live CD will work as long as the architecture matches (chroot >> >from x86 to amd64, for example, will not work). Anyway, if this is not >> >what you are trying to do, maybe you can give us more details. >> >> I run it on 1MB USB stick, it did not work: >> dd if=/path/to/minimal-install.iso of=/path/to/usb-drive bs=4096 >> sync >> >> I think the "dd" will work with LiveDVD but not liveCD. > >Why not use unetbootin? > >-- >Joost I used LiveCD (SystemRescueCD) http://blog.kasunbg.org/2012/02/installing-gentoo-from-livecd.html mounted with "loop" mount -o loop,ro -t iso9660 /home/joseph/Downloads/systemrescuecd-x86-4.3.0.iso /mnt/cdrom/ cd /tmp/cdrom bash ./usb_inst.sh and their scrip made the bootable USB just fine, it works. But it bugs me that Gentoo instruction didn't work. -- Joseph