Re: [gentoo-user] booting from a usb flash drive

2015-07-18 Thread gottlieb
On Thu, Jul 16 2015, Mike Gilbert wrote:

 On Thu, Jul 16, 2015 at 12:40 PM,  gottl...@nyu.edu wrote:
 I believe I correctly dd'ed a minimal cd onto a usb flash (aka thumb)
 drive.

 I set the boot order on my new system (dell 7450) to have the usb
 storage device first.  Sure enough I get the isolinux prompt and the
 kernel is loaded.

 However after asking for the keymap (I just hit enter)
 it types looking for the cdrom.  There is no cdrom.

 It then tries to mount media /dev/sda[123] (which are dell and windows
 partitions).  When this fails it announces no bootable medium found

 I tried adding the doscsi option, no change.

 What did I do wrong?

 Does your system have USB 3 ports? USB 3 is currently broken on the
 installcd images.

Yes.  My new system is USB 3.
allan



Re: [gentoo-user] booting from a usb flash drive

2015-07-17 Thread Neil Bothwick
On Thu, 16 Jul 2015 21:39:56 -0400, Mike Gilbert wrote:

 Does your system have USB 3 ports? USB 3 is currently broken on the
 installcd images.
 
 https://bugs.gentoo.org/show_bug.cgi?id=554202

The system on which it failed for me has one USB 3 port, but it also
failed in the USB 2 port.


-- 
Neil Bothwick

Engineers do it with less resistance.


pgpDOPHkIjLgR.pgp
Description: OpenPGP digital signature


[gentoo-user] booting from a usb flash drive

2015-07-16 Thread gottlieb
I believe I correctly dd'ed a minimal cd onto a usb flash (aka thumb)
drive.

I set the boot order on my new system (dell 7450) to have the usb
storage device first.  Sure enough I get the isolinux prompt and the
kernel is loaded.

However after asking for the keymap (I just hit enter)
it types looking for the cdrom.  There is no cdrom.

It then tries to mount media /dev/sda[123] (which are dell and windows
partitions).  When this fails it announces no bootable medium found

I tried adding the doscsi option, no change.

What did I do wrong?

thanks in advance,
allan

PS I did buy an external usb cdrom player and can dd the minimal cd to a
blank media.  However, I thought that I can install linux from a usb
stick without a CD at all.




Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread Daniel Frey
On 07/16/2015 01:17 PM, gottl...@nyu.edu wrote:
 The Gentoo minimal CD does not work if you simply dd it to a thumb drive
 (I rediscovered this anew on Monday). It works just fine if you use
 unetbootin to do the magic though.

Is the partition table valid after you used dd to copy it over? If it
isn't, try mounting the livecd. You might find a boot.img or something.
This will vary though depending on the ISO you find.

I ran into this with Crucial's boot disk for flashing (isolinux).

I did

dd bs=4M if=blah.iso of=/dev/sd?
mount /dev/sd? /mnt/gentoo
cp /mnt/gentoo/boot/boot.img ~/
umount /mnt/gentoo
dd bs=4m if=~/boot.img of=/dev/sd?

You'll have to update the device file accordingly.

After I wrote the boot.img found within the ISO I was using, I was able
to boot from the USB.

Your mileage may vary. Sometimes dd works, sometimes it needs extra steps.

Dan





Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread Alan McKinnon
On 16/07/2015 22:17, gottl...@nyu.edu wrote:
 On Thu, Jul 16 2015, Alec Ten Harmsel wrote:
 
 On Jul 16, 2015, at 3:44 PM, Alan McKinnon alan.mckin...@gmail.com wrote:

 The Gentoo minimal CD does not work if you simply dd it to a thumb drive
 (I rediscovered this anew on Monday). It works just fine if you use
 unetbootin to do the magic though.

 I highly recommend using the ArchLinux ISO, which can be burned to a
 flash drive with dd. It doesn’t have the gentoo-specific tools, but
 that’s really the only problem. UNetBootin has always been hit or miss
 for me.

 Alec
 
 Thank you both.  Let's see if Alan is right and Neil offers a magic dd
 recipe.  When this is over I will update the wiki or at least add a
 comment for the authors to consider.
 
 This was my first time using a flash drive.  I presume that burning a
 CD-R from the  still works.  Right?

It still worked last year :-)

I need to double check memory of ancient hardware: A CD-R, that's that
thin round shiny thing about 5 across? What used to be used for music
before Napster came along? Just checking I have it right

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread Alec Ten Harmsel

 On Jul 16, 2015, at 3:44 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 
 The Gentoo minimal CD does not work if you simply dd it to a thumb drive
 (I rediscovered this anew on Monday). It works just fine if you use
 unetbootin to do the magic though.

I highly recommend using the ArchLinux ISO, which can be burned to a flash 
drive with dd. It doesn’t have the gentoo-specific tools, but that’s really the 
only problem. UNetBootin has always been hit or miss for me.

Alec


Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread Jc García
2015-07-16 14:17 GMT-06:00  gottl...@nyu.edu:
 On Thu, Jul 16 2015, Alec Ten Harmsel wrote:

 On Jul 16, 2015, at 3:44 PM, Alan McKinnon alan.mckin...@gmail.com wrote:

 The Gentoo minimal CD does not work if you simply dd it to a thumb drive
 (I rediscovered this anew on Monday). It works just fine if you use
 unetbootin to do the magic though.

 I highly recommend using the ArchLinux ISO, which can be burned to a
 flash drive with dd. It doesn’t have the gentoo-specific tools, but
 that’s really the only problem. UNetBootin has always been hit or miss
 for me.

 Alec

 Thank you both.  Let's see if Alan is right and Neil offers a magic dd
 recipe.  When this is over I will update the wiki or at least add a
 comment for the authors to consider.

Why do you want to use the gentoo minimal CD?  if your laptop has EFI
I don't think you will be able to configure it properly. (I'm not
aware if the minimal cd has an EFI boot partition, but by the way you
describe your boot it seemes it doesn't, is this right? you can check
the iso with fdisk -l )

Either way I still don't know why the manual keeps recomending using a
minimal installation cd for amd64 platforms, especially desktop types.
I recommend you to boot somthing that has X, a browser and
Networkmanager, I see no point  the unnecessary pain of installing
gentoo with a console only CD on such newer hardware. It's just
complicating your life because you want to.



Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread Neil Bothwick
On Thu, 16 Jul 2015 21:44:49 +0200, Alan McKinnon wrote:

 Or you could wait for the resident expert (Neil) to supply the magic
 incantation that lets dd do what you want :-)

It's simple, use System Rescue Cd ;-)


-- 
Neil Bothwick

B?#$^f, said Pooh, as line noise garbled his transmission.


pgpVl2TTOpVNS.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread Neil Bothwick
On Thu, 16 Jul 2015 22:53:01 +0200, Alan McKinnon wrote:

 I need to double check memory of ancient hardware: A CD-R, that's that
 thin round shiny thing about 5 across? What used to be used for music
 before Napster came along? Just checking I have it right

That's right, it's like a Blu-Ray disc with lower capacity and no need to
sell you soul to the MPAA and their rootkits.


-- 
Neil Bothwick

Capt'n! The spellchecker kinna take this abuse!


pgp3wlbJnwBp5.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread Alan McKinnon
On 16/07/2015 18:40, gottl...@nyu.edu wrote:
 I believe I correctly dd'ed a minimal cd onto a usb flash (aka thumb)
 drive.
 
 I set the boot order on my new system (dell 7450) to have the usb
 storage device first.  Sure enough I get the isolinux prompt and the
 kernel is loaded.
 
 However after asking for the keymap (I just hit enter)
 it types looking for the cdrom.  There is no cdrom.
 
 It then tries to mount media /dev/sda[123] (which are dell and windows
 partitions).  When this fails it announces no bootable medium found
 
 I tried adding the doscsi option, no change.
 
 What did I do wrong?
 
 thanks in advance,
 allan
 
 PS I did buy an external usb cdrom player and can dd the minimal cd to a
 blank media.  However, I thought that I can install linux from a usb
 stick without a CD at all.
 
 


The Gentoo minimal CD does not work if you simply dd it to a thumb drive
(I rediscovered this anew on Monday). It works just fine if you use
unetbootin to do the magic though.

Or you could wait for the resident expert (Neil) to supply the magic
incantation that lets dd do what you want :-)

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread gottlieb
On Thu, Jul 16 2015, Alec Ten Harmsel wrote:

 On Jul 16, 2015, at 3:44 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 
 The Gentoo minimal CD does not work if you simply dd it to a thumb drive
 (I rediscovered this anew on Monday). It works just fine if you use
 unetbootin to do the magic though.

 I highly recommend using the ArchLinux ISO, which can be burned to a
 flash drive with dd. It doesn’t have the gentoo-specific tools, but
 that’s really the only problem. UNetBootin has always been hit or miss
 for me.

 Alec

Thank you both.  Let's see if Alan is right and Neil offers a magic dd
recipe.  When this is over I will update the wiki or at least add a
comment for the authors to consider.

This was my first time using a flash drive.  I presume that burning a
CD-R from the  still works.  Right?

allan



Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread Alan McKinnon
On 16/07/2015 23:08, Neil Bothwick wrote:
 On Thu, 16 Jul 2015 22:53:01 +0200, Alan McKinnon wrote:
 
 I need to double check memory of ancient hardware: A CD-R, that's that
 thin round shiny thing about 5 across? What used to be used for music
 before Napster came along? Just checking I have it right
 
 That's right, it's like a Blu-Ray disc with lower capacity and no need to
 sell you soul to the MPAA and their rootkits.
 
 


Silly me. I always thought they made fine coasters.

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread gottlieb
On Thu, Jul 16 2015, Jc García wrote:

 2015-07-16 14:17 GMT-06:00  gottl...@nyu.edu:
 On Thu, Jul 16 2015, Alec Ten Harmsel wrote:

 On Jul 16, 2015, at 3:44 PM, Alan McKinnon alan.mckin...@gmail.com wrote:

 The Gentoo minimal CD does not work if you simply dd it to a thumb drive
 (I rediscovered this anew on Monday). It works just fine if you use
 unetbootin to do the magic though.

 I highly recommend using the ArchLinux ISO, which can be burned to a
 flash drive with dd. It doesn’t have the gentoo-specific tools, but
 that’s really the only problem. UNetBootin has always been hit or miss
 for me.

 Alec

 Thank you both.  Let's see if Alan is right and Neil offers a magic dd
 recipe.  When this is over I will update the wiki or at least add a
 comment for the authors to consider.

 Why do you want to use the gentoo minimal CD?  if your laptop has EFI
 I don't think you will be able to configure it properly. (I'm not
 aware if the minimal cd has an EFI boot partition, but by the way you
 describe your boot it seemes it doesn't, is this right? you can check
 the iso with fdisk -l )

I am not trying efi.

 Either way I still don't know why the manual keeps recomending using a
 minimal installation cd for amd64 platforms, especially desktop types.
 I recommend you to boot somthing that has X, a browser and
 Networkmanager, I see no point  the unnecessary pain of installing
 gentoo with a console only CD on such newer hardware. It's just
 complicating your life because you want to.

I have not had trouble with the minimal cd.  I do the actual work on
another (gentoo) machine.

allan



Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread Alan McKinnon
On 16/07/2015 22:01, Alec Ten Harmsel wrote:
 
 On Jul 16, 2015, at 3:44 PM, Alan McKinnon alan.mckin...@gmail.com wrote:

 The Gentoo minimal CD does not work if you simply dd it to a thumb drive
 (I rediscovered this anew on Monday). It works just fine if you use
 unetbootin to do the magic though.
 
 I highly recommend using the ArchLinux ISO, which can be burned to a flash 
 drive with dd. It doesn’t have the gentoo-specific tools, but that’s really 
 the only problem. UNetBootin has always been hit or miss for me.
 
 Alec
 


I've only ever had two kinds of problem with unetbootin:

Not waiting long enough for the write to complete. This is real easy
when using corporate-gift-keyring type USB sticks (the thin ones without
a USB-A casing around the connectors and no activity light

Writing to one particular SanDisk product with a fancy Windows specific
magic-sauce-protect-firmware, this stick does not boot no matter what I
write it with.

So as long as 1 use my eyeballs and keep my thinking cap on, unetbootin
works OK for me. A reliable dd that always works would be first prize though

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread Jc García
2015-07-16 14:44 GMT-06:00  gottl...@nyu.edu:

 I have not had trouble with the minimal cd.  I do the actual work on
 another (gentoo) machine.


* Tries to boot an Image, 4+ hours later and after asking help to the
mailing list, still no success in booting, has had no trouble with the
gentoo minimal cd *

Don't take me wrong, what I'm saying is you want Gentoo installed,
don't lose your time hassling with images that don't work, that won't
even be essential to the installation.

If the first one doesn't work, by the domain you use(Meaning your
Internet connection speed) I guess you could have been trying another
image in ~10min.



Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread Joshua Rutkowsko
dd worked for me last month :)

josh

On Jul 16, 2015 3:53 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
On 16/07/2015 22:17, gottl...@nyu.edu wrote:
 On Thu, Jul 16 2015, Alec Ten Harmsel wrote:

 On Jul 16, 2015, at 3:44 PM, Alan McKinnon alan.mckin...@gmail.com wrote:

 The Gentoo minimal CD does not work if you simply dd it to a thumb drive
 (I rediscovered this anew on Monday). It works just fine if you use
 unetbootin to do the magic though.

 I highly recommend using the ArchLinux ISO, which can be burned to a
 flash drive with dd. It doesn’t have the gentoo-specific tools, but
 that’s really the only problem. UNetBootin has always been hit or miss
 for me.

 Alec

 Thank you both.  Let's see if Alan is right and Neil offers a magic dd
 recipe.  When this is over I will update the wiki or at least add a
 comment for the authors to consider.

 This was my first time using a flash drive.  I presume that burning a
 CD-R from the  still works.  Right?

It still worked last year :-)

I need to double check memory of ancient hardware: A CD-R, that's that
thin round shiny thing about 5 across? What used to be used for music
before Napster came along? Just checking I have it right

--
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread Mike Gilbert
On Thu, Jul 16, 2015 at 12:40 PM,  gottl...@nyu.edu wrote:
 I believe I correctly dd'ed a minimal cd onto a usb flash (aka thumb)
 drive.

 I set the boot order on my new system (dell 7450) to have the usb
 storage device first.  Sure enough I get the isolinux prompt and the
 kernel is loaded.

 However after asking for the keymap (I just hit enter)
 it types looking for the cdrom.  There is no cdrom.

 It then tries to mount media /dev/sda[123] (which are dell and windows
 partitions).  When this fails it announces no bootable medium found

 I tried adding the doscsi option, no change.

 What did I do wrong?

Does your system have USB 3 ports? USB 3 is currently broken on the
installcd images.

https://bugs.gentoo.org/show_bug.cgi?id=554202



Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread gottlieb
On Thu, Jul 16 2015, Jc García wrote:

 2015-07-16 14:44 GMT-06:00  gottl...@nyu.edu:

 I have not had trouble with the minimal cd.  I do the actual work on
 another (gentoo) machine.


 * Tries to boot an Image, 4+ hours later and after asking help to the
 mailing list, still no success in booting, has had no trouble with the
 gentoo minimal cd *

I was commenting on the use of the minimal CD rather than a fancy one
that had X etc.  I have indeed had tremendous trouble this time and it
is getting worse.

I just burned a CD with the min install and it failed the same way as
the flash drive!

allan



Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread Jc García
2015-07-16 15:33 GMT-06:00  gottl...@nyu.edu:

 I was commenting on the use of the minimal CD rather than a fancy one
 that had X etc.  I have indeed had tremendous trouble this time and it
 is getting worse.

Is not about fanciness, Is abut having the tools you need for the job,
I understand you would choose a minimal if you were to try to boot an
old celeron with less than 1gb of ram that would take forever to boot
a modern livecd, but that is not your case, and the minimal and a
'fancy' have the tools my point is about being practical.

BTW, I think if you had chosen the bulky live-dvd of gentoo it would
have worked as expected.



Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread Neil Bothwick
On Thu, 16 Jul 2015 21:44:49 +0200, Alan McKinnon wrote:

 Or you could wait for the resident expert (Neil) to supply the magic
 incantation that lets dd do what you want :-)

I tried it on my laptop and it refused to work. Dropping to a shell, I
found there was no /dev/sdb, no wonder the init script couldn't find the
drive. The *hci modules were all loaded. I then tried it on another
system and it just booted with no fuss. so either the laptop has some odd
hardware that this CD won't boot with, even though I boot several
different live discs on it every month, or there is some oddball module
either missing or needing to be loaded.


-- 
Neil Bothwick

Got kleptomania? Be sure to take something for it.


pgpkPqDhoaghS.pgp
Description: OpenPGP digital signature