Attachment is update-grub.txt
I think problem is here: + sed -ne /^### BEGIN AUTOMAGIC KERNELS LIST$/,/^### END DEBIAN AUTOMAGIC KERNELS LIST$/ { /^## ## Start Default Options ##$/,/^## ## End Default Options ##$/ { /^# groot=/ { s/^# groot=\(.*\)$/\1/ It searches for # groot, so, if I type in my menu.lst "# groot=(hd0,4)", all works fine, with "groot=(hd0,4)" not ** Attachment added: "update-grub.txt" http://librarian.launchpad.net/5190947/update-grub.txt -- [DAPPER] update-grub doesn't work correctly with raid partitions https://launchpad.net/bugs/46223 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs