LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   how-to install raid kernel? (https://www.linuxquestions.org/questions/slackware-14/how-to-install-raid-kernel-297317/)

Present 03-03-2005 05:13 PM

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

Present 03-04-2005 07:27 PM

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 :D (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

Present 03-05-2005 01:06 AM

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 :D

one more linux box in our house switched to slack ;)


All times are GMT -5. The time now is 08:42 PM.