LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-10-2004, 12:45 PM   #1
bmschkerke
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Rep: Reputation: 0
SuSE 9.2, aacraid module.


I have a SuSE 9.2 machine which requires the aacraid module to boot. The module wasn't configured and installed by SuSE during installation (I had to select it from the hardware drivers option).

I have the following drive setup:

/dev/sda1 - boot files are here, mounted as /boot once we're up and running.
/dev/sdb1 - data files are here, including /etc, /bin, /sbin, etc.
/dev/sdb2 - swap drive

I understand that SuSE Linux loads a ramdisk for preboot purposes. I understand that the ramdisk is stored as initrd inside of the /dev/sda1/boot directory. I know that mkinitrd is used to create the initrd image used to boot.

My problem is that the only way I can get access to the drives right now is to use the SuSE boot disk, go to drivers, load the aacraid driver, and then drop into rescue mode and manually mount /dev/sda1 and /dev/sdb1. I mount /dev/sda1 as /rescue/boot and /dev/sdb1 as /rescue/mnt/sdb1.

I will refer to the ramdisk created by the rescue system as /rescue.

What I've Tried
I have a properly edited /mnt/sdb1/etc/sysconfig/kernel file which lists aacraid as a required module. I copy this file to /rescue/etc/sysconfig/kernel so it is in the default location and I don't have to specify a ton of command line options.

/rescue/boot is actually /dev/sda1/boot which contains all my boot files, but /rescue/boot is the default for most of mkinitrd's options so hopefully that's okay.

So I have a properly configured /rescue/etc/sysconfig/kernel. I can't seem to figure out what to do past this point.

Using mkinitrd -k vmlinuz -i initrd-2.4.21-149-new results in
Root device: /dev/root mounted as / as ext2
Module list:
Kernel version: 2.4.21-149-smp (x86_64)
Kernel image: /boot/vmlinuz
Initrd image: /boot/initrd-2.4.21-149-new
No modules found for kernel 2.4.21-149-smp

There's no file produced though.

So I'm a bit lost as to what, exactly, I do in this case to produce the file I need. Most of the tutorials and information on the net assume that your root file system is mounted as /, but since I'm running off a rescue disk mine isn't.

Help?

(My boot loader is GRUB by the way, if that makes a huge difference.)

Thanks for any help, in advance.

Brian
 
Old 03-10-2004, 01:20 PM   #2
dushkinup
Member
 
Registered: Feb 2004
Location: Alpha Quadrant, sol system, earth, asia, Israel.
Distribution: Computer I : Slackware 9.1 ; Computer II : Windows XP
Posts: 144

Rep: Reputation: 15
Iv'e no idea. Maybe recompile your kernel or something...

BTW - SuSE 9.2? You sure got me interested!
 
Old 03-10-2004, 01:23 PM   #3
bmschkerke
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Argh, 9.0. I'm sorry. I've been finding lots and lots of stuff about SuSE 8.2. The numbers have started to run together in my head. :\
 
Old 03-10-2004, 07:21 PM   #4
bmschkerke
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Aha!

Okay, I figured it out.

chroot /dev/sdb1 once I've got the rescue disk loaded, make sure the sysconfig/kernel has the right modules, and run mkinitrd without any parameters. Wallah, since everything is truly in the right place magic happens, the ramdisk image gets rebuilt, and I'm now up and running.

Yay for me!
 
  


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
problem auto-installing aacraid module in RHEL EarlMosier Linux - Software 0 06-10-2005 02:03 PM
AACRAID Configuration Question tim914 Linux - Hardware 0 04-25-2005 11:23 AM
'Invalid module format' loading simple module on Suse Linux Professional 9.1 rocketdude Linux - Distributions 3 07-27-2004 11:40 PM
Suse 9.1 aacraid ... on startup? Garp Linux - Distributions 2 07-19-2004 01:33 PM
Dell Powedge and aacraid drivers taboma Slackware 2 11-09-2002 03:53 PM


All times are GMT -5. The time now is 01:27 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