[mythtv-users] Fedora Core 6 won't boot after installation (x86_64)?

Jarod Wilson jarod at wilsonet.com
Fri Jan 26 22:46:46 UTC 2007


On Jan 26, 2007, at 5:20 PM, Rich West wrote:

> 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).

Aw, crap, you're right. I knew something didn't seem quite right  
there... :)

--jarod



More information about the mythtv-users mailing list