public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joseph <syscon780@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] making bootable USB
Date: Mon, 1 Sep 2014 10:00:43 -0600	[thread overview]
Message-ID: <20140901160043.GE15640@syscon7> (raw)
In-Reply-To: <1984621.EcnsxNjCF1@andromeda>

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 <syscon780@gmail.com> 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" 


><SNIP>
>
>> >
>> >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


  reply	other threads:[~2014-09-01 16:00 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-30  5:37 [gentoo-user] making bootable USB Joseph
2014-08-30  6:15 ` J. Roeleveld
2014-08-30  6:32   ` Joseph
2014-08-30  7:08     ` J. Roeleveld
2014-08-31 18:06 ` Joseph
2014-09-01  0:55   ` Will Tomlinson
2014-09-01  1:28     ` wraeth
2014-09-01  2:06     ` Joseph
2014-09-01  2:16       ` wraeth
2014-09-01  6:48         ` Joseph
2014-09-01  7:18           ` Alan McKinnon
2014-09-01 15:44             ` Joseph
2014-09-01  8:02           ` Peter Humphrey
2014-09-01 15:45             ` Joseph
2014-09-01  9:46           ` wraeth
2014-09-01  9:32       ` J. Roeleveld
2014-09-01 16:00         ` Joseph [this message]
2014-09-02 11:20           ` J. Roeleveld
2014-09-01  8:51     ` Neil Bothwick
2014-09-01  9:13       ` Mick
2014-09-01 10:12         ` Neil Bothwick
2014-09-01  9:42       ` wraeth
2014-09-01  9:58         ` Neil Bothwick
2014-09-01 16:29         ` Joseph
2014-09-01 16:38           ` Christopher Jones
2014-09-01 16:41             ` Christopher Jones
2014-09-01 19:12               ` Joseph
2014-09-01 20:05                 ` Neil Bothwick
2014-09-01 18:53             ` Christian Kruse
2014-09-01 19:50               ` Will Tomlinson
2014-09-01 23:42                 ` Joseph
2014-09-02  0:08                   ` Neil Bothwick
2014-09-02  0:26                     ` Joseph
2014-09-02  5:36                       ` Mick
2014-09-02  5:55                         ` Joseph
2014-09-02  6:23                           ` Dale
2014-09-02  7:21                             ` Christian Kruse
2014-09-02  7:35                             ` Neil Bothwick
2014-09-02  8:00                               ` Dale
2014-09-02  9:56                                 ` Mick
2014-09-02 10:16                                   ` Dale
2014-09-02 13:10                                   ` Joseph
2014-09-02 13:26                                     ` Neil Bothwick
2014-09-02  9:38                                       ` Alec Ten Harmsel
2014-09-02 13:38                                     ` thegeezer
2014-09-02 14:10                                       ` Joseph
2014-09-02 14:40                                         ` Peter Humphrey
2014-09-02 14:42                                         ` Neil Bothwick
2014-09-02 16:16                                         ` thegeezer
2014-09-02 22:32                                         ` Frank Steinmetzger
2014-09-02 14:46                                     ` Alan McKinnon
2014-09-02 16:50                                       ` Joseph
2014-09-02 17:21                                         ` Neil Bothwick
2014-09-02 18:12                                           ` Joseph
2014-09-02 21:09                                             ` Neil Bothwick
2014-09-02 18:17                                         ` J. Roeleveld
2014-09-02 21:55                                         ` Walter Dnes
2014-09-02 12:29                           ` Matti Nykyri
2014-09-01 20:13               ` Neil Bothwick
2014-09-01 21:58                 ` Alan McKinnon
2014-09-01 22:03                   ` Neil Bothwick
2014-09-01 22:14                     ` Mick
2014-09-02 22:27                       ` Frank Steinmetzger
2014-09-02 22:43                         ` Neil Bothwick
2014-09-02 22:49                         ` Dale
2014-09-01 23:51                     ` Joseph
2014-09-02  0:09                       ` Neil Bothwick
2014-09-02  0:29                         ` Joseph
2014-09-02  0:36                           ` wraeth
2014-09-02  9:48                 ` Christian Kruse
2014-09-01 20:05           ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140901160043.GE15640@syscon7 \
    --to=syscon780@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox