-   Slackware (
-   -   I broke my Slackware 13.0, can't boot. (

UnregularExpression 10-01-2012 05:20 AM

I broke my Slackware 13.0, can't boot.

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 09: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 09: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 10:13 AM

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

AKA mrascii

UnregularExpression 10-01-2012 10:39 AM

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

UnregularExpression 10-01-2012 01:55 PM

I used the chroot solution.
Thanks for your help.

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