Hi all,
I can't imagine anyone else has tried to do what I am doing, but you never know until you ask:-)
I have a brand new motherboard and case to replace a trashed Mandriva 2008.1 system (I trashed it - no excuses, please tell my brother I am really sorry).
It is an Asus F2A85-M LE, just for your information, and it will make a truly excellent replacement - one day. This board makes almost zero compromise for legacy tech. There is no PATA and only one PCI slot to which I have attached a PATA card using the it821x kernel module.
Having no SATA DVD I installed using the MGA3B2 DVD iso-on-a-stick. First attempt failed because the installer couldn't see the target drive (PATA No1 channel, master drive). I moved it to a USB adapter and the install completed without further problems.
The reboot went OK too, so I updated and installed some stuff, including the current kernel. Then I put the drive back on the PATA interface and the next boot failed. I finally blamed it on the absence of the it821x module in the initrd as the interface had not been used during the install. I booted to an external USB MGA3b2+updates, mounted the offending system with
- Code: Select all
d=/mnt/darknight
mount /dev/sdc1 $d
mount /dev/sdc5 $d/usr
mount /dev/sdc6 $d/home
mount -o bind /dev $d/dev
mount -o bind /sys $d/sys
mount -o bind /dev/shm $d/dev/shm
mount -o bind /proc $d/proc
chroot $d
I checked the device.map and then did a
- Code: Select all
dracut -f -H
Today, 18 March, I booted the machine to play some more with the setup of applications. I may have accepted another update - can't be sure. I did change the label on hdc1 (to better reflect its general games-oriented data role) and updated its fstab entry accordingly. Then I re-booted to complete the application setup changes this would need (nothing critical, just flightgear and racer (Dolphinity Racer running the Windows version under Wine).
Kernel panic - couldn't find /sbin/init.
Richard panic - WTF!
I did another chroot mount and had a look in the journal for possible causes. That was a surprising and disturbing waste of time. The last journal entry was "Journal Stopped" at 16:20 yesterday! So nothing happened that was recorded after that - no sign of the reboots on Sunday or the installation of many updates and applications (including the afore-mentioned racer), nor the shutdown in the wee small hours of Monday morning.
I have tried:
- Code: Select all
bootloader-config --action rebuild-initrds
- Code: Select all
dracut -f -H
The UUIDs it quotes are correct.
Executing blkid at the dracut:/# prompt results in a blank response.
A glance through the masses of sosreport.txt shows that the it821x module has loaded and the two PATA drives are correctly identified as to type and capabilities. That is the last mention made of hda and hdc.
A closer look at the contents of /boot/grub shows that a lot of file dates were altered about half an hour before my reboot woes started. Reinstalling grub (v1 of course) using install.sh stops with an error (cannot find drive or something very like that) but that may be something to do with the chroot system seeing the target as sdb instead of the hda in device.map. When I change device.map to reflect the locations within the chroot environment then it works fine.
Have I missed something really stupidly simple? Is there something else I should have done to restore normal operations? I am close to the hair-pulling stage and I don't have much to spare.
Richard