Fedora Linux Support Community & Resources Center
  #1  
Old 19th June 2012, 03:13 AM
joycesavio Offline
Registered User
 
Join Date: Jun 2009
Posts: 13
linuxopera
XFCE FC17 Live USB: Install to hard disk does not install grub

Hello everyone,

I'm able to boot my samsung N-150 using the FC-17 XFCE live disk from a USB. however when I chosose the ooption to install to disk, my system fails to boot from the hard disk. I've attempted to use all combinations for installing to hard disk and failed.

I then tried installing grub2 manually using the command:

grub2-install /dev/sda

This failed with the following error:
[root@localhost ~]# grub2-install /dev/sda
/usr/share/grub/grub-mkconfig_lib: line 53: 4963 Segmentation fault (core dumped) "${grub_probe}" -t fs "$path" > /dev/null 2>&1
Path `/boot/grub2' is not readable by GRUB on boot. Installation is impossible. Aborting.
[root@localhost ~]#
I'm at a loss as to what to do next. Any pointers will be greatly appreciated.

Thanks.

Last edited by joycesavio; 22nd June 2012 at 01:55 AM. Reason: Renamed Thread from XFCE FC17 install to disk does install grub
Reply With Quote
  #2  
Old 19th June 2012, 11:44 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 2,077
linuxfirefox
Re: XFCE FC17 install to disk does install grub

So where is your /boot directory? Still on the usb drive?

Code:
df -m
Reply With Quote
  #3  
Old 19th June 2012, 06:13 PM
joycesavio Offline
Registered User
 
Join Date: Jun 2009
Posts: 13
linuxopera
Re: XFCE FC17 install to disk does install grub

During install, I tried the option to specify /boot as a new partition (/dev/sda1) as well as as part of the root partition (/dev/sda5).

I got no errors during the 'install to hard disk' operation in both cases. Since I couldn't boot without the USB I tried to manually install grub using the command above after booting using the USB.

---------- Post added at 10:43 PM ---------- Previous post was at 10:32 PM ----------

Code:
[root@localhost ~]# df -m
Filesystem          1M-blocks  Used Available Use% Mounted on
rootfs                   3065  2965        70  98% /
devtmpfs                  998     0       998   0% /dev
tmpfs                    1004     1      1004   1% /dev/shm
tmpfs                    1004     2      1003   1% /run
/dev/sdb1                7712  6151      1561  80% /run/initramfs/live
/dev/mapper/live-rw      3065  2965        70  98% /
tmpfs                    1004     0      1004   0% /sys/fs/cgroup
tmpfs                    1004     0      1004   0% /media
varcacheyum              1004     0      1004   0% /var/cache/yum
tmp                      1004     1      1004   1% /tmp
vartmp                   1004     0      1004   0% /var/tmp
/dev/sda5               20454  2711     17539  14% /run/media/liveuser/_Fedora-17-i686-
[root@localhost ~]#
Reply With Quote
  #4  
Old 19th June 2012, 07:25 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: XFCE FC17 install to disk does install grub

I would suggest that you change the thread title.
Maybe 'Problem installing from live USB'.
Reply With Quote
  #5  
Old 21st June 2012, 05:41 AM
joycesavio Offline
Registered User
 
Join Date: Jun 2009
Posts: 13
windows_7opera
Re: XFCE FC17 install to disk does install grub

How do I rename a thread?
Reply With Quote
  #6  
Old 21st June 2012, 02:58 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: XFCE FC17 install to disk does install grub

Try editing the first post.
Reply With Quote
  #7  
Old 22nd June 2012, 01:58 AM
joycesavio Offline
Registered User
 
Join Date: Jun 2009
Posts: 13
linuxopera
Re: XFCE FC17 install to disk does install grub

Changed the Thread name.

However, the issue still persists and Grub refuses to install to the HDD. Any suggestions how I get grub to work?
Reply With Quote
  #8  
Old 24th June 2012, 09:58 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 2,077
linuxfirefox
Re: XFCE FC17 install to disk does install grub

Quote:
Path `/boot/grub2' is not readable by GRUB on boot. Installation is impossible. Aborting.
The /boot directory is still on the usb drive and won't be available after a reboot:

Quote:
rootfs 3065 2965 70 98% /
/dev/mapper/live-rw 3065 2965 70 98% /
If you have a separate partition for /boot then you have to mount it. Otherwise try a symlink to the boot directory on your HDD.
Reply With Quote
  #9  
Old 24th June 2012, 10:30 AM
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,798
linuxfirefox
Re: XFCE FC17 install to disk does install grub

grub2-install --boot-directory=DIR /dev/sda
where DIR is replaces by a path to your boot directory on the hard disk.

Maybe DIR should be /run/media/liveuser/_Fedora-17-i686-/boot/grub2
verify.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #10  
Old 25th June 2012, 06:24 PM
joycesavio Offline
Registered User
 
Join Date: Jun 2009
Posts: 13
linuxopera
Unhappy Re: XFCE FC17 install to disk does install grub

Quote:
Originally Posted by stevea View Post
grub2-install --boot-directory=DIR /dev/sda
where DIR is replaces by a path to your boot directory on the hard disk.

Maybe DIR should be /run/media/liveuser/_Fedora-17-i686-/boot/grub2
verify.
Hello,

This took me one step further. Now instead of getting an error "Missing operating system", I reach the grub rescue prompt. Thanks.

Now to figure out how to configure grub2 to bo FC17 from the HDD.

Thanks for the help this far

I think I spoke too soon.

The system boots but throws an error "Cannot find file /grub/i386/..." Sorry I can't remember the filename. I'll have to reboot and write it down.

Grub2 seems to be causing more pain than gain. Installation with grub was always a breeze but I'm still struggling to get grub2 to boot off the HDD.

Last edited by joycesavio; 26th June 2012 at 02:22 AM. Reason: Update after trials
Reply With Quote
  #11  
Old 28th June 2012, 02:03 AM
joycesavio Offline
Registered User
 
Join Date: Jun 2009
Posts: 13
linuxopera
Re: XFCE FC17 install to disk does install grub

Quote:
Originally Posted by george_toolan View Post
The /boot directory is still on the usb drive and won't be available after a reboot:



If you have a separate partition for /boot then you have to mount it. Otherwise try a symlink to the boot directory on your HDD.
Thanks for this suggestion. I did mount the boot partition and then used the boot-directory option of grub to install. The install succeeded.

However, I've noticed that there had always been 'some' files and directories on the boot partition. What seems to be the matter is two things:
  1. Booting (Stage one in Grub)
  2. Finding the boot directory (stage 1.5? in grub)

Previously, nothing would happen. Now I get booted, but it can't find the FC17 install. So I'm still stuck
Reply With Quote
  #12  
Old 5th July 2012, 02:05 AM
joycesavio Offline
Registered User
 
Join Date: Jun 2009
Posts: 13
linuxopera
Smile Re: XFCE FC17 Live USB: Install to hard disk does not install grub

Finally I've managed to boot from my HDD. A friend of mine pointed me to this URL:
https://help.ubuntu.com/community/Gr...talling#ChRoot

Following the instructions for the "CHROOT" section I was able to boot into fedora using the HDD.

Thanks for your help everyone.
Reply With Quote
Reply

Tags
disk, fc17, grub, install, xfce

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fresh FC17 Install : gnome_control_control-center-3.4.2-1.fc17.i686 CORE DUMP reflex Installation, Upgrades and Live Media 1 2nd June 2012 03:05 AM
navit install on fc17 oystercatcher Guides & Solutions (No Questions) 0 29th May 2012 07:01 PM
Can't Get Additional Software to Install on FC17 wmichaelb F17 Development Forum 3 18th May 2012 08:52 PM
How to install grub to mbr from a rescue disk? skipper3k Installation, Upgrades and Live Media 1 23rd April 2005 01:21 AM
Install core from hard disk with grub elabdel Installation, Upgrades and Live Media 2 18th December 2004 07:26 AM


Current GMT-time: 14:06 (Friday, 29-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat