Re: update-grub doesn't seem to enter new kernel into menu.lst
nope, I upgraded from Interpid 8.10 (64 bit) to 9.04, 64bit
Originally posted by mando_hacker
sudo update-initramfs -u && sudo update-grub
vinny@Kubuntu:/$ ls bin dev initrd.img media root sys vmlinuz boot etc initrd.img.old mnt sbin tmp vmlinuz.old cdrom home lib opt selinux usr debian initrd lost+found proc srv var vinny@Kubuntu:/$
vinny@Kubuntu:/$ uname -a Linux Kubuntu 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686GNU/Linux vinny@Kubuntu:/$
# GRUB configuration file '/boot/grub/menu.lst'. # generated by 'grubconfig'. Wed 28 Jan 2009 08:39:31 PM EST # # The backup copy of the MBR for drive '/dev/hda' is # here '/boot/grub/mbr.hda.4135'. You can restore it like this. # dd if=mbr.hda.4135 of=/dev/hda bs=512 count=1 # # Start GRUB global section #timeout 30 #color light-gray/blue black/light-gray splashimage /boot/grub/splashimage.xpm.gz # End GRUB global section # Other bootable partition config begins title XP on (/dev/hda1) rootnoverify (hd0,0) makeactive chainloader +1 # Other bootable partition config ends # Linux bootable partition config begins title Kubuntu root (hd1,5) kernel /vmlinuz root=/dev/sdb6 initrd (hd1,5)/initrd.img # Linux bootable partition config ends # Linux bootable partition config begins title Ultima on (/dev/hdc8) root (hd1,7) kernel /boot/vmlinuz root=/dev/hdc8 ro vga=normal # Linux bootable partition config ends title --- For help press 'c', type: 'help' root (hd0) title --- For usage examples, type: 'cat /boot/grub/grub.txt' root (hd0)
vinny@Kubuntu:/$ sudo parted [sudo] password for vinny: GNU Parted 1.8.8 Using /dev/sda Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) print all Model: ATA Maxtor 6Y060L0 (scsi) Disk /dev/sda: 61.5GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 32.3kB 8701MB 8701MB primary ntfs boot 2 8701MB 29.7GB 21.0GB primary fat32 lba 3 29.7GB 61.5GB 31.8GB extended lba 5 29.7GB 61.5GB 31.8GB logical fat32 Model: ATA WDC WD400BB-00DE (scsi) Disk /dev/sdb: 40.0GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 32.3kB 40.0GB 40.0GB extended boot, lba 8 8258kB 13.0GB 13.0GB logical xfs 5 13.0GB 13.6GB 666MB logical linux-swap 6 13.6GB 22.2GB 8516MB logical ext3 7 22.2GB 40.0GB 17.9GB logical ext2 (parted)
Comment