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 10-01-2012, 05:20 AM   #1
UnregularExpression
LQ Newbie
 
Registered: Oct 2012
Posts: 4

Rep: Reputation: Disabled
I broke my Slackware 13.0, can't boot.


Hi,

So I broke my Slackware 13.0 by messing around with new e2fsprogs, udev and linux-utils package.
At startup I get errors with libblkid. I can't get a prompt.

I want to remove the old packages and reinstall the original ones.
I could boot on a USB Slackware image, mount the partition but then I am not sure what to do.
Can I use removepkg and installpkg to manage packages that are not on the root partition?
Or can I extract the packages and install the files manually?

Thanks in advance!
 
Old 10-01-2012, 09:00 AM   #2
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
Why don't you use the slackware install cd/dvd?
just boot it up as normal then mount your root partition in /mnt then chroot it so that is the root then use pkgtools to fix the issues (or removepkg, installpkg)
 
Old 10-01-2012, 09:47 AM   #3
UnregularExpression
LQ Newbie
 
Registered: Oct 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Ok, that sounds good.

I never used chroot before, I did a quick search and found this command : "chroot /mnt /bin/sh". Is that correct?
 
Old 10-01-2012, 10:13 AM   #4
mrascii
Member
 
Registered: Jun 2012
Location: on the Net
Distribution: Slackware
Posts: 100

Rep: Reputation: Disabled
You may need to mount /proc and /sys. The Arch Wiki has an article that will help you with the commands.

DNA
AKA mrascii
 
Old 10-01-2012, 10:39 AM   #5
UnregularExpression
LQ Newbie
 
Registered: Oct 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks, I will try that when I am back home.
 
Old 10-01-2012, 01:55 PM   #6
UnregularExpression
LQ Newbie
 
Registered: Oct 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Solved!
I used the chroot solution.
Thanks for your help.
 
  


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
I broke Lilo, Still Able to boot from the Rescue Disk halfpower Slackware 1 07-04-2006 09:07 AM
Xp broke my Master boot record. crofty13 Linux - General 2 06-18-2006 11:23 AM
Alsa broke while upgrading to Slackware-current Almighty-Bob Linux - Software 5 03-16-2005 08:07 PM
I broke slackware's keyboard Tech1 Slackware 6 05-07-2003 06:52 AM
Xandros Broke My Boot! deesto Linux - Distributions 13 12-16-2002 02:03 PM

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

All times are GMT -5. The time now is 09:43 PM.

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