[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ubuntu 8.04] Grub Error 17 after HD partition resize

From: John Doe
Subject: [Ubuntu 8.04] Grub Error 17 after HD partition resize
Date: Fri, 15 Apr 2011 20:01:10 +0100 (BST)


I get the frustrating Grub Error 17 while starting, which looks like this :

Grub Loading stage1.5.

Grub loading, please wait...

Error 17


This happen after a resizing partition I've done like follow :

Step 1- Successful decrease of the ubuntu partition (by the left) using Gparted runned from ubuntu live-CD.
As a result of Step 1, I've got an unallocated partition which was between the windows one and the ubuntu one, everything was ok because I succesfully reboot my system and using Grub menu, I loaded my windows XP Media Center Edition without any problem.

Step 2- From Windows I extended the windows partition to the unallocated one and there problems began. The system asked me to restart and then the extension was done and finally when the system restart again I get the Grub Error 17 as described on the top.

Step 3- I runned the ubuntu live-CD to try to fix the problem and I do the following :

Step 3-1- Gparted looks like the atached screenshot Gparted_now.jpeg.
Step 3-2- I went to the Terminal :

$ sudo grub

grub> find /find/grub/stage1

Error 15 : File not found

grub> root (hd0,4) #as described on my /boot/grub/menu.lst

grub> setup (hd0)

Error 17 : Cannot mount selected partition



Step 4- I downloaded and run the "bootinfoscript" from and I joined to this e-mail the file RESULTS.txt which was generated by the script.

Step 5- I've also tried to reinstall Grub.

$ sudo grub-install /dev/sda
Probing devices to guess BIOS drives. This may take a long time.
Could not find device for /boot: Not found or not a block device.


Step 6- I let Gparted to check the sda5 partition and here is the detailed report.


GParted 0.3.5

Libparted 1.7.1

Check and repair filesystem (ext3) on /dev/sda5  03:14    ( SUCCES )
calibrate /dev/sda5  00:00    ( SUCCES )
path: /dev/sda5
start: 400323735
end: 598292729
size: 197968995 (94.40 GiB)
check filesystem on /dev/sda5 for errors and (if possible) fix them  03:14    ( SUCCES )
e2fsck -f -y -v /dev/sda5
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

253365 inodes used (4.09%)
2003 non-contiguous inodes (0.8%)
# of inodes with ind/dind/tind blocks: 11237/121/1
12525039 blocks used (50.61%)
0 bad blocks
2 large files

197028 regular files
31672 directories
69 character device files
26 block device files
2 fifos
520 links
24551 symbolic links (22013 fast symbolic links)
8 sockets
253876 files
e2fsck 1.40.8 (13-Mar-2008)
grow filesystem to fill the partition  00:00    ( SUCCES )
resize2fs /dev/sda5
resize2fs 1.40.8 (13-Mar-2008)
The filesystem is already 24746124 blocks long. Nothing to do!


The other BIG problem is that I can only access my ubuntu partition and not the windows one from the ubuntu live-CD and to my eyes it doesn't make any sens. You can get a glance to access_windows.jpg to see the error message I get when I try to open the windows partition from the graphique menu.

Now, I don't know what to do and I don't want to scew it up.

Should I reinstall the ubuntu lastest version on hda5 to solve the problem ?

So please help...


Attachment: Gparted_now.jpg
Description: JPEG image

Attachment: access_windows.jpg
Description: JPEG image

Attachment: RESULTS.txt
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]