Announcement

Collapse
No announcement yet.

Installing FROM an USB-stick

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Installing FROM an USB-stick

    Hi

    I'm trying to install Kubuntu 7.10 (kubuntu-7.10-alternate-i386.iso) from an USB-stick (because my CD/DVD-drive is broken). I've been following this guide: https://help.ubuntu.com/community/In...n/FromUSBStick

    Booting to the installer works fine but I have problems while trying to mount the USB-stick on /cdrom:

    # mount -t vfat /dev/cdroms/cdrom0 /cdrom
    mount: Mounting /dev/cdroms/cdrom0 on /cdrom failed: No such device

    Any ideas?

    -- JP

    #2
    Re: Installing FROM an USB-stick

    Did you follow these instructions fully:

    Mounting the flash drive as /cdrom
    Switch to the second virtual console during the first couple of dialogs (when asked about your preferred language for the installation etc.) by pressing the ""ALT-2"". Do the following:
    mkdir /cdrom /dev/cdroms
    cd /dev/cdroms
    ln -s ../sda1 cdrom0 (where sda1 is your USB stick)
    mount -t vfat /dev/cdroms/cdrom0 /cdrom
    Then switch back to the first virtual console by pressing ""ALT-1"". Continue installing Ubuntu as if you were running from CD.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: Installing FROM an USB-stick

      Yep, I did. Here's a full log of what I did:

      # mkdir /cdrom /dev/cdroms
      # cd /dev/cdroms
      # ln -s ../sdb1 cdrom0
      # mount -t vfat /dev/cdroms/cdrom0 /cdrom
      mount: Mounting /dev/cdroms/cdrom0 on /cdrom failed: No such device

      In fact, any mounting attempt gives same error: "No such device"

      # mount -t vfat /dev/sdb1 /test
      mount: Mounting /dev/sdb1 on /test failed: No such device

      # mount -t ext3 /dev/hda2 /test
      mount: Mounting /dev/hda2 on /test failed: No such device

      , where /dev/sdb1 is the USB-stick and /dev/hda2 is an ext3 partition.

      -- JP

      Comment


        #4
        Re: Installing FROM an USB-stick

        There was an easy solution. I just switched to kubuntu-7.10-desktop-i386.iso (instead of alternate) and everything worked flawlessly.

        Oh, and the installation was actually much easier than what https://help.ubuntu.com/community/In...n/FromUSBStick describes.

        All I did was
        • made the usb-stick bootable with syslinux (3.52)
        • copied contents of kubuntu-7.10-desktop-i386.iso on the usb-stick
        • renamed /isolinux -> /syslinux, isolinux.bin -> syslinux.bin, isolinux.cfg -> syslinux.cfg
        • voila!


        So no need of moving files to root, editing syslinux.cfg, nor mounting the usb-stick on /cdrom..

        --JP

        Comment

        Working...
        X