LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux
User Name
Password
DamnSmallLinux This forum is for the discussion of DamnSmallLinux.

Notices


Reply
  Search this Thread
Old 01-21-2006, 12:56 AM   #1
cyberoidx
LQ Newbie
 
Registered: Jan 2006
Posts: 20

Rep: Reputation: 0
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.....
 
Old 01-21-2006, 02:18 AM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
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.
 
Old 01-21-2006, 04:42 AM   #3
cyberoidx
LQ Newbie
 
Registered: Jan 2006
Posts: 20

Original Poster
Rep: Reputation: 0
"fromhd= " specifies that the "image" is in the hdd.. not the install

(atleast that's what i think)
 
Old 01-21-2006, 09:57 AM   #4
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
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.
 
Old 01-21-2006, 10:53 AM   #5
cyberoidx
LQ Newbie
 
Registered: Jan 2006
Posts: 20

Original Poster
Rep: Reputation: 0
i dont think the root= option is really supported by DSL / knoopix .. tho i'm gonna try
 
Old 01-21-2006, 11:18 AM   #6
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
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.
 
Old 01-21-2006, 08:00 PM   #7
cyberoidx
LQ Newbie
 
Registered: Jan 2006
Posts: 20

Original Poster
Rep: Reputation: 0
I tried to get in through fromhd=/dev/hdd2 , but it beaver opens stuff in RO mode .. and nothing can be done.
 
Old 01-21-2006, 08:46 PM   #8
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
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".

Last edited by 2damncommon; 01-21-2006 at 08:48 PM.
 
Old 01-21-2006, 09:42 PM   #9
cyberoidx
LQ Newbie
 
Registered: Jan 2006
Posts: 20

Original Poster
Rep: Reputation: 0
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.
 
Old 01-21-2006, 10:03 PM   #10
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
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.
 
Old 01-22-2006, 04:33 AM   #11
cyberoidx
LQ Newbie
 
Registered: Jan 2006
Posts: 20

Original Poster
Rep: Reputation: 0
no, i went as root.. so i could edit files and do stuff,
How do i remount as non-ro?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 03:15 AM
[FC2] How to write a modprobe.conf from a module.conf??? Coume Fedora 0 05-31-2004 03:40 AM
LILO.conf wont write w0lv3rin3 Linux - Software 7 03-13-2004 04:08 PM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 08:22 PM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux

All times are GMT -5. The time now is 01:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration