Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to install debian wheezy on a i386 computer with efi bios using an USB pendrive and the debian iso? What steps should I follow?

I searched the internet and have not found any clear answers.

Thanks.

share|improve this question

migrated from stackoverflow.com Jan 3 '13 at 18:28

This question came from our site for professional and enthusiast programmers.

    
This doesn't directly answer your question, but -- I would suggest performing the install on a more modern computer then transplanting the hard drive into the 386 when that's done. It'll take you less than a metric eon to complete the installation and will save you a lot of unnecessary headaches with e.g. USB issues. I've done this with many other slow/limited systems, though never anything quite as old as a 386. –  asmecher Jan 9 '13 at 21:01

1 Answer 1

up vote 1 down vote accepted

It's possible, but tricky, and filled with pitfalls. I don't recall the precise steps, but it's something along these lines:

  1. Prepare a USB flash drive using the installation image as if you were setting up on a BIOS-based computer.
  2. Mount the FAT filesystem from the USB drive to some convenient location -- say, /mnt/usb.
  3. Create an EFI/BOOT directory on the installation medium (so, /mnt/usb/EFI/BOOT).
  4. Store the EFI boot loader of your choice in /mnt/usb/EFI/BOOT/bootia32.efi.
  5. Configure your EFI boot loader to launch the kernel and initrd image that will get the installation process going.

I realize this is a very skeletal description; but it's been a while since I've done this, and there are many options and possible variants, so I can't be more precise without putting in at least an hour or two of testing. Also, the last time I tried this, the EFI installation process in Debian was bug-ridden. I hear that it now supports EFI-mode installation on x86-64 systems, so perhaps the current version is better, but you should be wary. The worst of the bugs I encountered was that the installer wiped the EFI System Partition (ESP), thus rendering any previously-installed OS unbootable. Thus, as a precaution, I recommend backing up your ESP before you install Debian in this way.

share|improve this answer

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.