Quite a few of the new machines (called Netbooks) arrive without an optical drive. However, they are capable of booting off their USB drives, and installing Linux on them is not too difficult. Just get one of the USB distributions from the Net.
However, if you have a laptop without an optical drive, and cannot boot from the USB port either, then the following might be of some help.
- Remove the HD from the laptop and install it in a USB enclosure
- Attach this drive to a machine with Linux already installed
- Use cfdisk to assign partitions.
- Format the first partition on the disk as ext3 using the mkfs.ext3 command
- Mount the new partition (say /mnt/disk).
- Copy the /boot of the machine onto /mnt/disk
- Edit /mnt/disk/boot/grub/menu.lst, but leave it as hd0
- Start grub as root, and type:
root (hd1,0)
setup (hd1)
quit
- Unmount all partitions on that drive and disconnect it from the host machine.
- Remove the drive from the enclosure and install it on the laptop
- When the system boots, go into the grub shell, and type :
kernel "path to vmlinuz"
initrd "path to initrd"
boot
- When prompted, point to the ISO on the disk, and proceed with the normal installation.
Copy the installation boot image on to /mnt/disk/, and the installation ISO image on to another partition on the drive in the USB enclosure
Tags: install, linux, no optical drive, no USB boot