Am 02.09.2007 10:00 schrieb *Michael Lansche*: > ich habe heute o.g. Kernel-Paket aktualisiert. > > Genau wie beim neulich durchgeführten dist-upgrade (Etch 4.0 -> Etch 40.r1) > > ist danach meine menu.lst unbrauchbar. > > (Auszug): > title Debian GNU/Linux, kernel 2.6.18-5-686 > root (hd0,4) > kernel /boot/vmlinuz-2.6.18-5-686 root=/dev/sda5 ro vga=791 > initrd /boot/initrd.img-2.6.18-5-686 > > Meine root Partition liegt auf sda1: > > Etch-nb:~# fdisk -l > > Disk /dev/sda: 120.0 GB, 120034123776 bytes > 255 heads, 63 sectors/track, 14593 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/sda1 1 783 6289416 83 Linux > /dev/sda2 784 4699 31455270 83 Linux > /dev/sda3 4700 14593 79473555 5 Extended > /dev/sda5 4700 4830 1052226 82 Linux swap / Solaris > > Warum verändert apt-get nach dem upgrade die korrekten Einträge (hd0,0) in > (hd4,0) und /dev/sda1 in /dev/sda5 in der menu.lst? Ändere mal in der menu.lst: ## default grub root device ## e.g. groot=(hd0,0) # groot=(hd0,4) in: ## default grub root device ## e.g. groot=(hd0,0) # groot=(hd0,0) und # kopt=root=root=/dev/sda5 ro in # kopt=root=root=/dev/sda1 ro Bei einem Kernel Update wird update-grub ausgeführt. Weitere Infos findest du hier: 'man update-grub' -- Gruß Stefan "Ich bin ein Kriegspräsident, wenn ich Entscheidungen treffe, dann denke ich immer an den Krieg." George W. Bush
Attachment:
signature.asc
Description: OpenPGP digital signature