View previous topic :: View next topic |
Author |
Message |
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sat Apr 02, 2016 5:19 am Post subject: |
|
|
rudomilov wrote: | I upnacked 32 bit version to /boot and replace string about initramfs with this:
Code: | initrd /boot/initramfs.cpio rootfstype=ext3 root=/dev/sda3 |
|
rudomilov ... the 'initrd' line should have the path to the initramfs only, the other parameters should be passed as parameters to 'kernel', eg:
Code: | default 0
timeout 3
title Gentoo Linux 3.3.8
root (hd0,0)
kernel /boot/kernel-genkernel-x86-3.3.8-gentoo rootfstype=ext3 root=/dev/sda3
initrd /boot/initramfs.cpio.gz |
The fact that its failing could be something to do with the kernel (missing drivers for SATA, or such like) or something not passed as a parameter to the kernel, when you run genkernel above you passed mdadm and lvm, why?
You get a rescue shell because something fails, and I can't see what that is from the screenshot.
best ... khay |
|
Back to top |
|
|
rudomilov n00b
Joined: 27 Mar 2016 Posts: 15
|
Posted: Sun Apr 03, 2016 11:10 am Post subject: |
|
|
Khayyam, thank you so much for your help! Now I restored server from backup, but I will try to fix this kernel. Probably, I should to move this server to some more usual and easy for me linux like Debian. Normally, I use Debian, and this Gentoo server is just one old case in our company. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|