Bug#680650: USB install method fails on wheezy alpha1

2012-08-08 Thread Antoine Beaupré
Hi!

On 2012-07-07, Ben Armstrong wrote:
 On 07/07/12 02:18 PM, Antoine Beaupré wrote:
 I have tried the install method described here with the Debian Wheezy alpha1 
 d-i:
 
 http://d-i.alioth.debian.org/manual/en.i386/apas02.html#howto-getting-images-usb

 First, this is not the official doc, but is an internal site used to
 track translation status. It looks considerably out of date to me,
 dating back to before the release of Squeeze.

Ah. Well, it's the first manual I could find. :)

 Second, that points me at a page that doesn't look anything like the
 steps you described in your email. Maybe you were thinking of this one?

 http://www.debian.org/releases/stable/amd64/ch04s03.html.en

 In any case, whichever version of the instructions you were following,
 this is incorrect:

  2. uncompress the .img.gz file and dd it into a USB key:
 
 gunzip debian-700alpha1-i386-boot.img.gz
 sudo dd if=debian-700alpha1-i386-boot.img of=/dev/sdb1

 If your intention was to use a pre-partitioned key, see the flexible
 way. But this looks like you were trying the easy way which says:

 # zcat boot.img.gz  /dev/sdX

 Earlier on the same page (whether the one I cited above, or the
 out-of-date doc you linked to) it explains this is the whole drive, not
 a partition.

Oops! Sorry, my mistake!

 I will try the method described here as a workaround:
 
 http://joeyh.name/blog/entry/Debian_USB_install_from_hybrid_iso/
 
 If it works, I suggest the documentation be updated to advise users to
 use the .isos instead of the hd-media files.

 It already is. See the documentation for the stable release I linked to
 above, section 4.3.1. Preparing a USB stick using a hybrid CD or DVD
 image. Naturally, the wheezy doc, when released, will include this
 recommendation as well.

Alright! It would be useful to make that documentation more clearly
available, because as things stand people digging for wheezy install
docs find the alioth page instead.

But maybe that's just me...

I think this bug can be closed if you are satisfied with the
documentation.

A.
-- 
In god we trust, others pay cash.
- Richard Desjardins, Miami


pgpnVGfaBlzqI.pgp
Description: PGP signature


Bug#680650: USB install method fails on wheezy alpha1

2012-07-07 Thread Antoine Beaupré
Package: debian-installer
Version: 20120508
Severity: important

I have tried the install method described here with the Debian Wheezy alpha1 
d-i:

http://d-i.alioth.debian.org/manual/en.i386/apas02.html#howto-getting-images-usb

I have performed the following steps:

 1. download the following files:


http://ftp.nl.debian.org/debian/dists/testing/main/installer-i386/current/images/hd-media/boot.img.gz

http://napoleon.acc.umu.se/cdimage/wheezy_di_alpha1/i386/iso-cd/debian-wheezy-DI-a1-i386-netinst.iso

http://ftp.nl.debian.org/debian/dists/testing/main/installer-i386/current/images/hd-media/initrd.gz

http://ftp.nl.debian.org/debian/dists/testing/main/installer-i386/current/images/hd-media/vmlinuz

 2. uncompress the .img.gz file and dd it into a USB key:

gunzip debian-700alpha1-i386-boot.img.gz
sudo dd if=debian-700alpha1-i386-boot.img of=/dev/sdb1

 3. mount the partition and copy the .iso and vmlinuz in place (I
didn't copy the initrd.gz because it's already on the image)

 4. unmount the partition

 5. mark the /dev/sdb1 partition bootable with cfdisk

 6. try boot the USB key on a Thinkpad x120e, using the builtin BIOS boot 
selection tool

Expected result: booting in the marvelous debian installer

Actual result: the Thinkpad BIOS brings be baaack to the boot menu, as if the 
USB wasn't bootable.

I will try the method described here as a workaround:

http://joeyh.name/blog/entry/Debian_USB_install_from_hybrid_iso/

If it works, I suggest the documentation be updated to advise users to
use the .isos instead of the hd-media files.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_CA.UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#680650: USB install method fails on wheezy alpha1

2012-07-07 Thread Samuel Thibault
tags 680650 + moreinfo
thanks

Antoine Beaupré, le Sat 07 Jul 2012 13:18:49 -0400, a écrit :
  2. uncompress the .img.gz file and dd it into a USB key:
 
 gunzip debian-700alpha1-i386-boot.img.gz
 sudo dd if=debian-700alpha1-i386-boot.img of=/dev/sdb1
 
  3. mount the partition and copy the .iso and vmlinuz in place (I
 didn't copy the initrd.gz because it's already on the image)
 
  4. unmount the partition
 
  5. mark the /dev/sdb1 partition bootable with cfdisk
 
  6. try boot the USB key on a Thinkpad x120e, using the builtin BIOS boot 
 selection tool

Does your USB key contain an MBR?

I have added a few days ago a step to the manual: please try to run

install-mbr /dev/sdb

and try to boot again.

 If it works, I suggest the documentation be updated to advise users to
 use the .isos instead of the hd-media files.

AFAIK it already does so, section 4.3.1 Preparing a USB stick using a
hybrid CD or DVD image.

Samuel



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#680650: USB install method fails on wheezy alpha1

2012-07-07 Thread Ben Armstrong
On 07/07/12 02:18 PM, Antoine Beaupré wrote:
 I have tried the install method described here with the Debian Wheezy alpha1 
 d-i:
 
 http://d-i.alioth.debian.org/manual/en.i386/apas02.html#howto-getting-images-usb

First, this is not the official doc, but is an internal site used to
track translation status. It looks considerably out of date to me,
dating back to before the release of Squeeze.

Second, that points me at a page that doesn't look anything like the
steps you described in your email. Maybe you were thinking of this one?

http://www.debian.org/releases/stable/amd64/ch04s03.html.en

In any case, whichever version of the instructions you were following,
this is incorrect:

  2. uncompress the .img.gz file and dd it into a USB key:
 
 gunzip debian-700alpha1-i386-boot.img.gz
 sudo dd if=debian-700alpha1-i386-boot.img of=/dev/sdb1

If your intention was to use a pre-partitioned key, see the flexible
way. But this looks like you were trying the easy way which says:

# zcat boot.img.gz  /dev/sdX

Earlier on the same page (whether the one I cited above, or the
out-of-date doc you linked to) it explains this is the whole drive, not
a partition.

 I will try the method described here as a workaround:
 
 http://joeyh.name/blog/entry/Debian_USB_install_from_hybrid_iso/
 
 If it works, I suggest the documentation be updated to advise users to
 use the .isos instead of the hd-media files.

It already is. See the documentation for the stable release I linked to
above, section 4.3.1. Preparing a USB stick using a hybrid CD or DVD
image. Naturally, the wheezy doc, when released, will include this
recommendation as well.

Ben





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org