Grub Reboot

David Villán R dvillan at mi.cl
Fri Apr 17 00:59:34 UTC 2009


# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,3)
# kernel /vmlinuz-version ro root=/dev/sda5
# initrd /initrd-version.img
#boot=/dev/sda4

default=saved
timeout=5
splashimage=(hd0,3)/grub/splash.xpm.gz
#hiddenmenu

title Fedora (2.6.27.21-78.2.41.fc9.i686)
      root (hd0,3)
      savedefault
      kernel /vmlinuz-2.6.27.21-78.2.41.fc9.i686 ro 
root=UUID=b8e1ec93-5862-4907-8840-8027cce44579 rhgb quiet
      initrd /initrd-2.6.27.21-78.2.41.fc9.i686.img


title Fedora (2.6.27.19-78.2.30.fc9.i686)
      root (hd0,3)
      savedefault
      kernel /vmlinuz-2.6.27.19-78.2.30.fc9.i686 ro 
root=UUID=b8e1ec93-5862-4907-8840-8027cce44579 rhgb quiet
      initrd /initrd-2.6.27.19-78.2.30.fc9.i686.img

# for other Linux System ( para otro Linux )
#We need to install  the '/boot' on the same partition. ( Instala  '/boot' 
en la Misma particion donde instalaste Linux)

title Red Hat 9
      root (hd0,6)        # boot Red Hat system ( Bootea RedHat)
      savedefault
      kernel /vmlinuz-2.6.25-14.fc9.i686 ro 
root=UUID=b8e1ec93-5862-4907-8840-8027cce44579 rhgb quiet
      initrd /initrd-2.6.25-14.fc9.i686.img

#for Windows Systems

#X- Poing ( XP )
     title Xp-Trabajo
     rootnoverify (hd0,0)
     chainloader +1
     makeactive
    savedefault
    boot

#Windows 2000 ( 2000 )
   title 2000
   rootnoverify (hd0,1)
   chainloader +1
   makeactive
   savedefault
   boot

#if we need to boot another Windows OS but on the slave Drive or second disk 
( si necesitas bootear otro Windows pero en el Segundo disco)

title Otro-Windows  # (Other Windows )
   map(hd0,hd1)       # swap partitions (Intercambia discos en la bios
   map(hd1,hd0)       #                          Ahora el Disco Duro 
'Master', es el 'Secundario')
                               # hd0 is now the slave partition
                               #and the second one, is the master
                               #now try this ( intenta con esta operacion)
   rootnoverify (hd1,0)
  chainloader +1
  makeactive
  savedefault
  boot
#
#my sys ( mi sistema ... )
#
#---------------------------------------------------------------------------------------------
[root at DeividNTBK ~]# lspci
00:00.0 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)
00:01.0 ISA bridge: nVidia Corporation MCP67 ISA Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP67 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)
00:01.3 Co-processor: nVidia Corporation MCP67 Co-processor (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller 
(rev a2)
00:02.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller 
(rev a2)
00:04.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller 
(rev a2)
00:04.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller 
(rev a2)
00:06.0 IDE interface: nVidia Corporation MCP67 IDE Controller (rev a1)
00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev 
a1)
00:08.0 PCI bridge: nVidia Corporation MCP67 PCI Bridge (rev a2)
00:09.0 IDE interface: nVidia Corporation MCP67 AHCI Controller (rev a2)
00:0a.0 Ethernet controller: nVidia Corporation MCP67 Ethernet (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
00:0d.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
00:12.0 VGA compatible controller: nVidia Corporation GeForce 7150M (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM 
Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
Miscellaneous Control
02:05.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 
05)
02:05.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host 
Adapter (rev 22)
02:05.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
02:05.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter 
(rev 12)
02:05.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg 
Wireless PCI Express Adapter (rev 01)
[root at DeividNTBK ~]#


Saludos
El Deivid

----- Original Message ----- 
From: "Gustavo Eli" <gustavoeli at unixdata.org>
To: <fedora-es-list at redhat.com>
Sent: Thursday, April 16, 2009 6:32 PM
Subject: Grub Reboot


How does the grub boot a specific operating system on Fedora?

For example, in Debian exists:

grub-reboot [num]

Thanks in advanced.

Gustavo Eli Pelcastre H.

--
Fedora-es-list mailing list
Fedora-es-list at redhat.com
To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-es-list 




More information about the Fedora-es-list mailing list