Thread: Problems in upgrading kernel to 2.6.39.4
hi,
newbee in kernel compilation , trying upgrade lucid kernel "2.6.32-33-generic" "2.6.39.4".
compiled kernel default configuration i386 architecture, installed it, created initramfs same. grub.cfg looks below
menuentry 'ubuntu, linux 2.6.39.4-test' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 39abd5ae-5bae-4981-92c1-4e861748a0b3
linux /boot/vmlinuz-2.6.39.4-test root=uuid=39abd5ae-5bae-4981-92c1-4e861748a0b3 ro crashkernel=384m-2g:64m,2g-:128m quiet splash
initrd /boot/initrd.img-2.6.39.4-test
}
menuentry 'ubuntu, linux 2.6.39.4-test (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 39abd5ae-5bae-4981-92c1-4e861748a0b3
echo 'loading linux 2.6.39.4-test ...'
linux /boot/vmlinuz-2.6.39.4-test root=uuid=39abd5ae-5bae-4981-92c1-4e861748a0b3 ro single
echo 'loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.39.4-test
}
menuentry 'ubuntu, linux 2.6.32-33-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 39abd5ae-5bae-4981-92c1-4e861748a0b3
linux /boot/vmlinuz-2.6.32-33-generic root=uuid=39abd5ae-5bae-4981-92c1-4e861748a0b3 ro crashkernel=384m-2g:64m,2g-:128m quiet splash
initrd /boot/initrd.img-2.6.32-33-generic
}
menuentry 'ubuntu, linux 2.6.32-33-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 39abd5ae-5bae-4981-92c1-4e861748a0b3
echo 'loading linux 2.6.32-33-generic ...'
linux /boot/vmlinuz-2.6.32-33-generic root=uuid=39abd5ae-5bae-4981-92c1-4e861748a0b3 ro single
echo 'loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-33-generic
}
when trying boot new kernel getting screen saying
mount: mounting none on /dev failed: no such device
mount: mounting /dev/disk/by-uuid/39abd5ae-5bae-4981-92c1-4e861748a0b3 on /root failed: no such device
mount: mounting /dev on /root/dev failed: no such file or directory
mount: mounting /sys on /root/sys failed: no such file or directory
mount: mounting /proc on /root/proc failed: no such file or directory
target system doesn't have /sbin/init
no init found. try passing init= bootarg
busybox v1.13.3 built-in shell(ash)
enter 'help' list of built-in commands.
(initramfs)
don't understand went wrong. searched on google not solve issue.
help.
vipul
a bit more context help. how options set when built kernel? see output of ls -l /boot? exact command used build initrd (e.g. history | grep initrd)?
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] Problems in upgrading kernel to 2.6.39.4
Ubuntu
Comments
Post a Comment