[mythtv-users] Fedora Core 6 won't boot after installation (x86_64)?
Rich West
Rich.West at wesmo.com
Fri Jan 26 22:20:37 UTC 2007
Jarod Wilson wrote:
> On Jan 26, 2007, at 9:09 AM, Greg Woods wrote:
>
>
>> On Fri, 2007-01-26 at 15:01 +0100, Sebastian Buks wrote:
>>
>>> There is no
>>> GRUB installed as this HTPC will run linux only (i.e. no DUAL-boot).
>>>
>> You still need a boot loader (GRUB or LILO, if LILO is even still
>> supported with FC6).
>>
>> But all is not lost. You can boot rescue mode from the DVD (type
>> "linux
>> rescue" at the boot: prompt), let it find your installation, and
>> install
>> GRUB. That will avoid the need to completely reinstall the OS. You can
>> do it something like this:
>>
>> # /mnt/sysimage/sbin/grub
>> [...]
>> grub> root (hd0,0)
>> [...]
>> grub> setup (hd0)
>>
>> That assumes that your root file system is on /dev/hda1 and that your
>> master drive (hda) is the boot device. YMMV. Otherwise you might
>> have to
>> adjust the "(hd0,0)" and "(hd0)" values accordingly.
>>
>
> After the rescue system is up, you *should* be able to do this
> instead, no guessing at values needed:
>
> # chroot /mnt/sysimage
> # grub-install
> # exit
> # exit (will trigger a reboot).
Actually, Jarod, you're close.. grub-install takes, at the very least,
one argument. :)
# chroot /mnt/sysimage
# grub-install <install_device>
Where <install_device> is your boot drive, either /dev/hda, /dev/sda, or whatever the drive is.
# exit
# exit (will trigger a reboot).
-Rich
More information about the mythtv-users
mailing list