LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-17-2004, 12:07 PM   #1
denning
Member
 
Registered: Jan 2004
Location: Oxford
Distribution: Slackware, Debian, Fedora, FreeBSD, NetBSD
Posts: 150

Rep: Reputation: 15
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
 
Old 10-17-2004, 12:21 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
can you use pkgtool???
 
Old 10-17-2004, 12:42 PM   #3
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
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
 
Old 10-17-2004, 02:43 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
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.
 
Old 10-17-2004, 04:46 PM   #5
denning
Member
 
Registered: Jan 2004
Location: Oxford
Distribution: Slackware, Debian, Fedora, FreeBSD, NetBSD
Posts: 150

Original Poster
Rep: Reputation: 15
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!
 
Old 10-17-2004, 05:05 PM   #6
denning
Member
 
Registered: Jan 2004
Location: Oxford
Distribution: Slackware, Debian, Fedora, FreeBSD, NetBSD
Posts: 150

Original Poster
Rep: Reputation: 15
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.
 
Old 10-17-2004, 05:37 PM   #7
denning
Member
 
Registered: Jan 2004
Location: Oxford
Distribution: Slackware, Debian, Fedora, FreeBSD, NetBSD
Posts: 150

Original Poster
Rep: Reputation: 15
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!
 
Old 10-17-2004, 11:20 PM   #8
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Rep: Reputation: 33
The 2nd cd of of slack boots as a rescue disk you will be able to do what Cedrik said with it
 
Old 03-20-2006, 03:14 AM   #9
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
Thumbs up

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.
 
  


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
Slack Wont Boot 10 HeavyGear Slackware 1 09-13-2004 05:02 PM
install Suse, xp wont boot, repair xp suse wont boot Tangz Linux - Newbie 10 07-16-2004 05:37 PM
Can't Compile e2fsprogs 1.34 TruckStuff Linux - Software 0 02-16-2004 04:59 PM
Win XP Wont boot after installing Slack 9.1 mtcougar832 Slackware - Installation 12 12-26-2003 01:19 PM
slack 9.0rc1 wont boot with lilo. ratbert90 Slackware 5 03-11-2003 02:04 PM

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

All times are GMT -5. The time now is 01:48 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