after install and reboot i got error 18

Asked by agohel

i installed the 8.04 version on my computer, i have xp on a 250 gb partition and i put ubuntu on 150 gb partition with an empty 80 gb partition, that was the first time after reading some of the other reviews i cahnged my bios to large since it was already on auto, that did not help and then i put a 500 mg partition with a /boot mount point.

i want to try to have a dual boot system also everytime i reboot it comes with the error 18 message

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub Edit question
Assignee:
No assignee Edit question
Solved by:
Wyatt Smith
Solved:
Last query:
Last reply:
Revision history for this message
Wyatt Smith (wyatt-smith) said :
#1

Boot to LiveCd and please tell output of...

sudo fdisk -lu

Thanks

Revision history for this message
agohel (agohel1) said :
#2

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x34b134b0

   Device Boot Start End Blocks Id System
/dev/sda1 * 63 512007614 256003776 7 HPFS/NTFS
/dev/sda2 512007615 976751999 232372192+ f W95 Ext'd (LBA)
/dev/sda5 819202608 976751999 78774696 7 HPFS/NTFS
/dev/sda6 512007741 519815204 3903732 82 Linux swap / Solaris
/dev/sda7 519815268 520795169 489951 83 Linux
/dev/sda8 520795233 819202544 149203656 83 Linux

Partition table entries are not in disk order

Revision history for this message
agohel (agohel1) said :
#3

i am on live cd right now

Revision history for this message
Wyatt Smith (wyatt-smith) said :
#4

Your are on the right track...

The boot partition you have created is not in the beginning of you HDD, so the boot files are still beyond the range of your BIOS.

The best solution usually is to just create a ~200 MB partition at the beginning of your HDD, and then when you install Ubuntu, set that partition with a /boot mount point so all your boot files go there. You can use Ubuntu's partition editor (System > Admininstration > Partition Editor) to shrink your first partition at the beginning and create a ~200 MB partition for /boot at the beginning of the HDD.

Revision history for this message
agohel (agohel1) said :
#5

i erased my entire hardrive put in xp and then i made /boot my primary partition and i have this:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x34b134b0

   Device Boot Start End Blocks Id System
/dev/sda1 * 63 409593239 204796588+ 7 HPFS/NTFS
/dev/sda2 409593240 411585299 996030 83 Linux
/dev/sda3 411585300 976768064 282591382+ 5 Extended
/dev/sda5 820519875 976768064 78124095 b W95 FAT32
/dev/sda6 812696283 820503809 3903763+ 82 Linux swap / Solaris
/dev/sda7 411585426 812680154 200547364+ 83 Linux

Partition table entries are not in disk order

its does say the enties are not in order ^^

when i reboot it gives me error 17

Revision history for this message
Best Wyatt Smith (wyatt-smith) said :
#6

Please notice

    Device Boot Start End Blocks Id System
/dev/sda1 * 63 409593239 204796588+ 7 HPFS/NTFS

This is the first partition on your drive. Look at the Start and End blocks, this is still beyond the range of your BIOS. You need to use shrink your windows partition by freeing up space in front of it. Then create a primary partition in the free space to use as /boot partition.

More more information please read:
http://gparted.sourceforge.net/larry/resize/resizing.htm

Revision history for this message
agohel (agohel1) said :
#7

i made a gparted live cd and made sure that the /boot partition was in the very front and it worked, thank you for the help, im glad to be a linux user