To Any Linux User

free web hosting
Free Web Hosting > Computers & Tech > Operating Systems > Linux

To Any Linux User

snutz411
If you are a Linux user and play around with the configuration files on your computer to get your setup working just the way you like, do yourself a HUGE favor and get a Knoppix LiveCD.

I screwed up the conf file for my X11 setup under my Slackware 10.0 laptop and the startup sequence went just fine, but before the login screen would show, the system would crash. I couldn't get to a command line to fix what I wanted.

I didn't have a rescue disk and I REALLY didn't want to reformat and start over from scratch since this computer is working so close to the way I wanted (I got wireless working, my ATI video card to work, most of my USB mouse, and my LAN browsing)

After a couple failed attempts to trick it into going into a command line, I popped in my Knoppix cd and from there I can view all the partitions on my harddrive (Windows and Linux). I set the option to make whichever partition I want to be writable, by default the partitions are read-only. Now I can edit my xorg.conf file and fix my screw up.

Lesson to be learned is, even if you think you have a good understanding of Linux, crap will hit the fan one of these days and just consider a LiveCD to be the paper towl to clean it all up.

 

 

 


Reply

abhiram
Didn't you have the Slackware install disk? Disk 1 can be used to boot and fix stuff like this. I remember restoring my bootloader using the slackware disk when I had to reinstall XP.

Also, another way to get a shell directly from the bootloader if you're using GRUB is to edit the command by pressing 'e' and then entering this at the end of the line and booting it then:

CODE

init=/bin/bash


That worked for me when I had access to a campus server running FC3 wink.gif.

PS: Off topic, but just noticed that this is my 500th post. Yay!!! laugh.gif

Reply

mastercomputers
Usually if my X Server doesn't load, I'm presented with the option of trying to start it again, or seeing the output and fixing it.

It's always a good idea to have a rescue disk handy, even if it means using Knoppix as such a disk. You should always make backups of the files you alter so that you can easily revert back to it.

As for logging into terminal from grub (using Fedora), is editting the conf file and instead of doing init=/bin/bash just add 3 to the options part of the kernel root location, e.g. root=/dev/blah2 rhgb quiet 3

Which will get you into runlevel 3, you don't need rhgb (red hat graphical boot) or quiet (hides services/processes) to be present there, I just put it in, because it's usually default for some people and probably easier for people to recognise it.


Cheers,


MC

Reply

Jeigh
Ever since I've learned of Knoppix back a couple years ago I've always kept a disk handy... I've never really 'needed' to use it on my own system but it's been helpful on some friends systems when they break their everything and call me and expect me to be able to wave my hands and voila! All better.

Another side effect of that type of sit (helping friends usin it) is that when they say "Hey, that doesn't look like windows usually does..." you can blow their minds wink.gif

But yea, many others have good live cds now too, but knoppix is still one of my favs. I also keep one of the security specific versions lieing around in case I ever need some... 'tools'... that are less common on live cds haha.

Reply

xboxrulz
same here, I usually keep a LiveCD handy just in case anything happens.

xboxrulz

Reply

krassyo
For emergency purpose I'm using the Slackware Boot CD (Slackware CD1).

Reply

abhay
QUOTE(snutz411 @ Mar 31 2006, 09:16 PM) *

If you are a Linux user and play around with the configuration files on your computer to get your setup working just the way you like, do yourself a HUGE favor and get a Knoppix LiveCD.

I screwed up the conf file for my X11 setup under my Slackware 10.0 laptop and the startup sequence went just fine, but before the login screen would show, the system would crash. I couldn't get to a command line to fix what I wanted.

I didn't have a rescue disk and I REALLY didn't want to reformat and start over from scratch since this computer is working so close to the way I wanted (I got wireless working, my ATI video card to work, most of my USB mouse, and my LAN browsing)

After a couple failed attempts to trick it into going into a command line, I popped in my Knoppix cd and from there I can view all the partitions on my harddrive (Windows and Linux). I set the option to make whichever partition I want to be writable, by default the partitions are read-only. Now I can edit my xorg.conf file and fix my screw up.

Lesson to be learned is, even if you think you have a good understanding of Linux, crap will hit the fan one of these days and just consider a LiveCD to be the paper towl to clean it all up.



hi,

Usuall when my X-windows fails , i follows some steps

(i) restart your computer, when the grub boot loader screen loads then there would be three options in the screen, 1 for windows and 1 for linux, press e to edit the boot screen, press e again, press space bar and type 3 to go to the run leve 3. press b to boot.

(ii) the system now will boot to the run level 3.

(iii) now type startx to start the x windows again.

(iv) now if it fails then type system-config-display

(v) If it fails then check your /etc/passwd file, check there for the gdm user.

(vi) write entry for the gdm user deamon.

Follow these steps you would find that it really works.




Hi

Usually when my X-Windows fails,

I try firstly


(i) restart your computer,



QUOTE(snutz411 @ Mar 31 2006, 09:16 PM) *

If you are a Linux user and play around with the configuration files on your computer to get your setup working just the way you like, do yourself a HUGE favor and get a Knoppix LiveCD.

I screwed up the conf file for my X11 setup under my Slackware 10.0 laptop and the startup sequence went just fine, but before the login screen would show, the system would crash. I couldn't get to a command line to fix what I wanted.

I didn't have a rescue disk and I REALLY didn't want to reformat and start over from scratch since this computer is working so close to the way I wanted (I got wireless working, my ATI video card to work, most of my USB mouse, and my LAN browsing)

After a couple failed attempts to trick it into going into a command line, I popped in my Knoppix cd and from there I can view all the partitions on my harddrive (Windows and Linux). I set the option to make whichever partition I want to be writable, by default the partitions are read-only. Now I can edit my xorg.conf file and fix my screw up.

Lesson to be learned is, even if you think you have a good understanding of Linux, crap will hit the fan one of these days and just consider a LiveCD to be the paper towl to clean it all up.



hi,

Usuall when my X-windows fails , i follows some steps

(i) restart your computer, when the grub boot loader screen loads then there would be three options in the screen, 1 for windows and 1 for linux, press e to edit the boot screen, press e again, press space bar and type 3 to go to the run leve 3. press b to boot.

(ii) the system now will boot to the run level 3.

(iii) now type startx to start the x windows again.

(iv) now if it fails then type system-config-display

(v) If it fails then check your /etc/passwd file, check there for the gdm user.

(vi) write entry for the gdm user deamon.

Follow these steps you would find that it really works.




Hi

Usually when my X-Windows fails,

I try firstly


(i) restart your computer,

 

 

 


Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Similar Topics

Keywords : linux, user

  1. How To Enable User Login Security On Windows Vista
    NOT User Account Control (0)
  2. How To Change Your Windows User Environment Variables
    a step-by-step guideline (5)
    1. INTRODUCTION. Most of Microsoft very basic users are satisfied when the Windows installer
    installs each new software, automatically putting each file in the right place and making each
    Windows registry change. However, some new incoming software environment, mainly the ones from the
    open world, let you do some changes manually. For instance, if you install the java development
    software on your pc, you have to manually tell windows where the java binaries are. That means, if
    you type “javac” in a command shell window, Microsoft Windows has to know that javac.ex....
  3. When And What Is Your First Linux Experience?
    (4)
    Hi All, I want to learn when and what is your first experience of linux? Mine is; 1996 first
    install of linux. 1995 first time I heard of linux. I remember how I was happy and how I was curious
    about linux. I was bored of Windows. It was not the OS I was dreaming of. It was not completely
    flexible. I was feeling that windows is not the edge of the computer tech. There are something wrong
    about windows. And Linux was like a dream for me.. I remember how I tried to get a linux distro. I
    remember how I installed it.. How excited I was. It was incredible.. The linux I ins....
  4. I Want To Get Linux, Which One Is Best?
    (6)
    currently have Windows XP (god help me) and want to change to Linux. I know that Linux is
    open-source, but does that mean that it is free? I have no idea on the matter so I decided to
    consult the forums. ....
  5. Linux Software Installation Help
    it tells how to install software in tar.bz2 or .bin extension (2)
    installing .tar.bz2 software open the terminal window.Place the s/w in root's home..then
    write file.tar.bz2 in terminal. uncompressing will take place.a folder with .tar extension will b
    created.Now write tar -xvf filename.tar,contents will be read..Now,move to the directory just
    created..read the readme file..follow instruction such as make or make install to be commanded in
    terminal...now its done..use it by writing in terminal for ex. mplayer movie.avi. ..or just drop ur
    movie file nin the terminla..nd remove the " " in the file..append mplayer with blank spa....
  6. Linux Partitioning Guide (new Users)
    A very basic guide to partitioning in linux designed for new users (1)
    QUOTE Partitioning Guide This guide is designed for users New to Linux. 1. All Linux users
    run as just that 'a user'. If you are moving from Windows it is most likely that you ran
    Windows as an 'Administrator' (root). In Linux, any task which alters the Operating System
    (OS) of a Linux distro requires 'root' privileges. You will need the 'root' password
    to do this. Basically, this gives you temporary access to the core of your OS. This is what makes
    Linux far more secure than Windows. 1. That being said you will now understan....
  7. Internet Connection In Linux Through Mobile
    (4)
    Hi Guys! I have been successful in connecting my phone to internet on both Ubuntu and openSUSE
    using BOTH the methods. I am not sure about other distros however they should work. There are two
    ways to connect to the internet using a GPRS modem phone. For the phones with BLUETOOTH : THE
    BLUETOOTH CONNECTION METHOD: You need to follow the steps below to connect to the internet using
    a bluetooth connection: 1: Switch on bluetooth on your phone and the computer. Make both your
    computer and phone visible to other devices. 2: Do a search from Linux for bluetooth de....
  8. [c/c++][linux] Linking With A -l Is Static Or Dynamic?
    How will it effect distribution and portability? (0)
    It has been a long time since I coded in C/C++ and I can't seem to remember the exact mechanism
    of linking. Say, I compiled and linked the source code given at SQLite quickstart guide (C
    example in Write Programs That Use SQLite ) in Linux(Ubuntu) environment: g++ -o"SQLiteTest"
    ./sqlitetest.o -lsqlite3 It gives me a nice executable SQLiteTest and I can use it on my
    system. But how would it fare when I distribute that code to someone else? Is the libsqlite3.*
    statically packaged into SQLiteTest? or is it dynamically linked and the recipient of the prog....
  9. User Account Control
    (13)
    I'm sure most of you know about Windows Vista's User Account Control. I was wondering if
    there were any registry settings or anything that I could modify to force the UAC prompt to appear
    when doing these tasks: Clicking the Start button Opening any folder Launching any application
    Adjusting personalization settings Opening a new page in Internet Explorer (by that I mean typing
    in a URL, from Favourites or by clicking a link) Turning off, sleep or restarting the computer
    Modifying the Windows Sidebar Opening any file (mp3, document, anything) There's....
  10. Which Linux Version For Newbies?
    Give your opinion (14)
    Hi, well i have been a windows user all my life, and I'm really satisfied with it. But from a
    time know as a good programmer/user, I want to know what I'm missing(or not) from not using
    linux, so for those who have a long time using it I would like you to ask a favor, if you could
    recommend me the version that I should test. I don't understand when someone says to a newbie in
    linux that is asking for a version to start, they say to them "well ubuntu(example) is a good
    version to start", what are the real diference between the different types of linux. ....
  11. Why Linux?
    (23)
    i have always wonder, what is so special about linux? why do people have linux? rather than windows
    or mac? is it recommended that noobs like me /laugh.gif" style="vertical-align:middle"
    emoid=":lol:" border="0" alt="laugh.gif" /> have an linux os? /rolleyes.gif"
    style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />....
  12. Yahoo! Messenger Power User
    (2)
    I just received a very weird message when I logged into Messenger today. It said “Congratulations,
    you are a Power User!” The pop-up was in its separate window similar to the annoying Insider and
    had a Learn More, Choose Your Icon, and No Thanks button (the Learn More button didn’t work). After
    doing a quick Google search
    (http://help.yahoo.com/l/us/yahoo/messenger/messenger9/pwrusr/pwrusr-01.html)
    (http://messenger.yahoo.com/powerusers) I found that this thing does really exist and wasn’t some ad
    pop-up that somehow got past my defenses. Here are a few of the “benef....
  13. How To: Display A Members/user List.
    With PHP, Mysql, and HTML. (3)
    Alright, some of you might want to display your User's or Members on your site. Notes: 1.This
    is to fit in with Feelay's register and Log-in scripts you can find in the tutorial section. 2.I
    made this to show the members of my site who is a member and what their ID is. First off, we must
    set up a connection to our MySQL Database. CODE $con =
    mysql_connect("localhost","database_username","database_username_password"); if (!$con)   {
      die('Could not connect: ' . mysql_error());   } What it does: 1.It is starting a PHP
    document. 2.Next it sets....
  14. Choice Of Motherboard For Linux Virtualization
    Who knows which ones work well? (5)
    Virtualization is a relatively arcane subject, but it is one which is very rapidly growing, and
    apparently very "hot" in commercial enterprises. For the hobbyist with multiple computers (I have
    8), it offers the possibility of taking snapshots of running, fully configured applications and
    operating systems, and transferring some or all of them onto a single computer platform. First, it
    saves energy. Second, once the conversion has been made from real hardware to a virtual "guest,"
    the driver problems associated with moving from one hardware platform to another are sol....
  15. C/c++ -gdb Linux Debug Tool
    Simple Gdb tutorial (1)
    To run the C/C++ file use $ gcc –g –o test sample.cpp To debug the code use following command $
    gdb test --- you will get following messages GNU gdb Red Hat Linux
    (6.3.0.0-1.122rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the
    GNU General Public License, and you are welcome to change it and/or distribute copies of it under
    certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for
    GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-g....
  16. Linux Beginners - Tutorial On Editors In Linux.
    (3)
    This is a simple tutorial on the editors in Linux. I use these 3 editors for programming on linux:
    1. vi -- available in all Linux and unix box, used to edit 2. vim -- not in all Linux flavors
    and it has got default coloring of key words feature, used to edit 3. view --Its used only to
    view, recommended to use for viewing of system config files, as it should not get edited without
    your notice. Following are the basic commands comes handy with these editors #Open a file for
    edit $ vi test -- creates a file if file is not exist in the current directory $ v....
  17. How To Create A "user Profile" Page.
    No design (easy to add later if you want). (14)
    Hi! It was a long time ago I created a tutorial, so I've decided to create a new one
    /wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> This time, I am
    going to teach you, how to create a "user profile page". Lets say I am logged in on my account, and
    want to view someone else account information (in this case, only his username, but you can add more
    things later). Then I'll press on a link, that will take me to his user profile. But before
    you can do that, you will have to create a register script, and a login script. If you d....
  18. Linux For Beginners- Easy To Install
    (16)
    Which Linux distru is for beginners and Easy to install?....
  19. How To Copy File & Folders From Linux To Windows?.
    (12)
    Many face problem while transfering file from Linux to windows and Vise versa. My solution for
    this is "winscp405". Winscp is a windows freeware tool used to copy file from & to Linux machine.
    To get this tool just google for " winscp405" tool and download this small package and install.
    Enjoy working with Linux and windows /tongue.gif" style="vertical-align:middle" emoid=":P"
    border="0" alt="tongue.gif" />....
  20. How To Play Music And Movie In Linux? Which Is The Good One?.
    (6)
    How to play Movie and music on linux. I am using fedora and i dont think so any player is specific
    to any one flavour of linux. I have used "MP3 blaster" player, but this you need to play from
    command line. Any other user friendly player pls let me know /rolleyes.gif"
    style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> ......
  21. How To Create/edit/delete Ftp Accounts With Php
    Help me to create one php page to create FTP user accounts in Unix Ser (2)
    Thanks /cool.gif" style="vertical-align:middle" emoid="B)" border="0" alt="cool.gif" /> ....
  22. How To Install Linux Suse
    (1)
    QUOTE Installing Suse Linux 10.1 This article is a "walk-through" of how I've installed
    and configured Suse Linux 10.1 on 5 machines. This will be updated as I find things that may be of
    interest. Please do not contact me with tech support questions. You'll find people far more
    qualified to answer any questions at the 2 forums listed below. At some time or another I've
    found most of what I know of Suse there. I hope that you will find this information helpful in your
    dealings with Suse 10.1. Suse Linux Community Suse Forums (Use the search functio....
  23. Looking For Linux
    2 choices that I will choose - make it easy to install and MAINTAIN (34)
    Ok I have tried Linux before, it was ok, until something with the kernel screwed up and it left me
    with a command line interface that I didn't know what to do. I am looking for 2 different
    distributions of Linux here, my first one is for: (Currently running Windows XP SP2) A computer
    with 512 MB RAM Pentium 4 processor Internet Access GNOME or KDE desktop, doesn't matter Minimal
    command line work!!! Absolutely no command line work when installing. I have tried Ubuntu, it was
    easy enough. Anything easier than Ubuntu and I'll give it a try. My second cho....
  24. Could Linux Become The Dominant Os?
    (14)
    According to the author's opinion, the answer is yes (he's a lawyer, from what I can tell).
    http://www.theregister.co.uk/2007/08/17/triumph_of_linux/ The article also contains some
    interesting facts about the devious ways in which Microsoft is trying to derail Linux, most recently
    through vague legal threats to enforce patents against Linux distributors that it does not partner
    with. Personally I think Linux could become the dominant OS, but many, many years from now.....
  25. How Can I Make Xp User Autologin ?
    I know how to make the Administrator user automatically log in in Wind (6)
    I would like my system to automatically log the user Administrator at power-up or at system reboot.
    And I don't want to remove the Administrator user password. I knew how to do this with Windows
    2000 : in the command prompt, type "control userpasswords" and you see the user admin pannel coming
    up, you uncheck "user must provide a password", the system asks you the default user passwords and
    then you don't need to give the password again at each boot. How do you perform this under
    Windows XP ? I would not like to directly edit the registry settings, I would like t....
  26. What Made You Switch To Linux?
    (61)
    I first tried Linux a few years ago, not because I was completely against Windows or anything like
    that, but just because I had some free time on my hands. I started off with Mandrake 9.0 which was
    very user friendly and Windows-like. After reading through a bunch of message boards and learning
    which distros are good for what, I soon realized my current distro was great for Linux noobs. So
    then I decided to try something a little more advanced like Slackware which I knew had a steep
    learning curve. Since then I've been using Slackware as my main OS and couldn'....
  27. What Language Is Linux Written In ?
    (15)
    I''ve been wondering lately, what language is Linux written in? I'm interested in
    this, because my friend and I are considering writing our own distro. I know, it sounds like a bit
    of a feat, but one guy wrote MEPIS by playing with the Debian source code. I think the two of us
    could do something similar. /tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif'
    /> ....
  28. What's The Difference Between Linux And Unix?!?
    (16)
    are they even made by the same people...?....
  29. Linux SuSE detec you all hareware
    Yea SuSE detec all. (2)
    Yea SuSE heve the best tools. Mplayer, Xmms, OpenOfecce, K3B, FireFox etc.....
  30. Now Linux is ease
    The linux SuSE 9.1 is most ease linux (9)
    /tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif' /> if you desire to do
    your linux most ease, I recommend yourself to change you to SuSE 9.1 and your life to be ease. These
    linux make all to you. you don't need to make nothing. /biggrin.gif' border='0'
    style='vertical-align:middle' alt='biggrin.gif' /> ....

    1. Looking for linux, user






*SIMILAR VIDEOS*
Searching Video's for linux, user
Similar
How To Enable User Login Security On Windows Vista - NOT User Account Control
How To Change Your Windows User Environment Variables - a step-by-step guideline
When And What Is Your First Linux Experience?
I Want To Get Linux, Which One Is Best?
Linux Software Installation Help - it tells how to install software in tar.bz2 or .bin extension
Linux Partitioning Guide (new Users) - A very basic guide to partitioning in linux designed for new users
Internet Connection In Linux Through Mobile
[c/c++][linux] Linking With A -l Is Static Or Dynamic? - How will it effect distribution and portability?
User Account Control
Which Linux Version For Newbies? - Give your opinion
Why Linux?
Yahoo! Messenger Power User
How To: Display A Members/user List. - With PHP, Mysql, and HTML.
Choice Of Motherboard For Linux Virtualization - Who knows which ones work well?
C/c++ -gdb Linux Debug Tool - Simple Gdb tutorial
Linux Beginners - Tutorial On Editors In Linux.
How To Create A "user Profile" Page. - No design (easy to add later if you want).
Linux For Beginners- Easy To Install
How To Copy File & Folders From Linux To Windows?.
How To Play Music And Movie In Linux? Which Is The Good One?.
How To Create/edit/delete Ftp Accounts With Php - Help me to create one php page to create FTP user accounts in Unix Ser
How To Install Linux Suse
Looking For Linux - 2 choices that I will choose - make it easy to install and MAINTAIN
Could Linux Become The Dominant Os?
How Can I Make Xp User Autologin ? - I know how to make the Administrator user automatically log in in Wind
What Made You Switch To Linux?
What Language Is Linux Written In ?
What's The Difference Between Linux And Unix?!?
Linux SuSE detec you all hareware - Yea SuSE detec all.
Now Linux is ease - The linux SuSE 9.1 is most ease linux
advertisement




To Any Linux User



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE