LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-03-2005, 05:13 PM   #1
Present
Member
 
Registered: Jan 2004
Distribution: suse/slack/gentoo/lfs (not-in-that-order)
Posts: 284

Rep: Reputation: 30
how-to install raid kernel?


i have my executables on a 120gb hd, and data(/home) on a raid5. i am migrating from another distro, and would like to utilize my /sda1 partition for /home.

the install works fine if i select the raid kernel option at boot (raid.s i think). but i would like to manually add the kernel to my existing grub /boot partition. can i just get the kernel off the boot disk?

thx
 
Old 03-04-2005, 07:27 PM   #2
Present
Member
 
Registered: Jan 2004
Distribution: suse/slack/gentoo/lfs (not-in-that-order)
Posts: 284

Original Poster
Rep: Reputation: 30
linux rules!!

i tried reinstalling and ended up hosing my functioning system - the slack installer changed 1/2 my grub files so that none of the boot entries would boot properly. as i pondered how to get the system back up without just restoring the boot partition from a backup, i noticed that only symbolic links had changed. a quick ln --help, 3 or 4 link changes, and bam! system starts perfectly again (try hosing NTLDR and see if you can bring it back up that easy ;-)

only catch, i'm still not sure how to get the raid.s kernel to my boot partition. on slack D1, it does not look like it has a kernel image files in the raid.s directory, just some misc files... do i need to compile the kernel to manually install it?

is there a way to boot the install disk using the raid.s option, and then issue a command to save the active kernel files to my /boot partition? then i could add an entry to my grub menu and be set.

if a compile is needed i might as well use gentoo. was hoping for a slightly quicker solution.

thx

Last edited by Present; 03-04-2005 at 07:28 PM.
 
Old 03-05-2005, 01:06 AM   #3
Present
Member
 
Registered: Jan 2004
Distribution: suse/slack/gentoo/lfs (not-in-that-order)
Posts: 284

Original Poster
Rep: Reputation: 30
Problem Resolved

problem resolved

here was the work-around:
1.do slack install (select raid.s boot option)
2.do not mount /boot partition (hda2 here) during install (let slack default to /boot directory in / partition)
3.when prompted select kernel from CD (choose raid.s kernel)
4.when prompted DO NOT install grub/lilo
5.mount /boot partition (hda2 here) to a temp dir.
6.copy vmlinuz from /boot dir on slack install to temp dir (actual /boot partition), changing name to vmlinuz-raid.s (to avoid over-writing possible vmlinuz link which might break a boot entry)
7.add entry to boot menu calling the copied kernel
8.change fstab to reflect new /boot partition (hda2 here), and any raid partitions if not mounted during install (/dev/sda1 /home-for me)
9.reboot

one more linux box in our house switched to slack

Last edited by Present; 03-05-2005 at 01:14 AM.
 
  


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
Kernel 2.6 Install & Software RAID cory2112 Linux - General 2 06-29-2005 10:34 PM
RAID + kernel 2.6 DaDdY SnEb Linux - Hardware 1 12-16-2004 12:17 PM
ITE raid, Mandrake, 10 2.6.4 kernel install problems gaelen Mandriva 0 04-13-2004 07:06 AM
Kernel 2.6, RAID-1 & reiserfs kernel panic Raptor Ramjet Slackware 2 01-04-2004 07:25 AM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM

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

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