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 7010813877A for ; Mon, 1 Sep 2014 02:06:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A879BE0AFF; Mon, 1 Sep 2014 02:06:30 +0000 (UTC) Received: from mail144c7.megamailservers.com (mail129c7-2520.megamailservers.com [69.49.98.24]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7597EE0AF1 for ; Mon, 1 Sep 2014 02:06:29 +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 mail144c7.megamailservers.com (8.13.6/8.13.1) with ESMTP id s8126MwV010735 for ; Sun, 31 Aug 2014 22:06:24 -0400 Received: by syscon7.localdomain (Postfix, from userid 1000) id 9E5EC20027C; Sun, 31 Aug 2014 20:06:46 -0600 (MDT) Date: Sun, 31 Aug 2014 20:06:46 -0600 From: Joseph To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] making bootable USB Message-ID: <20140901020646.GA15640@syscon7> References: <20140830053737.GA5867@syscon2> <20140831180648.GA4505@syscon2> <20140831205527.4ea565c2@joel.rcfcuxp.local> 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: <20140831205527.4ea565c2@joel.rcfcuxp.local> User-Agent: Mutt/1.5.22 (2013-10-16) X-CTCH-RefID: str=0001.0A020204.5403D4A4.00AA,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=ZcAkaKlA 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=BRc3R6INN-T8psdOB6IA:9 a=wPNLvfGTeEIA:10 a=MSl-tDqOz04A:10 X-Archives-Salt: 7f1d950e-d67c-49e5-8487-7e3f5784015b X-Archives-Hash: 253918dc1c021575ee8693e07d089ef7 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 >> >> 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: >> >> cp -r /mnt/cdrom/* /run/media/joseph/4GB_ysa >> mv /run/media/joseph/4GB_ysa/isolinux/* /run/media/joseph/4GB_ysa >> mv /run/media/joseph/4GB_ysa/isolinux.cfg /run/media/joseph/4GB_ysa/syslinux.cfg >> rm -rf /run/media/joseph/4GB_ysa/isolinux* >> mv /run/media/joseph/4GB_ysa/memtest86 /run/media/joseph/4GB_ysa/memtest >> sed -i -e "s:cdroot:cdroot slowusb:" -e "s:kernel memtest86:kernel >> memtest:" /run/media/joseph/4GB_ysa/syslinux.cfg >> umount /run/media/joseph/4GB_ysa syslinux /dev/sda1 >> >> Does the "dd if=/usr/share/syslinux/mbr.bin of=/dev/sda" >> has to be run when USB is mounted or unmounted? >> > >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. >-- >Will Tomlinson 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. -- Joseph