Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to install Xubuntu on an old PC with:

  • A USB port that can't boot, but otherwise works fine.
  • A CDROM drive that can boot, but is extremely slow and fails often.

I created a USB stick with usb-creator, burned the Xubuntu 12.10 ISO to a CDRW, inserted them, then switched on, selected "Try Xubuntu".
It took 2 hours, but now I am trying Xubuntu and writing this question from it.

QUESTION: How can I now install from the USB stick, rather than using the extremely slow/faulty CDROM drive?


Actually, installing from CDROM is not even an option, so I must find a way to use the USB stick, despite my motherboard not being able to boot from USB. Here is why:
Because of a bug with Athlon CPUs, I must remove a particular package, and I get a read error from the CDROM drive:

sudo apt-get remove ubiquity-slideshow-xubuntu 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  ubiquity-slideshow-xubuntu
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1263 kB disk space will be freed.
Do you want to continue [Y/n]? 
(Reading database ... 132314 files and directories currently installed.)
Removing ubiquity-slideshow-xubuntu ...
dpkg: error processing ubiquity-slideshow-xubuntu (--remove):
 unable to securely remove '/usr/share/doc/ubiquity-slideshow-xubuntu/TODO.dpkg-tmp': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (1)
share|improve this question
    
If your BIOS doesn't support booting from a USB device, there's simply no workaround for that (this is from you saying the port works but you can't boot from it), your option would be get an external optical drive or remove the hard drive put it in another computer install Ubuntu and then put it back on the original computer. –  Uri Herrera Jan 2 '13 at 22:40
    
@UriHerrera: Now that I am booted into the Live CD, is there no trick to copy the OS from the USB stick to the hard drive? –  Nicolas Raoul Jan 2 '13 at 22:42
    
I'm assuming you can but I wouldn't know how to, wait for someone more experienced to answer. –  Uri Herrera Jan 2 '13 at 23:10
add comment

3 Answers 3

up vote 1 down vote accepted

I don't think you can use the usb. Since the computer you're trying to install xubuntu on is old, it might not be able to succesfully boot the live cd. I recommend using the ubuntu 12.10 minimal cd. You won't get the ubiquity-slideshow because the installation is from commandline, there is no gui but the installation is easy. Installing this way works well on older computers. When you use the minimal cd there will be only 28 mb on the cd, the rest of the os will be downloaded during the installation. During the installation you will be able to choose your preferred desktop. LXDE/Lubuntu is best for older computers, but Xfce/Xubuntu is available. Its also possible to install only a commandline system and add a desktop environment and other programs later. You can get the minimal iso from here:

https://help.ubuntu.com/community/Installation/MinimalCD

share|improve this answer
add comment

You could burn a plop boot manager cd and boot your usb from the boot manager

See: http://www.plop.at/en/bootmanagers.html

share|improve this answer
    
+1 Great idea! Somehow I was presuming that plop was only for floppies. –  Nicolas Raoul Jan 3 '13 at 13:49
    
+1 Nice suggestion, i hadn't heard of it yet. –  jeroen Jan 3 '13 at 15:08
add comment

I ended up copying the content of the USB stick to a local hard drive using dd:

dd if=/dev/sdd of=/dev/sdb oflag=direct

Where sdd is the USB stick and sdb the local hard drive. Then I removed the CD, rebooted, and installation went fine.

This works only if you have two local hard drives (one as the install media, one as the target system). I guess you could do the same with fdisk and partitions, but somehow when I tried it did not work.

Even though this solution worked, I accept jeroen's solution as it works even when you don't have two local hard drives.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.