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: Need help using dsl to restore lilo< Next Oldest | Next Newest >
Mr. Cool Offline





Group: Members
Posts: 5
Joined: Jan. 2005
Posted: Feb. 04 2005,21:46 QUOTE

I am trying to use dsl to repair a bad linux installed on my hard drive. I need to use dsl to install lilo to the mbr but I can't.

I type "sudo su" and then "lilo -C lilo.conf" but I get the error "Fatal: creat /boot/map~: Read-only file system".

I tried remounting /dev/cloop with the parameter -o remount rw but it didn't work.

I tried running the command "mount -wno remount /dev/cloop" and then when I run lilo I get a similar error: "Fatal: creat /boot/map~: Permission denied".

Anyone know how to do this?
Back to top
Profile PM 
SaidinUnleashed Offline





Group: Members
Posts: 1428
Joined: Mar. 2004
Posted: Feb. 05 2005,00:48 QUOTE

Dude,  make a grub floppy, or grab mine, and boot your dead linux to fix lilo.

The .cat image and instructions are on my ftp. linky

If you need to know how to work with grub, I put an entry in the docs the other day.

it's called "installing grub" but you can read it for the info of how to boot with the floppy.

After you get your linux up, just install lilo from there, or better yet, do grub.

-J.P.


--------------
They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, cause if you play it forwards, it installs Windows.

Unleash the power of the TILDE~~~
Back to top
Profile PM AOL MSN YIM 
tronik Offline





Group: Members
Posts: 182
Joined: Dec. 2004
Posted: Feb. 05 2005,02:50 QUOTE

The link JP put above is incorrect.
please use this link


--------------
-william
atlanta, GA, USA

DSL 1.0+2.4.27/sata : P4 2.4norwood : 512ddr2 : nvgf4ti4200-64 : 128mbLexar Jumpdrive Elite
Back to top
Profile PM WEB 
Mr. Cool Offline





Group: Members
Posts: 5
Joined: Jan. 2005
Posted: Feb. 05 2005,15:56 QUOTE

I'm stumped. Booting with that grub floppy got me to a screen which listed a bunch of commands that I don't know what to do with. Linux commands like ls did not work.

All I'm trying to do is run lilo. Isn't there a simple way to get DSL to do it?

The reason I need to run lilo is I need to append "acpi=off" to lilo.conf because without it my laptop will freeze during boot.
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Feb. 09 2005,05:24 QUOTE

I don't know much about LILO, but I do know that you are trying to modify information inside the livecd / ramdisk file system instead of your hard drive.

In other words,

/boot/map

is located inside your temporary livecd filesystem and not your hard drive.

On your hard drive, it would be located somewhere like this:

/mnt/hda1/boot/map

(just an example).


I don't know much about LILO, but it sounds to me like you need to "chroot" over from the DSL livecd file system into your hard drive file system.  Then you can run LILO and modify the correct files.

Try searching the forums and also google for a keyword "chroot".

Also, for similar instructions try searching google for something like "repair LILO using KNOPPIX" and then follow the instructions using your DSL disk instead of a KNOPPIX disk.
Back to top
Profile PM 
5 replies since Feb. 04 2005,21:46 < 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: Need help using dsl to restore lilo

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