HD Install :: updating lilo config problem



Ok so I've been booting off of the DSL CD for a while with the "dsl dma" command, without which, I can't access my hard drive.  I have since done a hd-install which seemed to work ok, but after the hd install when it boots it has a kernel panic... which I'm almost certain is because it isn't in dma mode anymore... so I'm pretty sure I have to add "dma" to the append string in my lilo.conf file.
- So I boot with the cd (using "dsl dma"),
- mount /dev/hda1
- add "dma" to the append line of /mnt/hda1/etc/lilo.conf

which brings me to the run lilo "or your computer may never boot again" step... which I just can't seem to get to work...

the first time I tried to run it it said there was something wrong in the lilo.conf file on line 6 (which I hadn't changed)
so I think it was using the lilo.conf from the cd instead of the hdd.

so I do lilo -C /mnt/hda1/etc/lilo.conf (which uses the proper config file).  still no go... I think it's still trying to write the new lilo setup to the cdrom instead of the hdd.

I try lilo -r /mnt/hda1/ (which is supposed to change the root dir) then it says... fatal: permission denied or something like that

Any ideas from anyone?

Hi
Are you running your lilo commands as root?

yes
You might want to boot from cd using your dma option then try a frugal install to the same partition.  That will wipe out your hd-install but doesn't boot anyway.
@Yoey

I had the same problem. Try this thread to see if it helps. It works for me.

http://damnsmalllinux.org/cgi-bin....4;st=85

regards b1m1

Next Page...
original here.