[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: remote access to boot loader?



Once upon a time, Peter Ruprecht <ruprech jilau1 Colorado EDU> said:
> I have a system that uses GRUB to dual-boot WindowsXP and RHEL 4.  It's
> in a remote location, so when it reboots I don't have console access to
> choose to boot the OS that's not the default.  Does anyone know of a
> clever way to address this problem?

You can change your grub.conf to have "default=saved".  Then you can go
into the GRUB shell (under Linux) and do:

# Point GRUB to the correct /boot filesystem (assumes first partition on
# first drive)
root (hd0,0)

# Set the first menu entry as default for the next boot only
savedefault --once --default=0

-- 
Chris Adams <cmadams hiwaay net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]