New kernel update-can't boot

Asked by stevelasvegas

Using Ubuntu Feisty 7.04 installed with WUBI.
Update manager checked for updates which I allowed to download and install.
Now, when I boot, the Ubuntu splash screen freezes. I do a ctrl+alt+f1 and it says "Loading, please wait" and stays there.
Can't boot.
This is what it says when booting stops:
I see where it stops booting;
Loading Please Wait....
[43.675877] ATA1.00: SET of native returned 0, expected 195371568
[43.691836] ATA1.00: SET of native returned 0, expected 195371568
Device manager says:
Intel Mobile 915GM/GMS/910GML Express Graphics Controller
is being used.
Aparently, the new kernel doesn't like my graphics card driver; at least that's what some have said.
Anyway, when I boot with the new kernel (I guess that's what you call it), I hit esc, select Ubuntu and when presented with the "kernel menu" I can not get it to boot using 2.6.20-16 but I can using 2.6.20-15.
Any suggestions on what I can do?
I'm a very new Linux user trying to migrate from Windows; very litle Linux knowledge.
Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu linux-source-2.6.20 Edit question
Assignee:
No assignee Edit question
Solved by:
Cesare Tirabassi
Solved:
Last query:
Last reply:
Revision history for this message
Cesare Tirabassi (norsetto) said :
#1

Booting with 2.6.20-15 try this:

1) Open a terminal (Menu->Accessories->Terminal)
2) Type this command: sudo gedit /etc/initramfs-tools/modules
3) Go to the end of the file and add piix on a new line, save and exit
4) Type this command sudo update-initramfs -u -k 2.6.20-16-generic

Reboot and check if problem is solved

Revision history for this message
stevelasvegas (stevelasvegas) said :
#2

This is what the file says now:
# List of modules that you want to include in your initramfs.
#
# Syntax: module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#

#General
raid1
raid0
libata
sd_mod
scsi_mod

#USB Disks
ehci-hcd
uhci-hcd
ohci-hcd
libusual
usb-storage

#SATA Disks
ahci.ko
ata_piix
pata_sis
pdc_adma
sata_inic162x
sata_mv
sata_nv
sata_promise
sata_qstor
sata_sil24
sata_sil
sata_sis
sata_svw
sata_sx4
sata_uli
sata_via
sata_vsc

#File Systems
ext2
ext3
reiserfs
fat
vfat
jfs
xfs
iso9660
hfsplus
hfs
ntfs
fuse
loop
unionfs
squashfs
nls_utf8
nls_cp437
nls_iso8859-1
jdb
piix

This is what I got after doing sudo update-initramfs -u -k 2.6.20-16-generic
steven@ubuntu:~$ update-initramfs -u -k 2.6.20-16-generic
update-initramfs: Generating /boot/initrd.img-2.6.20-16-generic
cp: cannot stat `/etc/initramfs-tools/overlay/*': No such file or directory
Error: invalid binary /usr/bin/ntfs-3g
Error: invalid binary /usr/bin/fusermount
/usr/sbin/update-initramfs: 502: cannot create /var/lib/initramfs-tools/2.6.20-16-generic: Permission denied

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) said :
#3

You missed "sudo" off the front of the command:-

steven@ubuntu:~$ update-initramfs -u -k 2.6.20-16-generic

should be:-

steven@ubuntu:~$ sudo update-initramfs -u -k 2.6.20-16-generic

Revision history for this message
stevelasvegas (stevelasvegas) said :
#4

Sorry, here's what I get;
steven@ubuntu:~$ sudo update-initramfs -u -k 2.6.20-16-generic
update-initramfs: Generating /boot/initrd.img-2.6.20-16-generic
cp: cannot stat `/etc/initramfs-tools/overlay/*': No such file or directory
Error: invalid binary /usr/bin/ntfs-3g

(what is the "`" before the /etc.... mean?)
The etc/initramfs-tools/overlay/ folder exisits but is empty (if that means anything)

Revision history for this message
Cesare Tirabassi (norsetto) said :
#5

Try to comment out all entries in /etc/initramfs-tools/modules (insert a # before them) and leave only the piix line.

Revision history for this message
stevelasvegas (stevelasvegas) said :
#6

ALL entries or just the entries under file systems?

Revision history for this message
Cesare Tirabassi (norsetto) said :
#7

ALL entries, thanks.

Revision history for this message
stevelasvegas (stevelasvegas) said :
#8

After rem'ing all but the last piix entry I get:
steven@ubuntu:~$ sudo update-initramfs -u -k 2.6.20-16-generic
update-initramfs: Generating /boot/initrd.img-2.6.20-16-generic
cp: cannot stat `/etc/initramfs-tools/overlay/*': No such file or directory
Error: invalid binary /usr/bin/ntfs-3g

Revision history for this message
stevelasvegas (stevelasvegas) said :
#9

I booted using the new kernel and did a ctrl+alt+f1 to see the screen as it crashes. I took a .jpg w/my camera that lists the messages on the screen. I don't know how to post an image here so you can view it here --> http://www.flickr.com/photos/7610778@N03/520973259/
This should be helpful.
Thanks

Revision history for this message
Cesare Tirabassi (norsetto) said :
#10

I din't understand this:

cp: cannot stat `/etc/initramfs-tools/overlay/*': No such file or directory
Error: invalid binary /usr/bin/ntfs-3g

And I din't undertsnad the reference that you are booting from (hd0,0) which is an ntfs parititon!?

Than I saw this in your first message:

Using Ubuntu Feisty 7.04 installed with WUBI.

WUBI!? What is WUBI!?

"Ubuntu is installed within a file as opposed to being installed within its own partition. Thus we spare you the trouble to create a free partition for Ubuntu. And we spare you the trouble to have to burn a CD-Rom."

Thank you very much, and we give you all these zillions of little problems like not being able to boot after a kernel update......

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) said :
#11

Cesare, how is this the fault of WUBI? With WUBI you get grub on hd0,0, so you can then boot into linux in a hard disk image inside the ntfs partition.

I have seen numerous reports that 2.6.20-16 has issues with booting on some machines, I wouldn't be so fast to put it down to WUBI.

Revision history for this message
Cesare Tirabassi (norsetto) said :
#12

Alan,

I'm not saying its WUBI fault. The problem is that I can't get initramfs to work with it.
I'm investigating this, but I still can't find a solution.

Revision history for this message
Cesare Tirabassi (norsetto) said :
#13

You may want to contribute/follow the question I opened in the WUBI tracker:

https://answers.launchpad.net/wubi/+question/7418

Revision history for this message
stevelasvegas (stevelasvegas) said :
#14

OK, 1 more time.
I've done a clean install, again, of Ubuntu using Wubi.
I did an update.
Everything went fine during the update (I looked at the detail text that was generated in update manager), except this message:
update-initramfs: Generating /boot/initrd-img-2.6.20-16-generic
cp: cannot stat `/etc/initramfs-tools/overlay/*': No such file or directory
Same old thing. I don't know if that is important, but, if it is I don't want to build on top of a problem installation
Any ideas?
I will also post to https://answers.launchpad.net/wubi/+question/7418
Thanks

Revision history for this message
Cesare Tirabassi (norsetto) said :
#15

Any news on this Steve?

Revision history for this message
stevelasvegas (stevelasvegas) said :
#16

My last post (above) is where I'm at. I'm using and building on this install and I image my drive before making any changes (cause I don't want to start over again).

Revision history for this message
Cesare Tirabassi (norsetto) said :
#17

But, are you able to boot (as Agostino suggested)?
Do you still get this error:

ATA1.00: SET of native returned 0, expected 195371568

?

Thanks.

Revision history for this message
stevelasvegas (stevelasvegas) said :
#18

I did a fresh install and I am not getting the ATA1 error. I am able to boot and use everything fine. The fixes did not work for me. The only problem I still see is "Everything went fine during the update (I looked at the detail text that was generated in update manager), except this message:
update-initramfs: Generating /boot/initrd-img-2.6.20-16-generic
cp: cannot stat `/etc/initramfs-tools/overlay/*': No such file or directory
Same old thing. I don't know if that is important, but, if it is I don't want to build on top of a problem installation."

Revision history for this message
Best Cesare Tirabassi (norsetto) said :
#19

Agostino said it is not important and you should be able to boot without any problem.

Revision history for this message
stevelasvegas (stevelasvegas) said :
#20

Yes I am able to boot with the new kernel after doing a reinstall. If the remaining error is no problem, then I'm set.
Thanks for all the help.

Revision history for this message
stevelasvegas (stevelasvegas) said :
#21

Thanks to all. I'm lovin Ubuntu!