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 A434913877A for ; Tue, 2 Sep 2014 11:20:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FF9CE09D8; Tue, 2 Sep 2014 11:20:04 +0000 (UTC) Received: from smtpq2.tb.mail.iss.as9143.net (smtpq2.tb.mail.iss.as9143.net [212.54.42.165]) by pigeon.gentoo.org (Postfix) with ESMTP id 4D963E08E1 for ; Tue, 2 Sep 2014 11:20:03 +0000 (UTC) Received: from [212.54.42.136] (helo=smtp5.tb.mail.iss.as9143.net) by smtpq2.tb.mail.iss.as9143.net with esmtp (Exim 4.76) (envelope-from ) id 1XOm82-00063R-D7 for gentoo-user@lists.gentoo.org; Tue, 02 Sep 2014 13:20:02 +0200 Received: from 53579160.cm-6-8c.dynamic.ziggo.nl ([83.87.145.96] helo=data.antarean.org) by smtp5.tb.mail.iss.as9143.net with esmtp (Exim 4.76) (envelope-from ) id 1XOm81-000252-Db for gentoo-user@lists.gentoo.org; Tue, 02 Sep 2014 13:20:02 +0200 Received: from andromeda.localnet (unknown [62.41.73.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by data.antarean.org (Postfix) with ESMTPSA id AEA904B for ; Tue, 2 Sep 2014 13:20:00 +0200 (CEST) From: "J. Roeleveld" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] making bootable USB Date: Tue, 02 Sep 2014 13:20:01 +0200 Message-ID: <2887414.UQnf8Sk3DQ@andromeda> Organization: Antarean User-Agent: KMail/4.12.5 (Linux/3.14.14-gentoo; KDE/4.12.5; x86_64; ; ) In-Reply-To: <20140901160043.GE15640@syscon7> References: <20140830053737.GA5867@syscon2> <1984621.EcnsxNjCF1@andromeda> <20140901160043.GE15640@syscon7> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Ziggo-spambar: ---- X-Ziggo-spamscore: -4.8 X-Ziggo-spamreport: ALL_TRUSTED=-1,BAYES_00=-1.9,PROLO_TRUST_RDNS=-3,RDNS_DYNAMIC=0.982,TW_KF=0.077,TW_MK=0.077 X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No X-Archives-Salt: fd651a58-dd6a-4d34-bd41-387e4153fcea X-Archives-Hash: 5a90fb8c049edac6b2261f6047e6e23f On Monday, September 01, 2014 10:00:43 AM Joseph wrote: > 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 The script sysresccd uses runs: mkfs.vfat -F 32 /dev/..... > >> >> 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 Sysresccd uses a tool called "install-mbr", does anyone know what this actually does? > >> >> 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" Please try to mount using the commandline, just in case XFCE adds some additional options causing issues during the "Mount Volume" step. > > > > > >> >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. Best thing to do: Check that that script actually does and figure out which step(s) are missing/wrong in the Gentoo instruction. -- Joost