Friday, January 8, 2016

Installing Ubuntu Server 14.04 from USB: CD-ROM Errors

During an attempt to install Ubuntu 14.04 on a very old HP d530 (Pentium R 4 Processor 2400 MHz) for a firewall, I ran into a few problems during installation. After using unetbootin to create the bootable disk, I had issues with an error along the lines of 'can't find CD-ROM' or it found the CD-ROM but said the disk might be corrupt (which it wasn't).

My solution:

Copy the ISO onto the bootable disk after you created it.
Then once you receive the error, type Alt-F2 then use try these commands:

#if device cannot find cd-rom
mkdir /mnt/usb
# use ls /dev/sd* to see your mounted partitions.
mount –t vfat /dev/<usb drive, often sdb1> /mnt/usb
mount –t iso9660 –o loop /mnt/usb/ubuntu.iso /cdrom


#if device has found cdrom but claims it is corrupt
#find /cdrom and unmount
df -h
umount /dev/sd*1
mount -t vfat /dev/sd*1 /mnt/usb
mount -t iso9660 -o loop /mnt/usb/ubuntu.iso /cdrom


sd*1 stands for the USB drive letter. In my specific case, the USB was sdb1.

Hope this helps someone else besides me:)

No comments:

Post a Comment