Mailinglist Archive: opensuse (3065 mails)

< Previous Next >
Re: [opensuse] mkinitrd failure (raid related?)
  • From: Rui Santos <rsantos@xxxxxxxxxxxxx>
  • Date: Sun, 01 Jun 2008 16:06:33 +0100
  • Message-id: <4842BAF9.7020500@xxxxxxxxxxxxx>
Hi Michael,

I assume, like me, you've just upgrade your kernel to 2.6.25.
By doing that, you also needed a new udev ( probably v120 ) and with it, new mkinitrd versions, among others. Since you claimed you installed kernel from KOTD, I'm assuming you installed all of required dependencies.

When I upgraded, I also had an mkinitrd problem. Not like yours but lets see if my solution also works for you.

It seems, according to your menu.lst file, that you've been doing upgrade after upgrades. Clean that file to just hold your needed boot options ( just an example ):

# Modified by YaST2. Last modification on Sat May 31 14:44:26 EDT 2008
default 4
timeout 8
gfxmenu (hd1,0)/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.3
kernel (hd1,0)/vmlinuz root=/dev/md2 vga=0x317 noresume showopts
initrd (hd1,0)/initrd

###Don't change this comment - YaST2 identifier: Original name: memtest86###
title Memory Test (memtest86+)
kernel (hd1,0)/memtest.bin root=/dev/md2

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.3
kernel /vmlinuz root=/dev/md2 vga=normal showopts ide=nodma apm=off acpi=off noresume edd=off 3
initrd /initrd

The idea is just to use the links at /boot/vmlinuz and /boot/initrd. Keep it simple. I also removed the XEN entry - Add it if all works well.

After all this is done, just issue as root, the mkinitrd command and check if all builds well.

You should also take Joe Morris advice into consideration. Do not use resume on a SW-RAID swap.

Hope this helps you,
Rui Santos



Michael Fischer wrote:
On Sun, Jun 01, Rui Santos wrote:
Hi Michael,

Could you please paste your grub's menu.lst file ( or lilo's, ou whatever ) ?



# Modified by YaST2. Last modification on Sat May 31 14:44:26 EDT 2008
default 4
timeout 8
gfxmenu (hd1,0)/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.3 - 2.6.25.4-14
kernel (hd1,0)/vmlinuz-2.6.25.4-14-default root=/dev/md2 vga=0x317 noresume
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.3 - 2.6.25.4-14
kernel (hd1,0)/vmlinuz-2.6.25.4-14-default root=/dev/md2 vga=normal
showopts ide=nodma apm=off acpi=off noresume edd=off 3

###Don't change this comment - YaST2 identifier: Original name: linux###
title 2.6.25.4 -- openSUSE 10.3 - 2.6.25.4
kernel (hd1,0)/vmlinuz-2.6.25.4 root=/dev/md2 vga=0x317 resume=/dev/md1
showopts

###Don't change this comment - YaST2 identifier: Original name:
linux-2.6.24-rc5-git2-10-default###
title openSUSE 10.3 - 2.6.24-rc5-git2-10
root (hd1,0)
kernel /vmlinuz-2.6.24-rc5-git2-10-default root=/dev/md2 vga=0x317
resume=/dev/md1 showopts
initrd /initrd-2.6.24-rc5-git2-10-default

###Don't change this comment - YaST2 identifier: Original name:
failsafe-2.6.24-rc5-git2-10-default###
title Failsafe -- openSUSE 10.3 - 2.6.24-rc5-git2-10
root (hd1,0)
kernel /vmlinuz-2.6.24-rc5-git2-10-default root=/dev/md2 vga=normal
showopts ide=nodma apm=off acpi=off noresume edd=off 3
initrd /initrd-2.6.24-rc5-git2-10-default

###Don't change this comment - YaST2 identifier: Original name:
linux-2.6.22.17-0.1-default###
title openSUSE 10.3 - 2.6.22.17-0.1
root (hd1,0)
kernel /vmlinuz-2.6.22.17-0.1-default root=/dev/md2 vga=0x317
resume=/dev/md1 showopts
initrd /initrd-2.6.22.17-0.1-default

###Don't change this comment - YaST2 identifier: Original name:
failsafe-2.6.22.17-0.1-default###
title Failsafe -- openSUSE 10.3 - 2.6.22.17-0.1
root (hd1,0)
kernel /vmlinuz-2.6.22.17-0.1-default root=/dev/md2 vga=normal showopts
ide=nodma apm=off acpi=off noresume edd=off 3
initrd /initrd-2.6.22.17-0.1-default

###Don't change this comment - YaST2 identifier: Original name: xen###
title XEN
root (hd0,0)
kernel /xen.gz module /vmlinuz-2.6.22.5-31-xen root=/dev/md2 vga=0x317 resume=/dev/md1 splash=silent showopts
module /initrd-2.6.22.5-31-xen

###Don't change this comment - YaST2 identifier: Original name: linux###
title Memory Test (memtest86+) -- openSUSE 10.3 - Memory Test (memtest86+)
kernel (hd1,0)/memtest.bin root=/dev/md2 vga=0x317 resume=/dev/md1 showopts





Michael

--
Rui Santos
http://www.ruisantos.com/

Veni, vidi, Linux!
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups