
Originally Posted by
jagland
Just upgraded a Lat D505 to LTS 10.04 (from 9.10)
Had the black screen with my d505 - no easy way to get into grub etc... so resorted to booting of a CD (lucky found my 9.10 CD),Connected to my network (wireless) and googling to find the clue that I needed the 2.6.34 kernel...
Mounted my root partition, Setup as a jail i.e. mount proc and udev and download the kernel from here -
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-rc5-lucid/
So a bit like this...
Awesome info. Did it and it worked like a charm (I installed v2.6.34-rc7-lucid instead since it was available). Only a few notes to have a more complete set of instructions:
- Prefix all the commands in jagland's post with sudo --don't worry, the liveCD will not ask you for a password
- Find out in which partition you have your ubuntu installed. My d505 is dual-boot and Ubuntu is in sda3, not sda1 (use fdisk -l to find out --and, that is a lowercase L)
- Download the kernel package (the .deb file in the url) to your hard drive (/mnt/ubuntu), not to the ubuntu home of the liveCD (why? see next step)
- change the root to /mnt/ubuntu
Why? If you are using a liveCD, your hdd is not mounted at / so, dpkg will try to install the new kernel image on the file system created by the liveCD, not on your hdd. By changing the root to /mnt/ubuntu, dpkg will install the new kernel in the right place. Type exit to return to the way it was before
So, the commands look like:
Code:
sudo mkdir /mnt/ubuntu
sudo mount /dev/sda1 /mnt/ubuntu
sudo mount -t proc proc /mnt/ubuntu/proc
sudo mount -o bind /dev /mnt/ubuntu/dev
sudo cp /etc/resolv.conf /mnt/ubuntu
cd /mnt/ubuntu
sudo chroot /mnt/ubuntu
sudo wget http://kernel.ubuntu.com/~kernel-ppa...34rc5_i386.deb
sudo dpkg --install linux-image-2.6.34-020634rc5-generic_2.6.34-020634rc5_i386.deb
If everything goes well, you should be able to restart your d505 without problems.
You might want to delete that huge .deb file you now have in /
Cheers!
Bookmarks