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 03-29-2008, 01:18 AM   #1
tjwoosta
Member
 
Registered: Mar 2008
Posts: 36

Rep: Reputation: 16
damnsmalllinux question


i dont know if this is the right place to post my question, but i cant think of a better one. (as i cant seem to get registered for the DSL Board)

ive just got a copy of damnsmalllinux 4.2.5 (think its the latest release)

im trying to do a harddrive install from this link
http://damnsmalllinux.org/dsl-hd-install.html
(the only reason im even trying to use DSL is because the computer only has 30 mb ram and a 400 mhz proocessor)

ive followed theese directions

How to install:
1. Create a app. 250-300MB Linux partition with cfdisk or fdisk (e.g. /dev/hda1, /dev/sda2)
2. Boot into DSL by using you CD and enter the terminal.
3. Execute "dsl-hdinstall" by typing "sudo -u root dsl-hdinstall" (without the quotes)
and enter the just created partition (e.g. /dev/hda1, /dev/sda2)
This will make a ext2 file system and copies the CD contents to it.
A couple of specific changes are made after that (see end of script)
4. Execute "mkliloboot" by typing "sudo -u root mkliloboot" (without the quotes)
Enter the partition that your install is on. This will create an "initrd" with the needed modules and will setup "LILO".

The problem is when i get to #4
Code:
sudo -u root mkliloboot
i get this error message
Code:
sudo: mkliloboot: command not found

ive also gone to this link
http://www.damnsmalllinux.org/wiki/i..._the_Hard_Disk
i used this link to make the swap partition

Please if anyone can help me at all any imput would be greatly appreciated. Ive been trying to post on the DSL board for like over a week now and still cant.
Also given that i only have 30 mb ram and 400mhz processor should i go ahead with the harddrive install or try the frugal or would i be best off to just keep booting from the cd( ive read that the hard drve install leads to some problems with the mydsl packages, but after reading the fix im confident that it wouldnt be much of a problem)

Last edited by tjwoosta; 03-29-2008 at 01:20 AM.
 
Old 03-29-2008, 05:58 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Moved: This thread is more suitable in DamnSmallLinux and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 03-30-2008, 03:07 PM   #3
tjwoosta
Member
 
Registered: Mar 2008
Posts: 36

Original Poster
Rep: Reputation: 16
thanks xavier

but seriously does anyone have any ideas what i could do?

Im still pretty new to linux so i find myself in kind of a bind here.

Also ive noticed another bootloader that comes with dsl called grub, does anyone know how i might go about installing that? I dont really care what loader i use as long as it works and so far i havent found anything on any forums about not being able to instal liloboot or how to install grub without dualbooting.
 
Old 03-30-2008, 03:14 PM   #4
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
Try telling sudo to run /sbin/mkliloboot instead of just mkliloboot? Other than that, no idea.
 
Old 03-30-2008, 03:28 PM   #5
tjwoosta
Member
 
Registered: Mar 2008
Posts: 36

Original Poster
Rep: Reputation: 16
hmm well i tried but got the same error


but if i cd to /sbin and ls -a i see lilo and lilo.real but no mkliloboot

could it be one of those?
 
Old 03-30-2008, 03:35 PM   #6
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
Yeah, try /sbin/lilo.

If that fails, I'm lost. I did a quick search on Google but it looks like no-one else has the same problem. Weird.

Last edited by Maligree; 03-30-2008 at 03:40 PM.
 
Old 03-30-2008, 03:49 PM   #7
tjwoosta
Member
 
Registered: Mar 2008
Posts: 36

Original Poster
Rep: Reputation: 16
ok i tried lilo and it says i need to edit /etc/lilo.conf before running lilo, but i cant figure out how to edit it
( i tried beaver /etc/lilo.conf, but it wont let me change anything, i also tried nano /etc/lilo.conf but i cant figure out how to save it.
it says ^G to get help but i cant figure out what that means, i tried just typing ^G and hitting enter but it does nothing
any ideas?

yea ive also been looking on other forums and google but i cant find anyone with the same problem? do u think my live cd might be bad?


UPDATE i just found this site wich i think will help me alot but i still need to learn how to save the file with nano
http://www.ibm.com/developerworks/li...-bootload.html

Last edited by tjwoosta; 03-30-2008 at 04:04 PM. Reason: Update
 
Old 03-30-2008, 04:09 PM   #8
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Open a file with
Code:
nano /path/to/file
Then edit it as you would under any similar text editor and then do CTRL+X. You will be prompted to save or discard your changes and the program will then close.
 
Old 03-30-2008, 04:23 PM   #9
tjwoosta
Member
 
Registered: Mar 2008
Posts: 36

Original Poster
Rep: Reputation: 16
ahh thanks i see now that the ^ symbol must mean ctrl
 
Old 03-30-2008, 05:38 PM   #10
SilentSam
Member
 
Registered: Aug 2007
Location: Ottawa
Distribution: Arch Linux/Kubuntu/OpenSUSE
Posts: 300

Rep: Reputation: 37
ctrl+o is save in nano.
 
Old 03-30-2008, 06:50 PM   #11
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
I must admit that CTRL+X is the only command I ever really bothered to learn in Nano - usually I just edit a file and then close it.
 
Old 04-01-2008, 08:01 PM   #12
tjwoosta
Member
 
Registered: Mar 2008
Posts: 36

Original Poster
Rep: Reputation: 16
now ive run into another problem when i try to save the lilo.conf file it says
Code:
error writing /etc/lilo.conf:Read-only file system
what do i do now?

by the way i used this site to learn to configure lilo
http://www.control-escape.com/linux/lilo-cfg.html

Last edited by tjwoosta; 04-01-2008 at 10:35 PM.
 
Old 04-01-2008, 10:40 PM   #13
SilentSam
Member
 
Registered: Aug 2007
Location: Ottawa
Distribution: Arch Linux/Kubuntu/OpenSUSE
Posts: 300

Rep: Reputation: 37
You will need to edit the file as root to be able to save it.

>sudo nano lilo.conf
 
Old 04-02-2008, 11:24 AM   #14
tjwoosta
Member
 
Registered: Mar 2008
Posts: 36

Original Poster
Rep: Reputation: 16
yea thats what i figured too, but i have been using root the whole time. ive done
Code:
sudo -s
then i did
Code:
sudo nano /etc/lilo.conf
nothing works.

i also checked the file permisions but everything seems fine, i just dont understand why i cant edit the file.
 
Old 04-02-2008, 12:44 PM   #15
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
Maybe.. try to copy /etc/lilo.conf to you home directory, edit it in there, hopefully save it and run lilo like this:
Code:
/sbin/lilo -C /path/to/your/home/dir/lilo.conf
as root.
 
  


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
coLinux + DamnSmallLinux dsfreak Linux - General 0 02-06-2007 10:26 PM
installing damnsmalllinux fakie_flip DamnSmallLinux 3 08-19-2005 02:46 AM
DamnSmallLinux and XF86Config pppaaarrrkkk Linux - Newbie 2 07-26-2005 12:24 AM
DamnSmallLinux Drivers p3ngu!n DamnSmallLinux 4 08-06-2004 04:32 AM
Gnoppix/DamnSmallLinux Question. rvijay Linux - Newbie 4 09-27-2003 06:50 PM

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

All times are GMT -5. The time now is 04:17 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration