11.1 Can't Find Hard Drive

My original Sahara PC with Celeron processor suffered from bloated caps. It is still in the process of repair. Afraid of too much collecting in my mail box, I bought a refurbished Compaq Evo W4000 with Pentium 4. I removed the hard deive from the Sahara (gave the repairer a smaller drive) and installed it on the Compaq. It loads as far as the splash screen and hangs with no loading line. After a wait it reverts to console by telling it not to retry. Syslog informs me that disk by ID…etc cannot be found. Listing /etc/dev/ shows all but a hard drive or any partitions. Have I bought myself a pup? SuSE Linux 10.1 loaded and this is what I am using now. >:)

On 11/07/2009 11:26 AM, johmidl wrote:
>
> My original Sahara PC with Celeron processor suffered from bloated caps.
> It is still in the process of repair. Afraid of too much collecting in
> my mail box, I bought a refurbished Compaq Evo W4000 with Pentium 4. I
> removed the hard deive from the Sahara (gave the repairer a smaller
> drive) and installed it on the Compaq. It loads as far as the splash
> screen and hangs with no loading line. After a wait it reverts to
> console by telling it not to retry. Syslog informs me that disk by
> ID…etc cannot be found. Listing /etc/dev/ shows all but a hard drive
> or any partitions. Have I bought myself a pup? SuSE Linux 10.1 loaded
> and this is what I am using now. >:)

Your machine is probably OK. The disk interface driver used by your particular
system is placed in the initrd (initial ram disk) file by the kernel
installation process. The one used by your Sahara PC is different than in the
Compaq, thus the Compaq had no disk driver available. If you had booted a LiveCD
and done a repair, you would probably have been OK.

Shall I rather wait for 11.2 release? Presumably i shall still need the live CD. Will this enable me to fix the problem and then load? :confused:

Boot from a liveCD, open a terminal and su to root (su).

Now run fdisk -l and if all is OK you will see your disk and partitions listed.

Next I would mount the partitions, and edit your original /boot/grub/menu.lst file and replace all that horrid disk-id-nonsense with your dev names.

ie…

kernel /boot/vmlinuz-2.6.31.5-0.1-default root=/dev/disk/by-id/ata-ST9160821AS_5MA7HWM3-part2 splash=silent quiet showopts vga=0x317

change to…

kernel /boot/vmlinuz-2.6.31.5-0.1-default root=/dev/sda1 splash=silent quiet showopts vga=0x317

…replacing sda1 with your real partition name.

oh, make a backup copy of that file first, just in case :smiley: