LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-07-2011, 02:45 AM   #1
disco_slack
Member
 
Registered: Apr 2011
Posts: 44

Rep: Reputation: 1
System can't boot after updating to current...


Hello,

I was updating slackware-current via slackpkg and while it was downloading/installing latest kernel (and other apps) my battery went off and now the system can't boot.

I was thinking to boot through a live cd and through chroot command to re-install all the new packages. Would it work?

Any other idea?

p.s. For the first time, I think that slackware should have a feature to turn the system back or maybe it is already and I just don't know it.
 
Old 07-07-2011, 03:49 AM   #2
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
At which boot message does the system hang?
 
Old 07-07-2011, 03:59 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,282

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Boot from a slackware install cd. Any one. Use this sort of boot line

Quote:
boot: huge.s rdinit= root=/dev/<your root> ro
Other slackers will no doubt correct me if that was wrong. That will sit up on the install cd kernel and try to boot your system on the root drive. If it works, plug in a power supply (!) and continue the upgrade.
 
Old 07-07-2011, 04:01 AM   #4
disco_slack
Member
 
Registered: Apr 2011
Posts: 44

Original Poster
Rep: Reputation: 1
it hangs at Lilo's message... Loading Slackware.................................
 
Old 07-07-2011, 04:16 AM   #5
disco_slack
Member
 
Registered: Apr 2011
Posts: 44

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by business_kid View Post
Boot from a slackware install cd. Any one. Use this sort of boot line



Other slackers will no doubt correct me if that was wrong. That will sit up on the install cd kernel and try to boot your system on the root drive. If it works, plug in a power supply (!) and continue the upgrade.
Looks nice as solution. I will try it tonight...

p.s. Too bad that I don't have a slackware cd now. Wondering if that would work with ubuntu live cd (the one I have right now.
 
Old 07-07-2011, 04:22 AM   #6
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
You might have to rerun lilo. Boot on a live CD like Knoppix and mount root for rerunning lilo. Then reboot and continue the current upgrade.
 
Old 07-07-2011, 06:23 AM   #7
disco_slack
Member
 
Registered: Apr 2011
Posts: 44

Original Poster
Rep: Reputation: 1
ok, I feel like a guru. I booted from mini-iso from Alien, chroot to the partition of slackware and than rerun Lilo. Now it works (at least it boots) and I can configure as I need.

Thank you for all your help guys. This mini posts should be part of Slackware wiki based on community feedback.
 
1 members found this post helpful.
  


Reply



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
[SOLVED] kernel boot problem 2.6.33-smp while updating to current libdrm.so.6 no such file matters Slackware 2 03-08-2010 02:50 PM
Slackware64-current : can't have lilo updating the boot loader after kernel upgrade Didier Spaier Slackware 3 07-21-2009 08:00 AM
mplayer your system is too slow after updating slackware current matters Slackware 10 07-15-2009 02:04 PM
After updating SuSE 9.2 packages, system fails boot without mounting /dev/hda2 orgcandman Linux - Software 5 08-16-2005 08:59 PM
After updating Kernel system will not boot !! sanfran49 Linux - Software 3 02-12-2004 04:42 PM

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

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