Re: Experiencing the Grub Error 17

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

 



Paul Smith:
>>> Disk /dev/sdc: 120.0 GB, 120033041920 bytes
>>> 255 heads, 63 sectors/track, 14593 cylinders
>>> Units = cylinders of 16065 * 512 = 8225280 bytes
>>>
>>>    Device Boot      Start         End      Blocks   Id  System
>>> /dev/sdc1   *           1        3187    25597952    6  FAT16
>>> /dev/sdc2            3188        3200      104422+  83  Linux
>>> /dev/sdc3            3201       14593    91514272+  8e  Linux LVM

>> I am trying the following, but getting a failure:
>>
>> grub> root (hd2,1)
>>  Filesystem type is ext2fs, partition type 0x83

Telling GRUB that GRUB's root is /dev/sdc2 (third hard drive, second
partition).  This would usually be your /boot partition, which'd have a
grub directory in it.

>> grub> setup (hd2,1)
>>  Checking if "/boot/grub/stage1" exists... yes
>>  Checking if "/boot/grub/stage2" exists... yes
>>  Checking if "/boot/grub/e2fs_stage1_5" exists... yes
>>  Running "embed /boot/grub/e2fs_stage1_5 (hd2,1)"... failed (this is not fatal)
>>  Running "embed /boot/grub/e2fs_stage1_5 (hd2,1)"... failed (this is not fatal)
>>  Running "install /boot/grub/stage1 (hd2,1) /boot/grub/stage2 p /boot/grub/menu.lst "... succeeded
>> Done.

The above all looks quite typical (that it worked, and you should be
able to boot your system, if your system is set to start booting from
that partition - either by BIOS or another bootloader chainloading to
this one).

However, /dev/sdc has three partitions, the first one being marked as
active, and being FAT16.  If your BIOS was going to try and boot from
that drive, I'd expect it to try booting the FAT16 partition, and never
seeing the subsequent Linux ones.  You'd have to be chainloading this
boot record from something else.

>> grub> setup (hd2,2)

Now you're trying to tell GRUB that GRUB's root (where your kernel and
GRUB's files usually both are), are in your LVM partition:  /dev/sdc3
(third drive, third partition).  This is wrong.

I don't know why you did that extra step.

I don't think I've seen you describe why you have three discs, and how
you intend to use them all together.  Which drive is the BIOS set to
boot up, and does that location use a boot menu to pick something else
to boot?  If so, how's it configured?

e.g. The system boots from the first partition on the first drive,
there's a GRUB menu there to boot from that drive, chainload a GRUB on
the second drive, or chainload a GRUB on the third drive, etc...  (and
show us the grub.conf or grub/menu.lst files.

-- 
(This computer runs FC7, my others run FC4, FC5 & FC6, in case that's
 important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux