Results 1 to 6 of 6

Thread: Install 11.04 server from USB; fails, can't mount /cdrom

  1. #1
    Join Date
    Jun 2011
    Location
    Perth Australia
    Beans
    1

    Install 11.04 server from USB; fails, can't mount /cdrom

    I'm trying to install ubuntu 11.04 server onto a box that used to run Debian. I've (yesterday) installed ubuntu desktop successfully onto the box from USB, but I decided that ubuntu server would be a better option.

    The box doesn't have a cdrom drive installed.

    The creation of the usb stick from the ubuntu server disk image worked fine as far as i can tell, and the boot from USB starts fine, but the install fails at the step titled "Detect and mount CD-ROM". If I skip the step, the next step fails trying to mount the debconf configuration file from file:///carom/pressed/ubuntu-server.seed. I guess that's no surprise...

    Is there a change I need to make to the iso to make it try to mount the USB image to /cdrom? Or is there a change to make the install script look at the USB mount point?

    Or (and I'm hoping this is the one), is there a command line option I need to give the install at the first step that will make everything automagically work?

    Alan

  2. #2
    Join Date
    Jul 2011
    Beans
    1

    Unhappy Re: Install 11.04 server from USB; fails, can't mount /cdrom

    I am currently stuck with this same problem.

    when i unplugged the usb stick from the usb3 port then put it back in a usb2 port the cdrom was detected and installation continues...
    Last edited by mpegg; December 24th, 2011 at 08:39 PM.

  3. #3
    Join Date
    Nov 2009
    Location
    Mataro, Spain
    Beans
    13,737
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Install 11.04 server from USB; fails, can't mount /cdrom

    If you have enough free space on the usb to copy the ISO file (leaving the install files that are currently there), I have used these instructions to install server from usb on a server with no cd-rom:

    When you get the screen with “Load CD-ROM driver from removable media?” press ALT-F2 to get a console and enter these commands:

    mkdir /mnt/usb /mnt/iso
    mount –t vfat /dev/<usb drive partition device file> /mnt/usb
    mount –t iso9660 –o loop /mnt/usb/<iso file> /mnt/iso

    ALT-F1 to return to installation dialog and answer as follows:
    Load CD-ROM driver from removable media? <No>
    Manually select CD-ROM module and device> <Yes>
    Module needed for accessing the CD-ROM: none
    Device file for accessing the CD-ROM: /dev/loop0
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 14.04 LTS 64bit & Windows 10 Pro 64bit

  4. #4
    Join Date
    Jun 2012
    Beans
    2

    Re: Install 11.04 server from USB; fails, can't mount /cdrom

    I am installing 12.04 server and found that even after mounting the iso to /mnt/iso I could not proceed with the installation.

    So what I did instead was

    mount –t iso9660 –o ro /dev/loop0 /cdrom

    and that worked a treat.

  5. #5
    Join Date
    Jun 2012
    Beans
    2

    Wink Re: Install 11.04 server from USB; fails, can't mount /cdrom

    or a slightly different way from the top

    mkdir /mnt/usb

    mount -t vfat /dev/sba /mnt/usb <-change sba to your usb device
    mount –t iso9660 –o ro /mnt/usb/iso.iso /cdrom <-change iso.iso to your iso file

    then go back into setup DO NOT try and mount the cdrom in setup, as you have already mounted it - just proceed to the next step.

  6. #6
    Join Date
    Nov 2009
    Location
    Mataro, Spain
    Beans
    13,737
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Install 11.04 server from USB; fails, can't mount /cdrom

    Quote Originally Posted by Tw1sty View Post
    or a slightly different way from the top

    mkdir /mnt/usb

    mount -t vfat /dev/sba /mnt/usb <-change sba to your usb device
    mount –t iso9660 –o ro /mnt/usb/iso.iso /cdrom <-change iso.iso to your iso file

    then go back into setup DO NOT try and mount the cdrom in setup, as you have already mounted it - just proceed to the next step.
    Shouldn't that be /dev/sda1 as an example? It needs to have the partition number too, not just the device if I'm not mistaken.

    And the sba -> sda is just a typo, the devices are named sdX.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 14.04 LTS 64bit & Windows 10 Pro 64bit

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •