Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Problems amending Lilo.conf< Next Oldest | Next Newest >
lobber Offline





Group: Members
Posts: 2
Joined: July 2005
Posted: July 22 2005,11:04 QUOTE

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
Back to top
Profile PM 
jls legalize Offline





Group: Members
Posts: 476
Joined: April 2004
Posted: July 22 2005,13:40 QUOTE

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
Back to top
Profile PM WEB ICQ MSN YIM 
lobber Offline





Group: Members
Posts: 2
Joined: July 2005
Posted: July 22 2005,15:26 QUOTE

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
Back to top
Profile PM 
spotslayer Offline





Group: Members
Posts: 96
Joined: April 2005
Posted: July 22 2005,23:06 QUOTE

lobber, Please make sure you are pointing to the location of lilo.conf on your computer. It may not be in /mnt/hda2.
Back to top
Profile PM 
tjm4fun Offline





Group: Members
Posts: 22
Joined: Jan. 2005
Posted: July 24 2005,01:37 QUOTE

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.


--------------
one laptop. many worlds.
W2k,Slackware10,DSL,Yoper, and others as my mood changes
Visit my home at: www.bitbenderforums.com
Help is only a post away!
Back to top
Profile PM AOL 
7 replies since July 22 2005,11:04 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Problems amending Lilo.conf

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code