Thursday, August 31, 2017

partitioning - How to repartition my drive for dual booting Ubuntu and Windows


I need to repartition my drive so that I can dual boot windows and Ubuntu. I have an older laptop so I need to have the kernel in a BIOS accessible partion. With my current partition layout as done by ubuntu's dual boot default setup:


Drive layout
/dev/sda1 -ntfs 128GB -boot
/dev/sda2 -extended 170GB -lba
/dev/sda5 -ntfs 167.59GB
/dev/sda6 -ext3 2.33GB
/dev/sda7 -linux-swap 172MB

I get a Grub error 18 indicating that Grub can't access the kernel.


What should I move where using GParted?


Answer



In order for your older BIOS to find your kernel, it must be within the 137GB limit, which is the first 137GBs. Your current setup has the only ext3 partition much past this. As others have noted, you are really going to be space-starved once you get to the Ubuntu install anyway. My suggestion is to shrink the size of /dev/sda1 by 15-20GB, and make a /dev/sda3 which is inbetween /dev/sda1 and /dev/sda2. This should be your new root partition for Ubuntu.


No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...