There are some reasons prompting me to abandon Gentoo on my laptop, the specific optimization to the desktop by Ubuntu is one of them.
The actually installation should be as smooth as stated, but I still get frustrated for quite a few hours :(
So one thing that I get more confirmed is: cdrom is the last storage you should try.
1. download iso image from ubuntu website, smooth
2.
md5 check passes
3.
burn it into cd4. boot with cd, pcmcia wireless card auto recognized and DHCP config successfully which means I can connect to Internet
5. Partition:
40 GB hdd:
hda1: WinXP root, fat32, primary, bootable
hda2: shared by windows and linux, fat32, logic
hda6: 30M, ext3, /boot, logic
hda7: 6.7G, the root for ubuntu, reizser, /, logic
6. start install, failed at base system install, pool/main/l/linux-sources/linux-image.... md5 check
failed!
7. burn another 2 cds the next day and repeat previous steps, failed again! /pool/main/linux-sources/linux-head... md5 check
failed!
So far, I have no confidence in cdrom any more. Since the md5 check for the downloaded iso image has no problem, it must be in the burning procedure. Since the failed parts for 2 cds are different but near, I bet it's the cdrw's step increasing speed working mode harms it. Maybe I'll have to use my cdrw for some time, but remember to burn it steadily!
8. After research and experiment, finally get it clear how to install linux from image directly.
grub is needed to load bootable environment. Fortunately, even installation failed, ubuntu still gives you all the options for the installation which allow me to directly jump to the grub installation. And it recognizes WinXP installed and configures it automatically.
9. To start bootable environment, two files are needed:
initrd.gz and
vmlinuz (or linux for netboot version). However, there are several versions of them.
First, in the cdrom, under
install, that two are for cdrom install which means the environment is set to insall linux from linux.
In
install/netboot/ubuntu-installer/i386, the two are for network install. Using them, no cd and no image are needed for the whole install, only network!
However, what I needed cannot be found in the image itself. The version for install from harddisk image can be downloaded at any ubuntu mirror, under directory
ubuntu/dists/breezy(the version)/main/installer-i386/current/images/hd-media (surely I get information from the name)
To summarize, these two files are programs that guild linux install procedure after enter the bootable environment. Since for different method of install, specific procedure should be provided, the more important issue I guess is to keep these files as small as possible to be fit into any pc. So different versions instead of one versatile with different interfaces are provided.
10. copy these two files to the first primary partition which is also a bootable partition, the grub can get it then.
/dev/hda1 is the one for my laptop. Then put the iso image file under the top directory in any of your partitions (but its file system must be recognized by the bootable environment, ubuntu in this case, fat32, ext3, reizser..)
11. reboot laptop, upon promtion by grub, press
cthen input three commands:
grub> kernel (hd0,0)/vmlinuz root=/dev/ram ramdisk_size=20000 devfs=mount,dallgrub> initrd (hd0,0)/initrd.gzgrub> bootIt's not difficult to understand the commands. (hd0,0) indicates the hdd devise and the partion that store the files.
12. laptop reboot now and you'll be lead into the harddisk install program now which is slightly different from the one by cdrom install. It will search all reconizable partitions and find the right iso image and the following procedures are just as smooth as it should be. Huhu~~, finally get Ubuntu on my laptop!
Reference:ubuntu wikiInstall GNU/Linux without any CD, floppy, USB-key, nor any other removable media