During my first install, all I did was boot the laptop from the Ubuntu disc, and when it asks for partition layout to use, I just selected "wipe entire disk, and install on whole disk". The installer would then wipe everything, and create the necessary partitions.
Then, things get interesting. The Gnome 2 desktop was easy enough to get familiar with, and hardware just worked.
Dual-booting with Win7.
I could not, for the life of me at the time, figure out how to dual-boot. I tried everything, nothing works. Then, I found some guides online on how to do it the simplest way.We start with a clean Win7 install first. following the installer wizard, we should end up with 2 partitions, one 100 MB NTFS "System" partition and one Win7 install partition with >100GB, depending on how much we assigned to Win7. Some people like me prefer to make an additional NTFS partition for "storage" of work files, pictures and others, so that if the Win7 install get corrupted, we can just format that and leave our files untouched. Whatever we do, we should leave out about 40GB for installing linux. In my case, I had a 160GB hard-drive (lame by today's standard), so ended up with the following.
- 100MB, NTFS system partition
- 60GB, NTFS Win7 install
- 40GB, NTFS "Storage"
- 40GB free space
Before that, we should learn a little bit about Disk Partition, with MBR table.
When we install Win7, by default, our hard drive should be formatted with MBR partition table, that can only support up to 4 partition, either Primary, or Extended partitions. Extended partitions works like a container, in which you can have as many Logical partitions as you want. However, by the setup above, Win7 installer has already created 3 primary partitions. We need to create an Extended partition to occupy all the free space, and then create the required logical partitions within that for linux.
- Primary : 100MB, NTFS system partition
- Primary : 60GB, NTFS Win7 install
- Primary : 40GB, NTFS "Storage"
- Extended : 40GB
- Logical : 500MB, ext4, mount-point /boot
- Logical : 2GB, swap
- Logical : 18GB, ext4, mount-point /
- Logical : 19.5GB, ext4, mount-point /home
Next, the installer should ask where to install the bootloader (GRUB). Here, the default setting usually writes a record in the hard drive's MBR which will point to the GRUB bootloader, which is good. The bootloader is a key component that helps starts gnu/linux systems, and lets us choose between Ubuntu and Win7. When the laptop boots, the bootloader is loaded first. It then gives us the choice of which OS we want to boot.
IF, for some reason, in the future we decided to re-install Win7, Win7 installer will overwrite the MBR record, to point towards its own bootloader, ignoring GRUB. This will prevent us from booting Ubuntu. To fix this, we can try EasyBCD which is like a custom bootloader for windows, which can also boot Linux. Another way (my preference), is to use a boot disk tool called boot-repair. You boot it, and there should be a default option to fix the MBR/GRUB. We can also boot ubuntu from live-cd, connect to internet, install boot-repair package to get the same effect.
This took me a whole lot of learning. First, I had to look for some guides on Ubuntu dual-boot setup. Next, to make sense of it all, had to look up more on hard drive partitioning subject.
In the end, it was worth it.