At 10:19 26/07/01 +0100, Robert Shand wrote:
>Last night I was playing with my hard drives, rearranging them etc. This
>had the effect of changing drive ids. What was hda1 is now hde1. So I
>managed to get lilo to boot my linux machine by specifying a root ie linux
>root = /dev/hde5
ISR that lilo has an option to swap drive ids about. Kind of tricky to do
it from the boot prompt though.
>Also if I just type mount I get (along the lines of)
>
>/dev/hda5 ext2 /
>
>Which should of course be
>/dev/hde5 ext2 /
eh?
>Anyone give me any pointers as to how I can change the fstab file so my
>machine will reboot.
Try booting up with a repair disk, mounting the partition with /etc on it,
amending the lilo.conf file & run lilo -C /mnt/hde5/etc/lilo.conf
HTH
Colin
--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------