Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 05-13-2004, 11:12 PM   #1
Registered: Apr 2002
Location: Albuquerque, NM USA
Distribution: Slackware, Ubuntu, Debian, Maemo
Posts: 464

Rep: Reputation: 30
Proper way to reconfigure Debian's initrd

Here is my problem:

I have a great little Debian-Unstable machine that is currently running on an IDE hard drive and I want to move it to a SCSI one and boot from the SCSI drive.

The standard issue Debian kernel has the SCSI device driver stuck in the initrd file, so to get the thing to boot, I'll need to get the little system inside the initrd to load the modules for my SCSI support.

Of course I can brute force things and rewrite and recreate the initrd myself, or better yet, compile my own kernel to provide the support inside the monolithic kernel file like I would have in my Slackware days, but I really enjoy being able to do system upgrades with apt based tools. Therefore I'd like to learn how to do this the "Debian way" so that if I do a simple kernel upgrade using apt, the new initrd will be all configured for me.

So in Debian, how do you configure initrd so that future apt-based kernel upgrades will maintain my SCSI support?
Old 05-20-2004, 05:27 PM   #2
LQ Newbie
Registered: May 2004
Posts: 8

Rep: Reputation: 0
I do not think that it is possible to do this with the apt utils by themselves. You will probably have to write yourself a custom script. I am sure that someone has probably already written a script to do this already.

I am going to write a Python GUI script to download, compile and install a new kernel using an existing .config file when I have the time.

Wish I had better news for you,

Old 05-21-2004, 10:02 AM   #3
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
You'll find the answer in this article.
Old 05-26-2004, 10:03 PM   #4
Registered: Apr 2002
Location: Albuquerque, NM USA
Distribution: Slackware, Ubuntu, Debian, Maemo
Posts: 464

Original Poster
Rep: Reputation: 30
Thanks TigerOC, This was just what I was looking for (mkinitrd). This is just the kind of slick little mechanism that I've grown to expect from Debian to insure future apt-get upgrades are a snap.


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
[SOLVED] Bittorrent: downloading Debian's iso lord_didger Linux - Software 2 06-27-2005 11:16 AM
Debian's Fork Bomb Prevention / ULIMIT win32sux Debian 2 03-27-2005 10:57 PM
Booting Debian's Base through SuSE's Grub RevX Debian 2 08-03-2004 09:41 PM
What's up with Debian's java? Dead Parrot Debian 6 04-28-2004 06:02 PM
curious about Debian's SID branch ahprophet Debian 1 02-24-2004 12:49 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:50 PM.

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