Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158530 - New Live CD to Live USB conversion fails with "Could not find CD to boot, something else needed!"
Summary: New Live CD to Live USB conversion fails with "Could not find CD to boot, som...
Status: RESOLVED DUPLICATE of bug 147186
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://www.sabayonlinux.org/forum/vie...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-19 04:10 UTC by scott
Modified: 2006-12-19 04:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description scott 2006-12-19 04:10:13 UTC
The URL points to a Sabayon forum, however the bug is related to both the new version of Gentoo and Sabayon.  The problem arrises when trying to boot a live cd from USB flash media using the syslinux method ( http://www.gentoo.org/doc/en/liveusb.xml ).  The system will boot up until mdev tries to mount all found devices and after it is finished it will display "Could not find CD to boot, something else needed!".  In the thread of the URL I posted someone pointed out the following...

@@@@@@@@@@@@@@@@@@@@@@@@@Quoted Text@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

The method with syslinux and simply copying the files over to the stick works PERFECT when using files from a Gentoo 2006.0 cd.

The exact same LiveCD->USB procedure stalls at the same point with both Sabayon and Gentoo 2006.1 when trying to mount the CD (or rather the specified loopfile livecd.squashfs).

The only difference I can confirm is in the initrd.

The following scipt is taken from Gentoo 2006.0
	Code:
	
findcdmount() {
   if [ "$#" -gt "0" ]
   then
      for x in $*
      do
         # Check for a block device to mount
         if [ -b "${x}" ]
         then
            good_msg "Attempting to mount CD:- ${x}"
            mount -r ${x} ${NEW_ROOT}/mnt/cdrom > /dev/null 2>&1
            if [ "$?" = '0' ]
            then
               # Check for a LiveCD
               if [ -e ${NEW_ROOT}/mnt/cdrom/livecd ]
               then
                  REAL_ROOT="${x}"
                  break
               else
                  umount ${NEW_ROOT}/mnt/cdrom
               fi
            fi
         fi
      done
      if [ "${REAL_ROOT}" != '' ]
      then
         good_msg "CD medium found on ${x}"
      fi
   fi
}


And from Sabayon & Gentoo2006.1:
	Code:
	
findcdmount() {
   if [ "$#" -gt "0" ]
   then
      for x in $*
      do
         # Check for a block device to mount
         if [ -b "${x}" ]
         then
            good_msg "Attempting to mount CD:- ${x}"
            mount -r -t iso9660 ${x} ${NEW_ROOT}/mnt/cdrom > /dev/null 2>&1
            if [ "$?" = '0' ]
            then
               # Check for a LiveCD
               if [ -e ${NEW_ROOT}/mnt/cdrom/livecd ]
               then
                  REAL_ROOT="${x}"
                  break
               else
                  umount ${NEW_ROOT}/mnt/cdrom
               fi
            fi
         fi
      done
      if [ "${REAL_ROOT}" != '' ]
      then
         good_msg "CD medium found on ${x}"
      fi
   fi
}


The only difference i have found is the "-t iso9660" section
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-19 04:20:23 UTC

*** This bug has been marked as a duplicate of 147186 ***