LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Need help booting Slack (https://www.linuxquestions.org/questions/slackware-14/need-help-booting-slack-316956/)

number11 04-25-2005 09:55 AM

Need help booting Slack
 
Hello,

I recently updated my 2 servers using slapt-get. On one server I went through and updated my kernel and I was in the process of doing the same thing on the second server. Anyway I rebooted my second server on accident thinking I was rebooting my first server. Now when my second server boots up it just hangs there searching for the kernel. Is there anything I can do to solve this or am I doomed and just lost everything.

Thanks,

xushi 04-25-2005 09:56 AM

Stick your slackware cd in, boot from it, then just search for the kernel bare packages and reinstall them

type
lilo

and reboot. That should do the trick.

number11 04-25-2005 09:57 AM

Wow that was a fast reply okay I will do that. Thanks for your help.

number11 04-25-2005 10:21 AM

Okay I tried to do that and here is what I get.

It tells me to
1. Select your source media. Okay I did that
2. Set Up your target Linux Partition. Didn't do that not sure if it will erase everything.
3. Select which software categories. Did that but after this it will not allow me to go any further.

I am assuming I might need to setup my target partition but not sure if I need to do this.

Nobber 04-25-2005 10:26 AM

You need to boot your server using the Slackware CD thus:

bare.i noinitrd ro root=/dev/hda1

or something like that. The instructions come up on the boot screen itself. (Replace /dev/hda1 with the name of your actual root partition, obviously.)

perfect_circle 04-25-2005 10:44 AM

Quote:

Originally posted by number11
Okay I tried to do that and here is what I get.

It tells me to
1. Select your source media. Okay I did that
2. Set Up your target Linux Partition. Didn't do that not sure if it will erase everything.
3. Select which software categories. Did that but after this it will not allow me to go any further.

I am assuming I might need to setup my target partition but not sure if I need to do this.

Do not type setup after you boot the cd.
just make a directory (the cd is loaded in RAM),
and mount your slackware partition under this directory.
then do :
chroot <slackware directory>
and you can do add a kernel or do whatever you like.
Another option is to boot from a boot-disk. If you have one. Those disk just have a kernel and you will boot your system. You may manually place a kernel from the slack cd's in your /boot directory and then update lilo, to point to this kernel.

number11 04-25-2005 11:51 AM

That did it perfect_circle and Nobber! I now can access my server. I appreciate the help never ran into this before so I was stumped.


All times are GMT -5. The time now is 03:36 AM.