LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-26-2009, 01:24 PM   #1
fts9
LQ Newbie
 
Registered: Feb 2009
Location: South UK
Distribution: Windows 7/Ubuntu Linux 10.04
Posts: 4

Rep: Reputation: 0
Question Upgrading GRUB on DSL


Hi,

I'm using Damn Small Linux and I'm trying to upgrade the kernel from 2.4 to 2.6. The installed version of GRUB 0.91 and apparently kernels 2.5+ require GRUB 0.97. Now my problem is that since Damn Small Linux don't produce any GRUB ports beyond 0.95, I'm having to install it from source. Do I need to remove GRUB 0.91 first or is there a way of upgrading it? And if I have to remove it, how would I go about doing it? (N.B. There's no official package manager governing the base system in Damn Small Linux)
 
Old 02-27-2009, 07:46 AM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
hi

gosh did not realise it was so quaint.

grab any good live cd...that has a patched grub for inode sizes....
I suggest sidux is great.

boot the live cd....leave your menu as is
copy the files from the live cd folder system and overwrite your current ones.

YMMV but consider this pathway for sidux
/sbin/grub-install
/sbin/update-grub
/usr/lib/grub
/usr/lib/grub/i386-pc
/usr/lib/grub/i386-pc/e2fs_stage1_5
/usr/lib/grub/i386-pc/fat_stage1_5
/usr/lib/grub/i386-pc/iso9660_stage1_5
/usr/lib/grub/i386-pc/jfs_stage1_5
/usr/lib/grub/i386-pc/minix_stage1_5
/usr/lib/grub/i386-pc/reiserfs_stage1_5
/usr/lib/grub/i386-pc/stage1
/usr/lib/grub/i386-pc/stage2
/usr/lib/grub/i386-pc/stage2_eltorito
/usr/lib/grub/i386-pc/xfs_stage1_5
/usr/sbin/grub
/usr/sbin/grub-floppy
/usr/sbin/grub-install
/usr/sbin/grub-md5-crypt
/usr/sbin/grub-mkdevicemap
/usr/sbin/grub-probe
/usr/sbin/grub-reboot
/usr/sbin/grub-set-default
/usr/sbin/grub-terminfo
/usr/sbin/update-grub

then copy the relevant stage* files into /boot

after copying the files over run grub in su mode to install and re-embed the links for the stage1 and stage files
 
  


Reply

Tags
code, damnsmalllinux, dsl, grub, linux, source, upgrade


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
DSL and DSL-N installed - how to edit grub silverbirch DamnSmallLinux 2 03-31-2008 04:38 AM
Upgrading DSL ...Help East DamnSmallLinux 11 02-27-2008 01:54 AM
DSL and grub mepnoob2005 DamnSmallLinux 3 03-10-2007 12:16 PM
upgrading grub version to 0.97 in DSL 2 Weedman DamnSmallLinux 1 01-07-2006 03:18 AM
Upgrading GRUB vincebs Linux - Software 3 01-18-2004 10:12 AM


All times are GMT -5. The time now is 10:31 PM.

Main Menu
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