Wednesday, June 24, 2009

Installing Fedora on Dell laptops

Recently, I installed Fedora on one of my friend's laptop. It was already having Windows vista and we wanted to make it a dual boot system. However, after installing Fedora, Windows was not able to come up. Though, GRUB shows two operating systems in the system but selecting Other was not booting Windows.

We did some googling and found out that GRUB was misconfigured to boot the wrong partition for Vista. For example, Dell laptops often have a hidden utility partition as the first partition on the drive. Anaconda (the Fedora installer) is a sucker for falling for it as the Windows system partition. When that happens, a simple following tweak to the Fedora grub.conf file usually resolves the issue.
Modify /etc/grub.conf file -

title Other
rootnoverify (hd0,1)
chainloader +1


...to this...

title Vista
rootnoverify (hd0,2)
chainloader +1


Following is the output of fdisk -l

fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x88000000


Device Boot Start End Blocks Id System
/dev/sda1 1 15 120456 de Dell Utility
/dev/sda2 16 1321 10485760 7 HPFS/NTFS
/dev/sda3 * 1321 16324 120511484 7 HPFS/NTFS
/dev/sda4 16324 30401 113076929 f W95 Ext'd (LBA)
/dev/sda5 16324 26523 81920000 7 HPFS/NTFS
/dev/sda6 26524 26535 96358+ 83 Linux
/dev/sda7 26536 28447 15358108+ 83 Linux
/dev/sda8 28448 28702 2048256 82 Linux swap / Solaris
/dev/sda9 28703 30401 13647186 83 Linux

No comments:

Post a Comment