[Tfug] Debian unable to mount root fs after an update/upgrade

Harry McGregor micros at osef.org
Thu Jan 25 16:21:43 MST 2007


Glen Pfeiffer wrote:
> ---- Stephen Hooper wrote:
>   
>> So, now that you know where your primary partition is, and assuming
>> you didn't have it in a weird place where you would need an initrd
>> image, just go into the chrooted directory structure, change the
>> /etc/lilo.conf file to point to the root partition that you found
>> (e.g. "root = /dev/hda1"), and then run lilo, and reboot.
>>     
>
> I mounted the disk, chroot to the mounted drive, didn't change my 
> lilo.conf as it was already correct, then tried running lilo, but 
> it can't find lilo. I thought that lilo was installed in 
> /sbin/lilo, but it isn't there. And yes, I looked in 
> /mnt/root/sbin/, which of course is /sbin after the chroot.
>   
What does your /etc/fstab look like?

what about a dpkg -l lilo and a dpkg -L lilo

                               Harry

> I do appreciate your help so far, and hope you have an idea what 
> to do next.
>
>   





More information about the tfug mailing list