Thursday, September 20, 2007

Fixed my ubuntu boot problem

Installed Feisty Fawn Xubuntu (and above) on a Toshiba 325CDS

It kept hanging at the initramfs prompt

Basically it apparently wasn't loading the ide-generic module
because at the prompt i was able to type

modprobe ide-generic

after the modprobe you could then ls /dev/disk which has all the new UUID stuff i guess.
Anyway, after the "exit" the boot continued normally.

So after much fooling around and guessing and reading random stuff with similar errors....

finally figured out on my own that there is a file called /etc/initramfs-tools/modules where you can add modules to be loaded by the initramfs

so edited /etc/initramfs-tools/modules by

sudo vi /etc/initramfs-tools/modules

and added


to the end.

Then to make the init stuff use this file you have to use the update-initramfs command (this one is for my current kernel of 2.6.20-15-generic)

sudo update-initramfs -u -k 2.6.20-15-generic

which built a new file in the /boot directory

rebooted and it actually worked.