LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   I broke my Slackware 13.0, can't boot. (http://www.linuxquestions.org/questions/slackware-14/i-broke-my-slackware-13-0-cant-boot-4175429847/)

UnregularExpression 10-01-2012 06:20 AM

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!

/dev/random 10-01-2012 10:00 AM

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)

UnregularExpression 10-01-2012 10:47 AM

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?

mrascii 10-01-2012 11:13 AM

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

DNA
AKA mrascii

UnregularExpression 10-01-2012 11:39 AM

Thanks, I will try that when I am back home.

UnregularExpression 10-01-2012 02:55 PM

Solved!
I used the chroot solution.
Thanks for your help.


All times are GMT -5. The time now is 11:40 PM.