HD Install :: Problems amending Lilo.conf



I'm totally new to linux so please bear with me while I appear a total noob.

I've got an old laptop which I am using to play around with Linux.  I had problems booting with the Live CD and finally figured out I needed to boot with dsl noagp in order to get it up and running.

I've now decided to install it to the HD using the HD_Install script.  The script ran fine and rebooted the laptop. However, it still hangs after autodetecting the devices because there isn't a noagp specified in the Lilo.conf.   Easy, I thought, amend the lilo.conf file to include noagp in the append section.

So I did the following:

sudo mount /mnt/hda1 -w
sudo beaver /mnt/hda1/etc/lilo.conf   and made the changes
sudo ln -sf /mnt/hda1/etc/lilo.conf
sudo chmod 644 /mnt/hda1/lilo.conf
sudo lilo -C /mnt/hda1/etc/lilo.conf

At this point I get the following error:

Fatal: creat /boot/map~: Read-only file system

Has anyone got any suggestions?

I can do a frugal install which prompts you for boot options and I can put in noagp as part of the script.  Why doesn't the HD install prompt you?

Thanks for any help.

Cheers
Andy

in order to modify the lilo.conf on frugal do this:

1. Open a root shell Xhells>Root Access
2. mount /mnt/hda2
3. Now using your editor of choice... edit the following file for your boot options:
  /mnt/hda2/boot/lilo.conf
4. ln -sf /mnt/hda2/boot /
5. lilo -C /mnt/hda2/boot/lilo.conf
6. reboot

maybe it works also on hd install

Thanks for the suggestion. If I do that, it tries to create a new file called lilo.conf in the boot folder as this file does not exist there.

Should there be one there?

Cheers
Andy

lobber, Please make sure you are pointing to the location of lilo.conf on your computer. It may not be in /mnt/hda2.
Quote (lobber @ July 22 2005,07:04)

Quote:  (and some added comments)

So I did the following:

sudo mount /mnt/hda1 -w
sudo beaver /mnt/hda1/etc/lilo.conf   and made the changes
sudo ln -sf /mnt/hda1/etc/lilo.conf       <<<<<don't need this
sudo chmod 644 /mnt/hda1/lilo.conf   <<<<< don't need this
sudo lilo -C /mnt/hda1/etc/lilo.conf      <<<<<<<almost got it!!!

At this point I get the following error:

Fatal: creat /boot/map~: Read-only file system <<<<<<of course you will get this error. it is trying to write to the ramdisk.
When running live, you need to  tell lilo to write it to hda, so you need to add another parm to the lilo command:

lilo -M /dev/XXX [ mbr | ext ]   install master boot record

so the last command should be:
sudo lilo -C /mnt/hda1/etc/lilo.conf -M /dev/hda mbr

'hopefully this will sort it out.

Next Page...
original here.