Atualizando o /boot/grub/menu.lst no OpenSuSe 11.3

2

Eu compilei o kernel mais recente, e o menu.lst é atualizado da seguinte forma.
Meu objetivo é manter o outro kernel ao redor, de modo que, se o novo falhar, ainda possamos inicializar a partir do outro.

Esta é a maneira correta de conseguir isso?

# Modified by YaST2. Last modification on Thu Jan 19 17:10:38 IST 2012
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 2
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,1)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.3 - 3.2.1-12
    kernel (hd0,1)/boot/vmlinuz-3.2.1-12-desktop root=/dev/disk/by-id/ata-ST3250310AS_6RYNQEXY-part2 resume=/dev/disk/by-id/ata-ST3250310AS_6RYNQEXY-part1 splash=silent quiet showopts vga=0x31a

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.3 - 3.2.1-12
    kernel (hd0,1)/boot/vmlinuz-3.2.1-12-desktop root=/dev/disk/by-id/ata-ST3250310AS_6RYNQEXY-part2 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a


###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.3 - 2.6.34-12
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.34-12-desktop root=/dev/disk/by-id/ata-ST3250310AS_6RYNQEXY-part2 resume=/dev/disk/by-id/ata-ST3250310AS_6RYNQEXY-part1 splash=silent quiet showopts vga=0x31a
    initrd /boot/initrd-2.6.34-12-desktop


###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.3 - 2.6.34-12
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.34-12-desktop root=/dev/disk/by-id/ata-ST3250310AS_6RYNQEXY-part2 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.34-12-desktop
    
por Aquarius_Girl 20.01.2012 / 05:15

2 respostas

1

Estou usando o grub1, o meu parece com isso:

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz-linux root=/dev/sda3 resume=/dev/sda2 ro loglevel=3
initrd /initramfs-linux.img

# (1) Arch Linux backup
title  Arch Linux backup
root   (hd0,0)
kernel /vmlinuz-linux-backup root=/dev/sda3 resume=/dev/sda2 ro loglevel=3
initrd /initramfs-linux-backup.img

# (2) Arch Linux FB
title  Arch Linux Fallback
root   (hd0,0)
kernel /vmlinuz-linux root=/dev/sda3 ro quiet  
initrd /initramfs-linux-fallback.img

Além disso, ontem criei o kernel e fiz o mkinitcpio -p linux-new. A rede sem fio não funcionou. Então, reverti a versão antiga.

    
por 20.01.2012 / 05:26
0

Aqui está o meu menu.1st

default 1
timeout 8
gfxmenu (hd1,4)/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title Zen-Kernel - 3.0.3-zen
root (hd1,4)
kernel /boot/vmlinuz-3.0.3-zen rw root=/dev/sda7 rw resume=/dev/sda6 
showopts quiet fastboot raid=noautodetect radeon.modeset=1    
radeon.lowpower=1 radeon.dynpm=1 video=1440x900 acpi_osi="Linux"
pcie_aspm=force thermal.act=90 acpi.power_nocheck=1 init=/sbin/sysvinit 
nohz=off
    
por 21.01.2012 / 00:42