partial boot, mount invalid argument, lvm on luks
Ok guys rescue me again! Had a hd failiure and it turned out that lilo and the boot initrd.gz was on the drive that failed.
On the remaining drive is all my work (the one that failed was the backup) but could not boot it so used the install disk to mount all the partiions, cryptsetup luksOpen, vgscan --mknodes, vgchange -ay and then mount (I have an unencrypted boot partition on this drive too). Then I chroot into the mounted system and made a new initrd.gz with the command
The boot partition is ext2.
The root parition is reiserfs.
So not sure if my mkinitrd command is correct. Do I need resierfs in there somewhere?
Then did the usual edits to lilo.conf and issue lilo command to install in mbr.
But it will not boot. I get
Any help as always very much appreciated, BashTin.
PS: lilo.conf looks like
There is a very useful script called mkinitrd_command_generator.sh which in recent versions of slack can be found in /usr/share/mkinitrd. If you don't have it in your version of slack you can download and use the script from 13.37.
The -f flag should specify the filesystem of the root partition, not the boot partition, so in your case it should be reiserfs, not ext2.You will also need to add reiserfs to the list of modules (-m). There is a good chance you need some other modules as well, so you should run the command generator.
yes, was using the wrong fs in the mkinitrd command. Everything back now... cheers.
|All times are GMT -5. The time now is 09:30 PM.|