On Mon, 2009-12-14 at 16:45 +0330, Eliad Baqerzadegan wrote:
Package: Linux-image-2.6.30-2-686
Version: 2.6.30-8squeeze1
In the post-install, the menu.lst file is rewriten and it includes
lines like these:
titleDebian GNU/Linux, kernel 2.6.30-2-686
root(hd0,0)
kernel/boot/vmlinuz-2.6.30-2-686 root=/dev/hda1 ro quiet
initrd/boot/initrd.img-2.6.30-2-686
titleDebian GNU/Linux, kernel 2.6.30-2-686 (single-user mode)
root(hd0,0)
kernel/boot/vmlinuz-2.6.30-2-686 root=/dev/hda1 ro single
initrd/boot/initrd.img-2.6.30-2-686
--
I think:
* in menu.lst: /dev/hda1 must be changed to /dev/sda1
No, it should be changed to identify the partition by label or UUID.
There is a comment specifying the command-line arguments to be used in
each entry; you need to change that and then run update-grub.
* fstab must also be modified. At least for the first time upgrading
from stable to testing/unstable
This is also the case for Linux-image-2.6.31 and Linux-image-2.6.32
and other platforms.
I'm working on an upgrade script which will do something like this
automatically (after asking the user).
Ben.
--
Ben Hutchings
The two most common things in the universe are hydrogen and stupidity.
signature.asc
Description: This is a digitally signed message part