[Bug 234185] Re: Alternate CD cdrom-detect.postinst does not consider USB flash drive/key.

Rolf Leggewie 234185 at bugs.launchpad.net
Fri Nov 21 19:22:36 UTC 2014


Hardy has seen the end of its life and is no longer receiving any
updates. Marking the Hardy task for this ticket as "Won't Fix".

** Changed in: usb-creator (Ubuntu Hardy)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cdrom-detect in Ubuntu.
https://bugs.launchpad.net/bugs/234185

Title:
  Alternate CD cdrom-detect.postinst does not consider USB flash
  drive/key.

Status in “cdrom-detect” package in Ubuntu:
  Fix Released
Status in “debian-installer-utils” package in Ubuntu:
  Fix Released
Status in “usb-creator” package in Ubuntu:
  Fix Released
Status in “cdrom-detect” source package in Hardy:
  Fix Released
Status in “debian-installer-utils” source package in Hardy:
  Fix Released
Status in “usb-creator” source package in Hardy:
  Won't Fix
Status in “cdrom-detect” source package in Intrepid:
  Fix Released
Status in “debian-installer-utils” source package in Intrepid:
  Fix Released
Status in “usb-creator” source package in Intrepid:
  Fix Released

Bug description:
  We have had support for USB devices that contain the contents of an
  ISO being used as installation media for the alternate CD since
  Intrepid.  Recently it has come to my attention that server users want
  this feature for servers that do not have a CDROM drive and are not
  installed using PXE.

  I've uploaded a new debian-installer-utils and cdrom-detect to hardy-
  proposed which will enable the following test case.

  TEST CASE:
  1. Put the contents of an Ubuntu 8.04.4 alternate or server image on a USB disk using usb-creator.  Other tools can be used to do this, but you need to make sure you add 'cdrom-detect/try-usb=true' to the kernel command line.
  2. Boot the USB disk and proceed with the installation.  It should progress without complaining that it cannot find the installation media.

  Original report:
  I wrote a script to copy all the files from Hardy Heron (08.04) Live CD and Alternate CD to a USB flash drive.  The Live CD works flawlessly.

  However, the Alternate CD fails to mount the "cdrom".  This is because
  cdrom-detect.postinst does not try to look for disk partitions.

  By adding `list-devices partition` in the list of devices to probe,
  and by adding an additional mount command for vfat, I managed to get
  the Alternate CD working from a USB flash drive.

  Attached, a patch to fix the issue.  Please consider introducing this
  fix soon and release a new Alternate CD with it.  I plan to make my
  script available and it would be nice to have a proper working
  Alternate CD for USB flash drives.  Users should not have to mess with
  initrd to get this working.

  P.S.:  If you have a suggestion about a good place to make this script
  public, please write to me in an email.

         Also, my solution partially resolves:

         http://brainstorm.ubuntu.com/idea/16/

         I have USB images of 1G which can be `dd` to a USB flash drive.

  [ keywords:  alternate cd usb flash key stick pen pendrive drive ]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cdrom-detect/+bug/234185/+subscriptions



More information about the foundations-bugs mailing list