LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   DamnSmallLinux (https://www.linuxquestions.org/questions/damnsmalllinux-42/)
-   -   Please help write Lilo.conf (https://www.linuxquestions.org/questions/damnsmalllinux-42/please-help-write-lilo-conf-406054/)

cyberoidx 01-21-2006 12:56 AM

Please help write Lilo.conf
 
For some reason, no bootleader is installed when i do the HD-install for DSL(done it 3 times)
For some other reason, KNoppix and DSL dont support the "root=" cheatcode at boot.

So i have a DSL install on Hdd2 but no way to boot it up.
I got myself a slackware cd, and finally booted into dsl using the "root=/dev/hdd2" cheatcode, but it did not detect my USB mouse, so i could not use X, but i managed to open lilo.conf and try to wrtie lilo.
I have windows on hda1
it had
boot=/dev/hda
and then the linux image=/boot/vmlinuz (i think)
and more stuff.

Can you please help me write a proper lilo.conf, as the actualy /boot and kernel image is on /dev/hdd2 and not on hda ..
Summary.
I need a lilo.conf for my linux, i have windows 98 on hda1, and linux "root" on hdd2 and the rest (boot / etc / usr /tmp) all inside it.....

2damncommon 01-21-2006 02:18 AM

I have DSL 1.1 on my hard drive.

When the CD first boots up I can press F2 to see boot options.
One of the options is "dsl fromhd=/dev/hdxx" to boot a previously installed DSL.

cyberoidx 01-21-2006 04:42 AM

"fromhd= " specifies that the "image" is in the hdd.. not the install

(atleast that's what i think)

2damncommon 01-21-2006 09:57 AM

Yes, use the command in place of the "root=" command to boot your presently installed system.
That should allow you to work on your lilo.conf at your leisure.

cyberoidx 01-21-2006 10:53 AM

i dont think the root= option is really supported by DSL / knoopix .. tho i'm gonna try

2damncommon 01-21-2006 11:18 AM

Quote:

One of the options is "dsl fromhd=/dev/hdxx" to boot a previously installed DSL.
Quote:

Yes, use the command in place of the "root=" command to boot your presently installed system.
Okay, step one was being able to boot your hard drive installed DSL from your DSL CD using the DSL command "dsl fromhd=" and not the Slackware command "root=".
Now step two. You will need to consult "man lilo.conf" where it documents that "boot=" in the lilo.conf file is where the bootloader will be installed or is installed, not the location of your boot directory. Take a look at "root=" to see if it correctly points to your DSL partition.

cyberoidx 01-21-2006 08:00 PM

I tried to get in through fromhd=/dev/hdd2 , but it beaver opens stuff in RO mode .. and nothing can be done.

2damncommon 01-21-2006 08:46 PM

Right click on the desktop to get the desktop menu.
Go to "XSHELLS" -> "ROOT ACCESS". That will open a terminal window.
Make a backup copy of the lilo file with "cp /etc/lilo.conf /etc/liloconf.save"
Use the nano text editor. "nano /etc/lilo.conf"
Basic functions are at the bottom of the screen. For instance ctrl-o to save your changes, ctrl-x to exit the editor.
To install the bootloader or changes to it you need to run "/sbin/lilo".

cyberoidx 01-21-2006 09:42 PM

fromhd does boot into the drive ( i think, was saving ff's cache.. etc ...) BUT it mounts system as read-only... so i cant do anything..

I cant edit lilo.conf as it is always mounted as read-only.

2damncommon 01-21-2006 10:03 PM

Quote:

BUT it mounts system as read-only... so i cant do anything..
Perhaps. But it is common that a partition may be mounted read only temporally during boot up, and common also that system files can only be edited by root.

cyberoidx 01-22-2006 04:33 AM

no, i went as root.. so i could edit files and do stuff,
How do i remount as non-ro?


All times are GMT -5. The time now is 11:30 PM.