LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 02-26-2005, 06:04 PM   #1
Davidian1024
Member
 
Registered: Jun 2004
Location: Cleveland, Ohio, USA
Distribution: LFS
Posts: 35

Rep: Reputation: 15
Help! I screwed my system up!


I don't know what happened. When my system boots it doesn't appear to be running any boot scripts. I can't remember exactly what it says but here's what I remember:

Code:
INIT 2.85 Booting

tty1
(none) login:
If I try to login it says something about the filesystem being readonly and that it can't change tty1. Then another login prompt appears.
 
Old 02-26-2005, 09:53 PM   #2
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Something similar happened to me quite a while back, and it was because I mistakenly, as root (naturally) changed all the files to read-only with a chmod command. As a result I couldn't run anything, even as root. Not even chmod again to fix it.

I reinstalled.

Afraid this is of no help, but at least you know you're not alone.
 
Old 02-26-2005, 10:21 PM   #3
lmmix
Member
 
Registered: Feb 2005
Distribution: debian sid, blfs 6.0
Posts: 41

Rep: Reputation: 15
i have no problem with lfs except iproute2(which is solved now),
then i have made a backup image using partimage,( the time can't be ignored)

http://www.partimage.org

i am doing build blfs over lfs now, i made a mistake on linux-pam part,
so i couldn't loggin my new blfs, but because of my partimage backup, i am not fear my mistake.

i have built lfs using chrooted environment on debian sid.
now, i am compiling firefox-1.0.1.

--
 
Old 02-27-2005, 02:55 AM   #4
Davidian1024
Member
 
Registered: Jun 2004
Location: Cleveland, Ohio, USA
Distribution: LFS
Posts: 35

Original Poster
Rep: Reputation: 15
Well, I managed to fix my problem. A few weeks ago I discovered UPX. I went around randomly compressing my executables. One of those being bash. Apparently at boot time a UPX packed image of bash will not run. I have no idea why. Since bash is used for running my boot scripts nothing was getting started. Anyway I replaced the compressed version of bash with an original and everything was back to normal.
 
Old 02-27-2005, 09:35 AM   #5
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Quote:
Originally posted by Davidian1024
Anyway I replaced the compressed version of bash with an original and everything was back to normal.
Glad to hear it! I remember clearly the sinking feeling when I was informed by the operating system that there was no such thing as bash. At that point I knew I was a goner. I almost passed out... Not the most pleasant day with Linux, but it was all my fault!
 
Old 02-27-2005, 05:34 PM   #6
lmmix
Member
 
Registered: Feb 2005
Distribution: debian sid, blfs 6.0
Posts: 41

Rep: Reputation: 15
IIRC, blueflops using upx over executable files.
http://blueflops.sf.net/

other thing about boot
http://www.bootchart.org/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Update screwed system up steve_ervin21 SUSE / openSUSE 2 07-27-2005 06:00 PM
I screwed something up NobodyImportant Linux - Newbie 1 09-17-2004 09:10 PM
screwed up system badly, glibc need to upgrade unforgivn Linux - Newbie 3 06-15-2004 01:29 AM
Help! System screwed after attempting suspend fitboy Linux - Software 1 05-03-2002 02:01 PM
Help... I'm screwed!!! kurgan70 Linux - General 3 06-02-2001 05:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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