LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2012, 02:57 PM   #1
arnab.linux
LQ Newbie
 
Registered: Feb 2012
Posts: 2

Rep: Reputation: Disabled
Grub error 17


I have installed fedora 16 in my computer where previously I was using OpenSUSE 12.1. After installing fedora 16 the grub loader is some how corrupted. I am getting the grub error - error code 17.

I have two hard disc drive in my system (one is 250 GB and another is 1TB)and installed windows 7 in 250 GB hard disc and Fedora 16 in my second hard disc where I had OpenSUSE earlier. I have choosen the option to use the existing linux partition while installing fedora.

"sudo fdisk -l" shows like below -

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00400040

Device Boot Start End Blocks Id System
/dev/sda1 * 63 20482874 10241406 7 HPFS/NTFS/exFAT
/dev/sda2 102398373 184313744 40957686 7 HPFS/NTFS/exFAT
/dev/sda3 20482875 488392064 233954595 f W95 Ext'd (LBA)
/dev/sda5 20482938 62428589 20972826 7 HPFS/NTFS/exFAT
/dev/sda6 62428653 102398309 19984828+ 7 HPFS/NTFS/exFAT
/dev/sda7 184313808 268205174 41945683+ 7 HPFS/NTFS/exFAT
/dev/sda8 268205238 352096604 41945683+ 7 HPFS/NTFS/exFAT
/dev/sda9 352096668 435988034 41945683+ 7 HPFS/NTFS/exFAT
/dev/sda10 435988098 488392064 26201983+ 7 HPFS/NTFS/exFAT

Partition table entries are not in disk order

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00054526

Device Boot Start End Blocks Id System
/dev/sdb1 16065 1530914174 765449055 f W95 Ext'd (LBA)
/dev/sdb2 * 1530914816 1531938815 512000 83 Linux
/dev/sdb3 1531938816 1953523711 210792448 8e Linux LVM
/dev/sdb5 16128 629153594 314568733+ 7 HPFS/NTFS/exFAT
/dev/sdb6 629153658 1530914174 450880258+ 7 HPFS/NTFS/exFAT

Disk /dev/mapper/live-rw: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders, total 8388608 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/live-rw doesn't contain a valid partition table

Disk /dev/mapper/live-osimg-min: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders, total 8388608 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/live-osimg-min doesn't contain a valid partition table

Disk /dev/mapper/VolGroup-lv_swap: 4227 MB, 4227858432 bytes
255 heads, 63 sectors/track, 514 cylinders, total 8257536 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/VolGroup-lv_swap doesn't contain a valid partition table

Please help me to recover the grub loader
 
Old 02-25-2012, 03:11 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Go to grub error 17
http://www.gentoo.org/doc/en/grub-error-guide.xml
 
Old 02-25-2012, 03:19 PM   #3
arnab.linux
LQ Newbie
 
Registered: Feb 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
I am not able to find the grub.conf file in my system. It is not in /boot/grub location.
 
Old 02-25-2012, 03:30 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
That's where mine is.
Is it possible that it got erased?
Can you reinstall grub?
Sdb is also missing the 16064
Quote:
Device Boot Start End Blocks Id System
/dev/sdb1 16065 1530914174 765449055 f W95 Ext'd (LBA)
/dev/sdb2 * 1530914816 1531938815 512000 83 Linux
/dev/sdb3 1531938816 1953523711 210792448 8e Linux LVM
/dev/sdb5 16128 629153594 314568733+ 7 HPFS/NTFS/exFAT
/dev/sdb6 629153658 1530914174 450880258+ 7 HPFS/NTFS/exFAT
 
Old 02-25-2012, 03:55 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,332

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
When you installed Fedora, did you select to install the Grub bootloader to the master boot record?
If so, to which drive? sda? sdb?
If you use the Fedora CD, mount sdb2 which is probably your boot partition and see what you have there. I dont' have Fedora installed but have installed Fedora 16 and my recollection is that it has both a /boot/grub and a /boot/grub2 directory.

You can get the most detailed information to post here for help by downloading the bootinfoscript, running it and posting the results.txt file here.

http://sourceforge.net/projects/bootinfoscript/
 
Old 02-25-2012, 04:23 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,953

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
That error message is from the original grub. F16 uses grub2.
I would guess the F16 install didn't reformat the /boot but merely used (added to) it. And didn't re-write the MBR.
grub wouldn't be able to handle that LVM - simply writing grub2 to the MBR should fix it.

bootinfoscript should confirm all that.
 
1 members found this post helpful.
  


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: unknown filesystem, grub rescue nnjond Linux - Newbie 4 12-26-2011 08:46 PM
grub error 17, but 'sudo grub' = command not found davidstvz Ubuntu 2 08-02-2010 10:09 AM
[SOLVED] Grub can't find grub.cfg when booting - error: no such device Breagha Linux - Software 8 03-14-2010 01:40 PM
install kubuntu 8.10 with lilo rather than grub (because of grub error 18) dukeinlondon Ubuntu 7 12-27-2008 07:53 PM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration