grub: savedefault and boot once for F12

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

 



I have an old F9 production remote server. I put in a new hard disk -
sdb - and installed F12.

I want to be able to boot from sda to both my old trusted F9 and the new
F12. But I can't boot to F12.

grub can find the F12 kernel and initrd:

grub> find /vmlinuz-2.6.31.5-127.fc12.i686.PAE
find /vmlinuz-2.6.31.5-127.fc12.i686.PAE
   (hd1,0)
grub> find /initramfs-2.6.31.5-127.fc12.i686.PAE.img
find /initramfs-2.6.31.5-127.fc12.i686.PAE.img
   (hd1,0)

This is a remote server. And I want to make sure it's running
_something_.

I've set up grub.conf with fallback and savedefault, as you can see:

# grub.conf generated by anaconda
.........................
#boot=/dev/sda
default=saved
# default=0
fallback 0 1
timeout=5

title Fedora (2.6.27.25-78.2.56.fc9.i686)
	root (hd0,0)
	kernel /vmlinuz-2.6.27.25-78.2.56.fc9.i686 ro root=/dev/VolGroup00/LogVol00
	initrd /initrd-2.6.27.25-78.2.56.fc9.i686.img
          savedefault

title Fedora (2.6.27.24-78.2.53.fc9.i686)
	root (hd0,0)
	kernel /vmlinuz-2.6.27.24-78.2.53.fc9.i686 ro root=/dev/VolGroup00/LogVol00
	initrd /initrd-2.6.27.24-78.2.53.fc9.i686.img

title Fedora 12 (2.6.31.5-127.fc12.i686.PAE)
          root (hd1,0)
          kernel /vmlinuz-2.6.31.5-127.fc12.i686.PAE ro
root=/dev/mapper/vg_server-lv_root  LANG=en_US.UTF-8
SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us
          initrd /initramfs-2.6.31.5-127.fc12.i686.PAE.img
          savedefault 0

And grub does find the kernel and initrd on (hd1,0)

grub> find /vmlinuz-2.6.31.5-127.fc12.i686.PAE
find /vmlinuz-2.6.31.5-127.fc12.i686.PAE
   (hd1,0)
grub> find /initramfs-2.6.31.5-127.fc12.i686.PAE.img
find /initramfs-2.6.31.5-127.fc12.i686.PAE.img
   (hd1,0)

I then run "savedefault --default=2 --once" from the grub command line,
and reboot.

And it keeps booting F9. Any suggestions appreciated.

sean



-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux