LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-31-2007, 08:30 AM   #1
fillister
Member
 
Registered: Feb 2007
Posts: 36

Rep: Reputation: 15
Reinstall of win XP causes error 17 on Grub


Hello, well as usual I had to reinstall windows to repair some problems, fortunately I don't have to use it much anymore.
Unfortunately I had to delete the partition that windows was located on and then reload windows. Upon restart I noticed that Grub was missing and my computer booted directly in to windows. So I booted up my Ubuntu live 7.04 cd and after a little research I found and downloaded "Super Grub". This nice tool easily restored my Grub boot menu and I thought that I was home free, so I verified that I could boot into windows but I found that when I tried to boot into Ubuntu the following message appeared "root hd0,3 file system type unknown Error 17".

So I am hoping that after reviewing the information below someone might be able to help me get my beloved ubuntu up and running again.

Fdisk -l

Code:
Disk /dev/sda: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3916    31455238+   7  HPFS/NTFS
/dev/sda2            3917        4110     1558305   82  Linux swap / Solaris
/dev/sda3            4111       10443    50869822+  83  Linux
/dev/sda4           10444       36483   209166300    f  W95 Ext'd (LBA)
/dev/sda5           10444       18276    62918541    7  HPFS/NTFS
/dev/sda6           18277       19581    10482381    7  HPFS/NTFS
/dev/sda7           19582       19777     1574338+   7  HPFS/NTFS
/dev/sda8           19778       36483   134190913+   7  HPFS/NTFS

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

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb2   *           2       30401   244188000    f  W95 Ext'd (LBA)
/dev/sdb5               2       30401   244187968+   b  W95 FAT32

Fstab

Code:
# /etc/fstab: static file system information.
#
#  -- This file has been automaticly generated by ntfs-config -- 
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

proc /proc proc defaults 0 0
# /dev/sda4 -- converted during upgrade to edgy
UUID=f2911d14-b2b1-4f34-a848-54fb1f004df0 / ext3 defaults,errors=remount-ro 0 1
# /dev/sda1 -- converted during upgrade to edgy
UUID=E0689F61689F34EE /media/sda1 ntfs-3g defaults,locale=en_US.UTF-8 0 1
# /dev/sda5 -- converted during upgrade to edgy
UUID=9E30929B30927A4B /media/sda5 ntfs-3g defaults,locale=en_US.UTF-8 0 1
# /dev/sda6 -- converted during upgrade to edgy
UUID=8A30D9A130D99513 /media/sda6 ntfs-3g defaults,locale=en_US.UTF-8 0 1
# /dev/sda7 -- converted during upgrade to edgy
UUID=8E3051993051895B /media/sda7 ntfs-3g defaults,locale=en_US.UTF-8 0 1
# /dev/sda8 -- converted during upgrade to edgy
UUID=F8303E3A303DFFE4 /media/sda8 ntfs-3g defaults,locale=en_US.UTF-8 0 1
# /dev/sdb5 -- converted during upgrade to edgy
UUID=B900-E401 /media/sdb5 vfat defaults,utf8,umask=007,gid=46 0 1
# /dev/sda2 -- converted during upgrade to edgy
UUID=f5ee9cc0-8ee4-4c04-9987-47f5e4f0fb1a none swap sw 0 0
/dev/hde /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
Menu.list

Code:
title		Ubuntu, kernel 2.6.20-16-386
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.20-16-386 root=UUID=f2911d14-b2b1-4f34-a848-54fb1f004df0 ro quiet splash acpi=force 
initrd		/boot/initrd.img-2.6.20-16-386
savedefault

title		Ubuntu, kernel 2.6.20-16-386 (recovery mode)
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.20-16-386 root=UUID=f2911d14-b2b1-4f34-a848-54fb1f004df0 ro single
initrd		/boot/initrd.img-2.6.20-16-386

title		Ubuntu, kernel 2.6.20-15-386
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.20-15-386 root=UUID=f2911d14-b2b1-4f34-a848-54fb1f004df0 ro quiet splash
initrd		/boot/initrd.img-2.6.20-15-386
savedefault

title		Ubuntu, kernel 2.6.20-15-386 (recovery mode)
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.20-15-386 root=UUID=f2911d14-b2b1-4f34-a848-54fb1f004df0 ro single
initrd		/boot/initrd.img-2.6.20-15-386

title		Ubuntu, kernel 2.6.17-11-386
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.17-11-386 root=UUID=f2911d14-b2b1-4f34-a848-54fb1f004df0 ro quiet splash
initrd		/boot/initrd.img-2.6.17-11-386
savedefault

title		Ubuntu, kernel 2.6.17-11-386 (recovery mode)
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.17-11-386 root=UUID=f2911d14-b2b1-4f34-a848-54fb1f004df0 ro single
initrd		/boot/initrd.img-2.6.17-11-386

title		Ubuntu, kernel 2.6.15-28-386
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.15-28-386 root=UUID=f2911d14-b2b1-4f34-a848-54fb1f004df0 ro quiet splash
initrd		/boot/initrd.img-2.6.15-28-386
savedefault

title		Ubuntu, kernel 2.6.15-28-386 (recovery mode)
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.15-28-386 root=UUID=f2911d14-b2b1-4f34-a848-54fb1f004df0 ro single
initrd		/boot/initrd.img-2.6.15-28-386

title		Ubuntu, kernel 2.6.15-26-386
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.15-26-386 root=UUID=f2911d14-b2b1-4f34-a848-54fb1f004df0 ro quiet splash
initrd		/boot/initrd.img-2.6.15-26-386
savedefault

title		Ubuntu, kernel 2.6.15-26-386 (recovery mode)
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.15-26-386 root=UUID=f2911d14-b2b1-4f34-a848-54fb1f004df0 ro single
initrd		/boot/initrd.img-2.6.15-26-386

title		Ubuntu, memtest86+
root		(hd0,3)
kernel		/boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title		Microsoft Windows XP Professional
root		(hd0,0)
savedefault
makeactive
chainloader	+1
Thank
you for your help
 
Old 07-31-2007, 08:50 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Try changing all the (Ubuntu) "root (hd0,3)" to "root (hd0,2)".
Can be tested from the grub prompt by following the prompts to edit the selection you want to boot.
Once in, update menu.lst
 
Old 07-31-2007, 12:38 PM   #3
fillister
Member
 
Registered: Feb 2007
Posts: 36

Original Poster
Rep: Reputation: 15
Syg00, that worked perfectly!!! thank you very much.

But I would like to ask one more question, why hd0,2 isn't that the linux swap partition?


This place is a great resource, every time I dig myself into a hole you guys always find a way to toss me a ladder so I can climb out!!
 
Old 07-31-2007, 05:40 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by fillister
why hd0,2 isn't that the linux swap partition?
Nope - grub counts partitions, like disks, from zero.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 10:29 AM
Grub error 15 at boot, error 20 at reinstall serafean Linux - Software 4 08-17-2006 01:47 PM
win xp reinstall killed grub (and/or fedora 5?) ju_medea Fedora 1 07-28-2006 07:45 AM
GRUB Error 17 after reinstall of XP (FC 2) centrepid Linux - Newbie 1 07-20-2005 04:59 PM
Restoring grub after win reinstall praveendasigi Linux - Distributions 1 01-25-2005 11:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration