LinuxQuestions.org
Register a domain and help support LQ
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 02-24-2008, 11:44 PM   #1
East
Member
 
Registered: Jan 2008
Posts: 84

Rep: Reputation: 15
Smile Upgrading DSL ...Help


Hi all

I am using DSL 4.2.5 version. I want to upgrade the kernel version. but i cant compile the kernel in DSL.How can i get the kernel version 2.6.x in DSL. Is there anything new release of DSL.Can anyone help me to find out the way?

Thanks in advance.
 
Old 02-25-2008, 07:48 AM   #2
Zulloi
LQ Newbie
 
Registered: Feb 2008
Distribution: Knoppix and DamnSmallLinux
Posts: 13

Rep: Reputation: 0
Simply, you can't do it. All of the packages in the base system are the versions for 2.4.x

The DSL guys are going to release a 2.6.x version soon. I would just wait until then.
 
Old 02-25-2008, 08:29 AM   #3
East
Member
 
Registered: Jan 2008
Posts: 84

Original Poster
Rep: Reputation: 15
I have downloaded DSL-N. In that default kernel is 2.6.12. I want it to upgrade. Can't i do it?
 
Old 02-25-2008, 09:56 AM   #4
Zulloi
LQ Newbie
 
Registered: Feb 2008
Distribution: Knoppix and DamnSmallLinux
Posts: 13

Rep: Reputation: 0
Yes you can upgrade DSL-N with the latest 2.6.x but not DSL. DSL and DSL-N are very different.

Are you having trouble upgrading it the normal way with make menuconfig and mzbuild?
 
Old 02-25-2008, 11:17 PM   #5
East
Member
 
Registered: Jan 2008
Posts: 84

Original Poster
Rep: Reputation: 15
Thanks Zulloi.Good to hear the news which you posted. I have installed DSL in my SATA HDD by the application frugal grub install using LiveCD.
I dont find any gcc folder in that. I dont know how to proceed.Is it normal way of upgrading the kernel? Can anyone help me to proceed with kernel upgradation......

Thanks in advance.
 
Old 02-26-2008, 07:43 AM   #6
Zulloi
LQ Newbie
 
Registered: Feb 2008
Distribution: Knoppix and DamnSmallLinux
Posts: 13

Rep: Reputation: 0
It only says 'newbie' next to my name because I have fewer posts than you on this forum.

OK, first check you've got gcc by typing 'gcc' in a terminal box.

Then, if you've got it, you need to download the kernel source. Untar it somewhere (anywhere as long as it's usr/src ) and type:

make menuconfig

go through all the choices with this ncurses menu, and then save your configuration. Then type:

make clean
make bzImage
make modules
make modules_install

That's it and you're done and all that's left is to install your new kernel.

If you don't have gcc, you need to obtain the latest version with libs. You can check the DSL repositories for this, or (a better way) use dpkg/apt to obtain it.

Last edited by Zulloi; 02-26-2008 at 08:00 AM.
 
Old 02-26-2008, 08:06 AM   #7
East
Member
 
Registered: Jan 2008
Posts: 84

Original Poster
Rep: Reputation: 15
I have downloaded the kernel 2.6.19.3 and it untarred fine. When i was trying for "make mrproper" sayingNomae command found message.I think i dont have gcc and make utility. I tried with apt-get update packgae name.it is also saying as No apt found. Now i downloaded the debian gcc package and make utility package. is there any necessity to install debian packages in DSL?
 
Old 02-26-2008, 08:20 AM   #8
Zulloi
LQ Newbie
 
Registered: Feb 2008
Distribution: Knoppix and DamnSmallLinux
Posts: 13

Rep: Reputation: 0
We are talking about DSL-N, not DSL. They are 2 different operating systems.

Right-click somewhere on the screen, open up the 'Tool' or 'System' menu, and click 'Enable apt'. Then open a terminal box and type:

#apt-get update
#apt-cache search gcc

to get a list of package names containing 'gcc', and then for everything you need, type:

#apt-get install [package name]

The Debian installer is dpkg. If you want to, you can install it, after which you will be able to install .deb packages on your system.

Last edited by Zulloi; 02-26-2008 at 08:24 AM.
 
Old 02-26-2008, 09:46 AM   #9
East
Member
 
Registered: Jan 2008
Posts: 84

Original Poster
Rep: Reputation: 15
Thanks Zulloi.
What i did is, i just downloaded the gcc-4.1-base_4.1.1-21_i386.deb and make_3.81-2_i386.deb and copied into DSL-N. When i typed dpkg -i package name, saying error as dpkg:/var/lib/dpkg/status:No such file or directory. But i didnt try for apt option whcih you posted previously.
Note:I have installed DSL-N in HDD with frugal grub.Is there any necessity of installing dsl-n using dsl-hdinstall.Can u explain the difference b/w frugal install and dsl-hdinstall

Thanks in advance.
 
Old 02-26-2008, 10:05 AM   #10
Zulloi
LQ Newbie
 
Registered: Feb 2008
Distribution: Knoppix and DamnSmallLinux
Posts: 13

Rep: Reputation: 0
OK what you need to do is specify the path, e.g.:

dpkg -i /home/dsl/gcc-4.1-base_4.1.1-21_i386.deb

but generally I find it easier to just use apt to search and install Debian packages.

The Frugal install is where you have a compressed image of the OS on your hard drive, and the hard drive install is a conventional installation where the OS itself and not the image is installed on your hard drive uncompressed on your filesystem.

If you have the Frugal install you can upgrade your system by simply replacing the compressed image on your hard drive, rather than going through the usual method of upgrading Linux. However, I think to configure your kernel you would still need to do it the normal Linux way.
 
Old 02-26-2008, 11:54 PM   #11
East
Member
 
Registered: Jan 2008
Posts: 84

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Zulloi View Post
Right-click somewhere on the screen, open up the 'Tool' or 'System' menu, and click 'Enable apt'
As per the previous post, i searched for 'Enable apt' option. but it was not found in that location, because of frugal install it is not found.I dont know.For dpkg installation, should i install dpkg? and in /KNOPPIX/usr/bin dpkg was there. Is it enough to copy gcc and make packages for kernel upgradation. I will try with dsl-hdinstall
 
Old 02-27-2008, 02:54 AM   #12
East
Member
 
Registered: Jan 2008
Posts: 84

Original Poster
Rep: Reputation: 15
I downloaded the dsl-dpkg.dsl package and using myDsl, installed into my SATA HDD. Now the problem is adding packages. When i tried for apt-get <tab>, it listed so many packages and in that i found gcc and make which i need for kernel upgradation. When i tried with "apt-get install kcalc" saying error as,
E:Unable to write to /var/cache/apt
E:The package lists or status file could not be parsed or opened.

When i tried for "dpkg -i make_3.81-2_i386.deb" saying error as,
dpkg:install-info not found on PATH
dpkg:expected programs not found on PATH
NB:root's PATH should usually contain /usr/local/sbin, usr/sbin and /sbin

Can anyone help me install gcc and make packages.
 
  


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
D-Link DSL-200 Rev B DSL modem -- success!! ludeKing Linux - Hardware 1 03-11-2007 07:32 PM
installing Cups in DSL and using DSL to share a network printer fakie_flip DamnSmallLinux 0 09-13-2006 10:20 PM
upgrading grub version to 0.97 in DSL 2 Weedman DamnSmallLinux 1 01-07-2006 04:18 AM
Dsl Modem Installation -- Aztech Dsl Turbo 100 psganesh Linux - Networking 0 07-01-2004 03:04 AM
DSL/ Linksys DSL Router/ Linux cant see the network... Robert0380 Linux - Networking 9 04-03-2002 05:09 AM


All times are GMT -5. The time now is 08:10 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration