home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] usb boot fails

Filesystem needs to be fat32 or fat16. I just mention this because someone said NTFS.

Fedora has a web page listing several ways of loading the flash key, all much more automated than gparted.
Cheers -- Rick

On January 7, 2016 8:57:35 AM EST, linux-request [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca wrote:
>Send Linux mailing list submissions to
>	linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://oclug.on.ca/mailman/listinfo/linux
>or, via email, send a message with subject or body 'help' to
>	linux-request [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
>
>You can reach the person managing the list at
>	linux-owner [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Linux digest..."
>
>
>Today's Topics:
>
>   1. how to format a USB drive for windows to get at an ISO	image?
>      (Robert P. J. Day)
>   2. Re: how to format a USB drive for windows to get at an ISO
>      image? (Shawn H Corey)
>   3. Re: how to format a USB drive for windows to get at an ISO
>      image? (Robert P. J. Day)
>   4. Re: how to format a USB drive for windows to get at an ISO
>      image? (James)
>   5. Re: how to format a USB drive for windows to get at an ISO
>      image? (Robert P. J. Day)
>   6. Re: how to format a USB drive for windows to get at an ISO
>      image? (ProfJCNash)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Wed, 6 Jan 2016 16:39:20 -0500 (EST)
>From: "Robert P. J. Day" <rpjday [ at ] crashcourse [ dot ] ca>
>To: Ottawa Linux Users Group <linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca>
>Subject: [OCLUG-Tech] how to format a USB drive for windows to get at
>	an ISO	image?
>Message-ID: <alpine.LFD.2.20.1601061634250.7005@localhost>
>Content-Type: text/plain; charset=US-ASCII
>
>
>  i'm feeling like an idiot right now so i'm just going to ask ... i
>have a bunch of 8G USB drives that i want to format to contain an ISO
>image of RHEL 7 for a class tomorrow where students will plug in the
>drive into a windows box, then install RHEL 7 in either vmware player
>or virtualbox. sounds simple, right?
>
>  so what is the recipe for formatting the USB drives properly?
>
>  i'm doing this on fedora 22, and i obviously want the combination of
>fdisk and mkfs that lets me format, pop out the USB drive, then plug
>it back in and have it automount, just as a sanity check.
>
>  i've tried various combinations of fdisk partition types and mkfs,
>and i have yet to get to the point where, after running something
>like mkfs.vfat, i can remove the drive, then plug it back in and have
>it recognized.
>
>  so what's the secret? first, in fdisk, what partition type should i
>set the partition to? and once i do that, write and quit, which
>variation of "mkfs" should i run?
>
>  this really shouldn't be that hard, but i just can't make it work.
>
>rday
>
>-- 
>
>========================================================================
>Robert P. J. Day                                 Ottawa, Ontario,
>CANADA
>                        http://crashcourse.ca
>
>Twitter:                                      
>http://twitter.com/rpjday
>LinkedIn:                              
>http://ca.linkedin.com/in/rpjday
>========================================================================
>
>
>
>
>------------------------------
>
>Message: 2
>Date: Wed, 6 Jan 2016 17:01:12 -0500
>From: Shawn H Corey <shawnhcorey [ at ] gmail [ dot ] com>
>To: linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
>Subject: Re: [OCLUG-Tech] how to format a USB drive for windows to get
>	at an ISO image?
>Message-ID: <20160106170112.18e0d33c@sage>
>Content-Type: text/plain; charset=US-ASCII
>
>On Wed, 6 Jan 2016 16:39:20 -0500 (EST)
>"Robert P. J. Day" <rpjday [ at ] crashcourse [ dot ] ca> wrote:
>
>>   so what's the secret? 
>
>Usually, I use `gparted`. It's a graphical disk partitioner and
>formatter. Downloadable as a package in most distros.
>
>http://gparted.org/
>
>
>-- 
>Don't stop where the ink does.
>	Shawn
>
>
>------------------------------
>
>Message: 3
>Date: Wed, 6 Jan 2016 17:06:16 -0500 (EST)
>From: "Robert P. J. Day" <rpjday [ at ] crashcourse [ dot ] ca>
>To: Shawn H Corey <shawnhcorey [ at ] gmail [ dot ] com>
>Cc: linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
>Subject: Re: [OCLUG-Tech] how to format a USB drive for windows to get
>	at an ISO image?
>Message-ID: <alpine.LFD.2.20.1601061703090.5735@localhost>
>Content-Type: text/plain; charset=US-ASCII
>
>On Wed, 6 Jan 2016, Shawn H Corey wrote:
>
>> On Wed, 6 Jan 2016 16:39:20 -0500 (EST)
>> "Robert P. J. Day" <rpjday [ at ] crashcourse [ dot ] ca> wrote:
>>
>> >   so what's the secret?
>>
>> Usually, I use `gparted`. It's a graphical disk partitioner and
>> formatter. Downloadable as a package in most distros.
>>
>> http://gparted.org/
>
>  apparently, there's something more subtle going on. i'm using a
>hand-rolled kernel of my own, using fedora's .config as a starting
>point. and that's the one that's failing mysteriously.
>
>  i reboot to the official fedora kernel, and everything is cool. but
>i have no idea why. all the appropriate loadable modules are there,
>i've configured in support for all MS filesystem types, etc.
>
>  something weird happening here.
>
>rday
>
>-- 
>
>========================================================================
>Robert P. J. Day                                 Ottawa, Ontario,
>CANADA
>                        http://crashcourse.ca
>
>Twitter:                                      
>http://twitter.com/rpjday
>LinkedIn:                              
>http://ca.linkedin.com/in/rpjday
>========================================================================
>
>
>
>------------------------------
>
>Message: 4
>Date: Wed, 6 Jan 2016 22:21:14 -0500
>From: James <bjlockie [ at ] lockie [ dot ] ca>
>To: linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
>Subject: Re: [OCLUG-Tech] how to format a USB drive for windows to get
>	at an ISO image?
>Message-ID: <568DD9AA [ dot ] 90500 [ at ] lockie [ dot ] ca>
>Content-Type: text/plain; charset=windows-1252; format=flowed
>
>
>
>On 2016-01-06 05:06 PM, Robert P. J. Day wrote:
>> On Wed, 6 Jan 2016, Shawn H Corey wrote:
>>
>>> On Wed, 6 Jan 2016 16:39:20 -0500 (EST)
>>> "Robert P. J. Day" <rpjday [ at ] crashcourse [ dot ] ca> wrote:
>>>
>>>>    so what's the secret?
>>> Usually, I use `gparted`. It's a graphical disk partitioner and
>>> formatter. Downloadable as a package in most distros.
>>>
>>> http://gparted.org/
>>    apparently, there's something more subtle going on. i'm using a
>> hand-rolled kernel of my own, using fedora's .config as a starting
>> point. and that's the one that's failing mysteriously.
>>
>>    i reboot to the official fedora kernel, and everything is cool.
>but
>> i have no idea why. all the appropriate loadable modules are there,
>> i've configured in support for all MS filesystem types, etc.
>>
>>    something weird happening here.
>>
>> rday
>What is the error?
>So it boots if you put the official kernel on the USB?
>Maybe you have something as a module that needs to be compiled in.
>
>
>
>------------------------------
>
>Message: 5
>Date: Thu, 7 Jan 2016 04:38:14 -0500 (EST)
>From: "Robert P. J. Day" <rpjday [ at ] crashcourse [ dot ] ca>
>To: James <bjlockie [ at ] lockie [ dot ] ca>
>Cc: linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
>Subject: Re: [OCLUG-Tech] how to format a USB drive for windows to get
>	at an ISO image?
>Message-ID: <alpine.LFD.2.20.1601070435300.18626@localhost>
>Content-Type: text/plain; charset=US-ASCII
>
>On Wed, 6 Jan 2016, James wrote:
>
>>
>>
>> On 2016-01-06 05:06 PM, Robert P. J. Day wrote:
>> > On Wed, 6 Jan 2016, Shawn H Corey wrote:
>> >
>> > > On Wed, 6 Jan 2016 16:39:20 -0500 (EST)
>> > > "Robert P. J. Day" <rpjday [ at ] crashcourse [ dot ] ca> wrote:
>> > >
>> > > >    so what's the secret?
>> > > Usually, I use `gparted`. It's a graphical disk partitioner and
>> > > formatter. Downloadable as a package in most distros.
>> > >
>> > > http://gparted.org/
>> >    apparently, there's something more subtle going on. i'm using a
>> > hand-rolled kernel of my own, using fedora's .config as a starting
>> > point. and that's the one that's failing mysteriously.
>> >
>> >    i reboot to the official fedora kernel, and everything is cool.
>but
>> > i have no idea why. all the appropriate loadable modules are there,
>> > i've configured in support for all MS filesystem types, etc.
>> >
>> >    something weird happening here.
>> >
>> > rday
>
>> What is the error?
>> So it boots if you put the official kernel on the USB?
>> Maybe you have something as a module that needs to be compiled in.
>
>  the failure is simply a failure to automount the NTFS filesystem on
>the USB drive on insertion. i configured and built my new kernel based
>off of the standard RH kernel and config file, and i tried as much as
>possible to incorporate every feature and loadable module in the
>original, but auto-mounting under the new kernel doesn't work.
>
>  if i return to the official RH fedora kernel, no problem. i *seem*
>to have all the proper modules selected and built and ready to go.
>it's just a little puzzling and i'm going to keep poking around.
>
>rday
>
>-- 
>
>========================================================================
>Robert P. J. Day                                 Ottawa, Ontario,
>CANADA
>                        http://crashcourse.ca
>
>Twitter:                                      
>http://twitter.com/rpjday
>LinkedIn:                              
>http://ca.linkedin.com/in/rpjday
>========================================================================
>
>
>
>------------------------------
>
>Message: 6
>Date: Thu, 7 Jan 2016 08:57:25 -0500
>From: ProfJCNash <profjcnash [ at ] gmail [ dot ] com>
>To: linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
>Subject: Re: [OCLUG-Tech] how to format a USB drive for windows to get
>	at an ISO image?
>Message-ID: <568E6EC5 [ dot ] 9090208 [ at ] gmail [ dot ] com>
>Content-Type: text/plain; charset=windows-1252
>
>Is this possibly a change in the NTFS structure that Microsoft doesn't
>document? Though Robert suggests the drive works under an older kernel
>which would suggest otherwise.
>
>I know I've experienced a corrupted USB disk that was NTFS format. Had
>to fire up a very stale Win7 to run the checkdisk and fix. Then I saved
>the data and reformatted to ext4.
>
>NTFS seems to be a continuing irritant to Linux.
>
>Cheers, JN
>
>
>On 16-01-07 04:38 AM, Robert P. J. Day wrote:
>> On Wed, 6 Jan 2016, James wrote:
>> 
>>>
>>>
>>> On 2016-01-06 05:06 PM, Robert P. J. Day wrote:
>>>> On Wed, 6 Jan 2016, Shawn H Corey wrote:
>>>>
>>>>> On Wed, 6 Jan 2016 16:39:20 -0500 (EST)
>>>>> "Robert P. J. Day" <rpjday [ at ] crashcourse [ dot ] ca> wrote:
>>>>>
>>>>>>    so what's the secret?
>>>>> Usually, I use `gparted`. It's a graphical disk partitioner and
>>>>> formatter. Downloadable as a package in most distros.
>>>>>
>>>>> http://gparted.org/
>>>>    apparently, there's something more subtle going on. i'm using a
>>>> hand-rolled kernel of my own, using fedora's .config as a starting
>>>> point. and that's the one that's failing mysteriously.
>>>>
>>>>    i reboot to the official fedora kernel, and everything is cool.
>but
>>>> i have no idea why. all the appropriate loadable modules are there,
>>>> i've configured in support for all MS filesystem types, etc.
>>>>
>>>>    something weird happening here.
>>>>
>>>> rday
>> 
>>> What is the error?
>>> So it boots if you put the official kernel on the USB?
>>> Maybe you have something as a module that needs to be compiled in.
>> 
>>   the failure is simply a failure to automount the NTFS filesystem on
>> the USB drive on insertion. i configured and built my new kernel
>based
>> off of the standard RH kernel and config file, and i tried as much as
>> possible to incorporate every feature and loadable module in the
>> original, but auto-mounting under the new kernel doesn't work.
>> 
>>   if i return to the official RH fedora kernel, no problem. i *seem*
>> to have all the proper modules selected and built and ready to go.
>> it's just a little puzzling and i'm going to keep poking around.
>> 
>> rday
>> 
>
>
>------------------------------
>
>Subject: Digest Footer
>
>_______________________________________________
>Linux mailing list
>Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
>http://oclug.on.ca/mailman/listinfo/linux
>
>
>------------------------------
>
>End of Linux Digest, Vol 133, Issue 4
>*************************************

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.