<---- template headericclude ----->
[SOLVED] XFCE FC17 install to disk does install grub
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 12 of 12
  1. #1
    Join Date
    Jun 2009
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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

  2. #2
    Join Date
    Dec 2006
    Posts
    2,088
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: XFCE FC17 install to disk does install grub

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

    Code:
    df -m

  3. #3
    Join Date
    Jun 2009
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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 ~]#

  4. #4
    Join Date
    May 2011
    Posts
    698
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: XFCE FC17 install to disk does install grub

    I would suggest that you change the thread title.
    Maybe 'Problem installing from live USB'.

  5. #5
    Join Date
    Jun 2009
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: XFCE FC17 install to disk does install grub

    How do I rename a thread?

  6. #6
    Join Date
    May 2011
    Posts
    698
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: XFCE FC17 install to disk does install grub

    Try editing the first post.

  7. #7
    Join Date
    Jun 2009
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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?

  8. #8
    Join Date
    Dec 2006
    Posts
    2,088
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: XFCE FC17 install to disk does install grub

    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:

    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.

  9. #9
    stevea Guest

    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.

  10. #10
    Join Date
    Jun 2009
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Re: XFCE FC17 install to disk does install grub

    Quote Originally Posted by stevea
    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

  11. #11
    Join Date
    Jun 2009
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: XFCE FC17 install to disk does install grub

    Quote Originally Posted by george_toolan
    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

  12. #12
    Join Date
    Jun 2009
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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.

Similar Threads

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]