Author Topic: Starting Linux without X  (Read 1461 times)

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Starting Linux without X
« on: September 23, 2004, 02:48:37 pm »
I foolishly installed a new graphics card in my home PC without altering the X11 setup.

Now I get a black screen after the boot messages have gone away. I have a couple of options for what to start (in Lilo) - Linux, and Linux-non-fb are the most recent ones, and although the non-fb one seems to be what I want (just uses the terminal), it also goes to a black screen after the boot process.

Is there a way of starting Linux on a console so I can get in and make the alterations I need to to get X11 back? BTW the graphics card works fine with Windows and even has drivers for Linux, it's just that I can't install them!.

Cheers,


Si

P.S. Have just found a list of Linux keypresses (like Alt-SysRq, etc.) let's see what (damage) I can do...
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Starting Linux without X
« Reply #1 on: September 23, 2004, 04:12:14 pm »
Hmm, tried again (after running fsck as I'd shutdown 'uncleanly') and now I get a random shimmering screen of colour (much like one of the xscreensaver screensavers actually).

I tried the standard Alt-Fn key to try to change vt - no change; ctrl-alt-backspace - nothing; Alt+SysRq then T, on the off chance, but again nothing.

Does anyone have any ideas?

Thanks,


Simon
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
Starting Linux without X
« Reply #2 on: September 23, 2004, 04:15:33 pm »
You can either wait until init pauses after restarting the process too many times.  Then quickly log into the system and disable X.

  Or

You can start up the system in single user mode and change your configuration to not start X (remove it from /etc/rcd/rc5.d or /etc/inittab).

As I recall from the old days of running lilo you should be able to boot with 'linux single' to get into single user mode.

Good Luck!
« Last Edit: September 23, 2004, 04:17:55 pm by stupkid »

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

superbondbond

  • Newbie
  • *
  • Posts: 27
    • View Profile
    • http://
Starting Linux without X
« Reply #3 on: September 23, 2004, 04:42:54 pm »
Sounds like a job for Tom's Root/Boot.  

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Starting Linux without X
« Reply #4 on: September 23, 2004, 06:28:37 pm »
Quote
You can start up the system in single user mode and change your configuration to not start X (remove it from /etc/rcd/rc5.d or /etc/inittab).

As I recall from the old days of running lilo you should be able to boot with 'linux single' to get into single user mode.

Hmm, doesn't appear to be there. I'll have to try to find my boot floppy or wait until I can get to my Linux box at uni over the weekend.

Quote
Sounds like a job for Tom's Root/Boot.

Yes, if I can't find my boot floppy then this may well be the easiest solution, cheers for pointing it out to me.


Si
« Last Edit: September 23, 2004, 06:29:34 pm by lardman »
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

zmiq2

  • Sr. Member
  • ****
  • Posts: 383
    • View Profile
    • http://
Starting Linux without X
« Reply #5 on: September 24, 2004, 03:42:22 am »
have you tried ctrl-alt-f1 (that works for me)?

ctrl-alt-f7 to go back to x11 session, even in your case that seems stupid, since there's no x11 ;-)
sl-c750, archos av580, socket cf [bt, wifi, modem], noname cf lan, audiovox rtm800 gsm-gprs cf, rom: sharp -> oz3.5.3 -> cacko -> oz3.5.4.1

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Starting Linux without X
« Reply #6 on: September 24, 2004, 05:42:42 am »
Not sure, but thanks for the tip.

I've managed to fix it, sort of. I booted from the installation CD, started a rescue kernel, found /etc/X11/XF86Config-4 and edited it sufficiently to allow X to start then give up and give me a login prompt.

I then tried to install the nVidia drivers, but strangely enough they were the ipk for Wellenreiter. I have a feeling DirectCD (on my PC) must have been having a bad day and screwed up the filenames.

Anyway I'm back in business.

Thanks to everyone for their suggestions.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva