system-installation – How Can I Install Ubuntu Without CD?
live-cdlive-usblivedvdsystem-installation
My CD drive is broken,so I can't install Ubuntu from a CD.
Are there any workarounds for that?
Best Answer
There are several options for installing without a CD drive.
Wubi
If you have Windows installed already, you can use Wubi. Wubi installs Ubuntu as an application inside Windows.
USB Flash Drive
Alternatively, you can also install Ubuntu from a USB disc. You'll need a USB flash drive, and Ubuntu live CD ISO, and a program to transfer it to the flash drive.
Making a USB startup drive
If you have Ubuntu installed, you can use the Ubuntu USB Creator, which is in the System > Administration menu.
If you only have Windows installed, you can use Unetbootin to do the same job.
Booting the drive
Once you have a bootable USB drive, you simply have to plug it in and during bootup specify it as the boot device. There are instructions on the Ubuntu wiki On how to boot from a USB drive. Once it's booted, it acts just like a live CD.
Following is a step by step guide for a full install of 11.04 or 11.10 to a USB device.
Partition sizes given are for 8GB drive, adjust size to suit
For external HDD consider first formatting drive to NTFS:
Turn off and unplug the computer. (See note at bottom)
Remove the side from the case.
Unplug the power cable from the hard drive.
Plug the computer back in.
Insert the USB drive.
Insert the Live CD or Live USB.
Start the computer, the CD / flash drive should boot, (you need to adjust BIOS to boot USB).
Select language and "Install Ubuntu"
Select Download updates while installing and Select Install this third-party software.
(Notice that at least 4.4 GB drive space is required for 11.10, 4GB bootable flash drive users must choose another distro for a full install).
Forward or Continue
If prompted, unmount partitions.
Select "Something else"
Forward or Continue
Confirm "Device for boot loader installation:" is correct, (If you left your internal HDD plugged in make sure the USB drive root is selected - sdb not sdb1).
(Optional Windows data partition)
Select "New Partition Table" click Continue on the drop down.
Click "Free space" and "Add".
Select "Primary".
Make "New partition size..." about 1000
"Location = Beginning".
"Use as: = FAT32 file system"
And "Mount point = windows".
Select "OK"
Click "free space" and then "Add".
Select "Primary", "New partition size ..." = 3 to 4 GB, Beginning, Ext4, and Mount point = "/" then OK.
(Optional home partition)
Click "free space" and then "Add".
Select "Primary", "New partition size ..." = 1 to 2 GB, Beginning, Ext2, and Mount point = "/home" then OK.
(Optional swap partition)
Click "free space" and then "Add".
Select "Primary", "New partition size ..." = remaining space, (1 to 2 GB), Beginning and "Use as" = "swap area" then OK.
(Important)
Confirm "Device for boot loader installation" points to the USB drive. Default should be ok if HDD was unplugged.
Click "Install Now".
Select your location.
Forward.
Select Keyboard layout.
Forward.
Insert your name, username, password, computer name and select if you want to log in automatically or require a password.
Selecting "Encrypt my home folder" is a good option if you are worried about loosing your USB drive.
Select forward.
Wait until install is complete.
Turn off computer and enable the HDD.
Stick the side panel back on.
Note:
You may omit disabling the hard drive. But be sure, if after partitioning you choose to install grub to the root of the usb drive you are installing Ubuntu to (i.e; sdb not sdb1). Be cautious! Many people have overwritten the HDD MBR.
Best Answer
There are several options for installing without a CD drive.
Wubi
If you have Windows installed already, you can use Wubi. Wubi installs Ubuntu as an application inside Windows.
USB Flash Drive
Alternatively, you can also install Ubuntu from a USB disc. You'll need a USB flash drive, and Ubuntu live CD ISO, and a program to transfer it to the flash drive.
Making a USB startup drive
If you have Ubuntu installed, you can use the Ubuntu USB Creator, which is in the System > Administration menu.
If you only have Windows installed, you can use Unetbootin to do the same job.
Booting the drive
Once you have a bootable USB drive, you simply have to plug it in and during bootup specify it as the boot device. There are instructions on the Ubuntu wiki On how to boot from a USB drive. Once it's booted, it acts just like a live CD.