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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-17-2012, 02:28 PM
|
#1
|
Member
Registered: Apr 2005
Posts: 104
Rep:
|
Cannot find a GRUB drive for bootpart error
Hello,
I installed Fedora 17 today. Problem that occurred is that it did not wanted to boot.
Following insttructions from http://docs.fedoraproject.org/en-US/...all-bootloader, I entered into rescue system, and tried to reinstall GRUB.
But, when I tried command that is mentioned there:
Code:
/sbin/grub2-install bootpart
... it returned the following error:
Code:
/usr/sbin/grub2-probe: error: cannot find a GRUB drive for bootpart. Check your device.map
My device.map looks like this:
Code:
# this device.map was generated by anaconda
(hd0) /dev/sda
(hd1) /dev/sdb
(hd2) /dev/sdc
(hd3) /dev/sdd
(hd4) /dev/sde
Just to mention that I have RAID partitions on hd1 and hd2, but I think that can not cause this problem.
Can you help me how to fix this problem? Thank you in advance!
|
|
|
07-17-2012, 02:37 PM
|
#2
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,782
|
Is Fedora the only operating system installed?
Did you create a separate boot partition?
You could boot the Fedora CD and go to the site below and download and run the bootinfoscript. This will give information about drives/partitions and boot files you can review or post here for help.
http://sourceforge.net/projects/bootinfoscript/
|
|
|
07-17-2012, 02:45 PM
|
#3
|
Member
Registered: Apr 2005
Posts: 104
Original Poster
Rep:
|
Mistake in my question... I executed a command
Code:
/sbin/grub2-install sda
Yes, I do have separate /boot partition
Yes, Fedora is only system installed.
Last edited by proNick; 07-17-2012 at 02:54 PM.
|
|
|
07-17-2012, 09:26 PM
|
#4
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,236
|
That should presumably be "/dev/sda" - as the document you referred to said.
We can't help if you refuse to supply valid info.
|
|
|
07-18-2012, 07:19 AM
|
#5
|
Member
Registered: Apr 2005
Posts: 104
Original Poster
Rep:
|
Sure, here are results of bootinfoscript (also I removed RAID, hoping it will change, but still the same):
Code:
Boot Info Script 0.61 [1 April 2012]
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
in partition 99 for .
=> No boot loader is installed in the MBR of /dev/sdb.
=> No boot loader is installed in the MBR of /dev/sdc.
=> No boot loader is installed in the MBR of /dev/sdd.
=> No boot loader is installed in the MBR of /dev/sde.
=> FreeDOS (eXtended FDisk) is installed in the MBR of /dev/sdf.
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Fedora release 17 (Beefy
Miracle) Kernel on an ()
Boot files: /etc/fstab
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdc1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdd1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sde1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdf1: __________________________________________________________________________
File system: vfat
Boot sector type: Windows 7: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 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
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 1,026,047 1,024,000 83 Linux
/dev/sda2 1,026,048 11,266,047 10,240,000 82 Linux swap / Solaris
/dev/sda3 11,266,048 1,953,523,711 1,942,257,664 83 Linux
Drive: sdb _____________________________________________________________________
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
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 2,048 1,953,523,711 1,953,521,664 83 Linux
Drive: sdc _____________________________________________________________________
Disk /dev/sdc: 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
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdc1 2,048 1,953,523,711 1,953,521,664 83 Linux
Drive: sdd _____________________________________________________________________
Disk /dev/sdd: 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
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdd1 2,048 1,953,523,711 1,953,521,664 83 Linux
Drive: sde _____________________________________________________________________
Disk /dev/sde: 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
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sde1 2,048 1,953,523,711 1,953,521,664 83 Linux
Drive: sdf _____________________________________________________________________
Disk /dev/sdf: 2051 MB, 2051013632 bytes
33 heads, 63 sectors/track, 1926 cylinders, total 4005886 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdf1 32 4,005,885 4,005,854 b W95 FAT32
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/loop1 758e0768-f22c-48a8-919d-23054ed0707a ext4 Anaconda
/dev/mapper/live-rw 758e0768-f22c-48a8-919d-23054ed0707a ext4 Anaconda
/dev/sda1 95d46fae-fce4-4ec8-a3ac-8443ed759b39 ext4
/dev/sda2 7ec972ae-bad4-47da-a5a8-3111b9616012 swap
/dev/sda3 11312b13-1bb4-491c-8aaa-96fc090e80ad ext4
/dev/sdb1 3c80d339-adf1-41cc-80ab-2d9850c95242 ext4
/dev/sdc1 26990b63-cf2d-4be4-ab2f-7349e86fc884 ext4
/dev/sdd1 a52078d2-11d5-4118-b856-975ee6ef4d48 ext4
/dev/sde1 790b1b45-a082-483f-b9de-e9337cce69a0 ext4
/dev/sdf1 A4F5-9F66 vfat MYUSB
/dev/sr0 iso9660 Fedora 17 x86_64
========================= "ls -R /dev/mapper/" output: =========================
/dev/mapper:
control
live-rw
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/devpts /mnt/sysimage/dev/pts devpts (rw,relatime,seclabel,gid=5,mode=620,ptmxmode=000)
/dev/mapper/live-rw / ext4 (rw,relatime,seclabel,user_xattr,barrier=1,data=ordered)
/dev/proc /mnt/sysimage/proc proc (rw,relatime)
/dev/sda1 /mnt/sysimage/boot ext4 (rw,relatime,seclabel,user_xattr,barrier=1,data=ordered)
/dev/sda3 /mnt/sysimage ext4 (rw,relatime,seclabel,user_xattr,barrier=1,data=ordered)
/dev/sdb1 /mnt/sysimage/digital ext4 (rw,relatime,seclabel,user_xattr,barrier=1,data=ordered)
/dev/sdc1 /mnt/sysimage/home ext4 (rw,relatime,seclabel,user_xattr,barrier=1,data=ordered)
/dev/sdd1 /mnt/sysimage/additional1 ext4 (rw,relatime,seclabel,user_xattr,barrier=1,data=ordered)
/dev/sde1 /mnt/sysimage/additional2 ext4 (rw,relatime,seclabel,user_xattr,barrier=1,data=ordered)
/dev/sdf1 /media vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=ascii,shortname=mixed,errors=remount-ro)
/dev/selinuxfs /mnt/sysimage/sys/fs/selinux selinuxfs (rw,relatime)
/dev/sr0 /run/initramfs/live iso9660 (ro,relatime)
/dev/sysfs /mnt/sysimage/sys sysfs (rw,relatime,seclabel)
/dev/tmpfs /mnt/sysimage/dev/shm tmpfs (rw,relatime,seclabel)
=============================== sda3/etc/fstab: ================================
--------------------------------------------------------------------------------
#
# /etc/fstab
# Created by anaconda on Wed Jul 18 21:44:34 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=11312b13-1bb4-491c-8aaa-96fc090e80ad / ext4 defaults 1 1
UUID=a52078d2-11d5-4118-b856-975ee6ef4d48 /additional1 ext4 defaults 1 2
UUID=790b1b45-a082-483f-b9de-e9337cce69a0 /additional2 ext4 defaults 1 2
UUID=95d46fae-fce4-4ec8-a3ac-8443ed759b39 /boot ext4 defaults 1 2
UUID=3c80d339-adf1-41cc-80ab-2d9850c95242 /digital ext4 defaults 1 2
UUID=26990b63-cf2d-4be4-ab2f-7349e86fc884 /home ext4 defaults 1 2
UUID=7ec972ae-bad4-47da-a5a8-3111b9616012 swap swap defaults 0 0
--------------------------------------------------------------------------------
=============================== StdErr Messages: ===============================
No volume groups found
mdadm: No arrays found in config file or automatically
|
|
|
07-18-2012, 08:38 AM
|
#6
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,782
|
I'm not sure how this happened but your bootinfoscript shows Grub2 in the mbr of sda looking on partition "99" for boot files!! Obviously, you have no partition 99. Also, if you look at your partitions (sda1, sda3) for Fedora, there are no boot files. You could boot your Fedora CD, mount sda1 and try running the command below. I'm not a Fedora user but you may need to use grub2 in the command?
Quote:
grub-install --boot-directory=/mnt/sda1 /mnt/sda
|
|
|
|
07-18-2012, 08:45 AM
|
#7
|
Member
Registered: Apr 2005
Posts: 104
Original Poster
Rep:
|
Ok, will try.
Why do I have this problem? Is it connected to Linux distro, or to the fact that I have separate partition for /boot?
|
|
|
07-18-2012, 09:07 AM
|
#8
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
Are you getting grub prompt?
|
|
|
07-18-2012, 09:44 AM
|
#9
|
Member
Registered: Apr 2005
Posts: 104
Original Poster
Rep:
|
No, no boot prompt at all.
Only messages like "Media test failure, check cable". But that's not the reason, HDD's are there, Fedora is installed, I can access to it's partitions with rescue DVD, but I can not boot it.
|
|
|
07-18-2012, 02:21 PM
|
#10
|
Member
Registered: Apr 2005
Posts: 104
Original Poster
Rep:
|
Tried with CentOS. Same problem.....
|
|
|
07-18-2012, 03:47 PM
|
#11
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,782
|
Your bootinfoscript shows the mbr has Grub but you don't have any Grub boot files on any of your partitions. Which option for bootlaoder did you select during the installation? You should have had at least to the root partition, mbr and probably boot partition. I've not used RAID so I don't know what impace that might have had.
Use your Fedora CD/DVD and mount sda1 and sda3 and look for /boot/grub to see what files if any you have.
Having a separat boot partition should not be a big problem.
|
|
|
07-18-2012, 04:09 PM
|
#12
|
Member
Registered: Apr 2005
Posts: 104
Original Poster
Rep:
|
I have "everything I need" in /boot/grub, directory is not empty or something.
Is this some issue with BIOS setup or something? Same issue with two Linux distros, tried with and without RAID...
|
|
|
All times are GMT -5. The time now is 01:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|