Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-17-2004, 12:07 PM
|
#1
|
Member
Registered: Jan 2004
Location: Oxford
Distribution: Slackware, Debian, Fedora, FreeBSD, NetBSD
Posts: 150
Rep:
|
slack wont boot. How do I installpkg e2fsprogs?
I was trying to trim down my system by removepkg stuff. I am inexperienced, so i thought i could remove e2fsprogs since i am using reiserfs. Turns out e2fsprogs includes libuuid.so.1 which is necessary for reiserfsck and fsck, so my system wont boot now. It will only let me boot into single user mode and the fs is readonly. Hence, even though i managed to mount the slack cd, i couldn't isntallpkg e2fsprogs. So is the system dead? do i jsut have to reinstall slack or is there some other way to save it?
thanks
|
|
|
10-17-2004, 12:21 PM
|
#2
|
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577
Rep:
|
can you use pkgtool???
|
|
|
10-17-2004, 12:42 PM
|
#3
|
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140
|
from the cd, try to run installpkg with the -root option like (say your root is /dev/hda4) :
installpkg -root /dev/hda4 /path/to/e2fsprogs.tgz
|
|
|
10-17-2004, 02:43 PM
|
#4
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
If what cedrik said doesn't work, try mounting the driver first, ie:
mount /dev/hda4 /mnt
and then:
installpkg -root /mnt /path/to/e2fsprogs.tgz
Oh, you can boot using slackware cd 2 (or 1, but 2 is designed for this  ) to mount and install the pkg.
|
|
|
10-17-2004, 04:46 PM
|
#5
|
Member
Registered: Jan 2004
Location: Oxford
Distribution: Slackware, Debian, Fedora, FreeBSD, NetBSD
Posts: 150
Original Poster
Rep:
|
ah, so i need to boot from cd instead of from hard drive. i see....i will try that out.
unfortunately, I cannot boot from cd (because it is slave primary ide, i think that's why), but no probs, i just boot the old way by floppy and I will try those out. THank you!
|
|
|
10-17-2004, 05:05 PM
|
#6
|
Member
Registered: Jan 2004
Location: Oxford
Distribution: Slackware, Debian, Fedora, FreeBSD, NetBSD
Posts: 150
Original Poster
Rep:
|
i tried booting from floppy, but it wouldnt even get thru the entire boot process!
I got thru boot disk, and rootdisk (install1) fine, but once i got to rootdisk 2 (install2) it says
Loadign install.2 floppy in to RAM disk... tar: ./bin/ls: input/output error -- read-only file system
tar: Bad tar header, skipping
argh!!!
I thought the floppy was corrupted, so i kept trying to rawrite new floppies. I even redownloaded install.2 from the slackware.com site but it still kept coming up. I give up. I am just reinstalling. I can't go on several days with an unbootable slack box.
a message to all: be careful about what you removepkg! Or your system may be beyond rescue. Boo hoo....
Last edited by denning; 10-17-2004 at 05:23 PM.
|
|
|
10-17-2004, 05:37 PM
|
#7
|
Member
Registered: Jan 2004
Location: Oxford
Distribution: Slackware, Debian, Fedora, FreeBSD, NetBSD
Posts: 150
Original Poster
Rep:
|
SOrry for reposting but this is rather important. I fixed it!
SO silly...i was trying to do such complex things, trying to boot and mount the /dev/hda2 on my own. THat was all wrong and unnecessary.
All you need to do to repair a slack box that is missing programs is simply to run the installation like normal! that is setup, addswap, but DO NOT format what is mounted as /. Then, when it asks what I want to install, i unchecked everything apart from "a". Then, I chose expert mode, and unchecked everything except e2fsprogs, which is what i need to add to my system.
then i install it. WHen that is done, setup asks me if i need to configure /etc/fstab or lilo. Since i haven't touched them and am merely adding a new package, I skipped it, and rebooted. DONE! I saved my system.
So glad, cos it took me a while to get CUPS working with a DeskJet 720C. SHame if i had to do it all over again when i am so busy at the moment! 
|
|
|
10-17-2004, 11:20 PM
|
#8
|
Member
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284
Rep:
|
The 2nd cd of of slack boots as a rescue disk you will be able to do what Cedrik said with it
|
|
|
03-20-2006, 03:14 AM
|
#9
|
Member
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 468
Rep:
|
Thank you denning!!!
You saved me so much time with your post! The exact same thing happened to me, i tried booting from the install cd and even that didn't boot completely, i had just reinstalled 2 weeks ago cos i broke an ext3 filesystem and moved to reiserfs, i have everything backed up (learned the hard way) but it's too much trouble installing/compiling/tweaking so soon again.
I also removed e2fsprogs since i am using reiserfs
Code:
e2fsprogs
Utilities needed to create and maintain ext2 and ext3 filesystems.
These utilities were written by Remy Card (the developer and
maintainer of the ext2 fs) and Theodore T'so.
Never knew it would say something about libblkid and libuuid, lol!
I wish Shilo could warn more people in his excellent guide here http://shilo.is-a-geek.com/slack/tweak.html about it or post a link to your post.
Adding [Solved] would be nice
Thank you LinuxQuestions.org
Thank you denning
Slackers 0wn
Last edited by MannyNix; 03-20-2006 at 03:20 AM.
|
|
|
All times are GMT -5. The time now is 07:51 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|