You are not logged in.

#1 2009-01-07 00:06:44

banshee28
Member
Registered: 2008-10-18
Posts: 336

[Solved] Cant boot to system!! xinitrc corrupt

I changed my xinitrc file to auto start enlightenment vs openbox. I must have had the wrong syntax in there as now when I try to boot, it loads the automatic gui login screen i installed (Dont remember which one) and says failed to execute login command. I know the problem is simply it cant load enlightenment, but since its autostarted I cant get to a cmd promt. I thought I read about entering exit, console, or something as the user name and it would exit out to a cmd prompt, but that has not worked. ctrl, atl, back exits then re-tries the same logon process.

I have booted with the CD but I guess I need to mount the hard drive so I can correctly edit the xinitrc file? I was trying to mount but not sure if I can properly see the drive since its a VM? Any ways to fix these issues?

neutral

Last edited by banshee28 (2009-01-07 23:01:01)


Arch64, AMD64, LXDE

Offline

#2 2009-01-07 00:17:53

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: [Solved] Cant boot to system!! xinitrc corrupt

hit control-alt-f1, see if that gets you a terminal.

Offline

#3 2009-01-07 00:22:40

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [Solved] Cant boot to system!! xinitrc corrupt

SamC wrote:

hit control-alt-f1, see if that gets you a terminal.

ctrl-alt-f1 through f4 do nothing. I know they are supposed to bring me to a new terminal, but not with this gui splash login screen!

This is really a test build, but on my official build I will NOT use that login screen. I will just boot to a console!


Arch64, AMD64, LXDE

Offline

#4 2009-01-07 00:25:17

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: [Solved] Cant boot to system!! xinitrc corrupt

does the splash thing come up when you boot into single user mode?

Offline

#5 2009-01-07 00:33:32

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [Solved] Cant boot to system!! xinitrc corrupt

pressh wrote:

does the splash thing come up when you boot into single user mode?

How can I change that? Its basically automatic from the beginning?


Arch64, AMD64, LXDE

Offline

#6 2009-01-07 00:37:43

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: [Solved] Cant boot to system!! xinitrc corrupt

banshee28 wrote:
pressh wrote:

does the splash thing come up when you boot into single user mode?

How can I change that? Its basically automatic from the beginning?

if you use grub you have to add 'single' to the kernel line in your grub config

Offline

#7 2009-01-07 00:46:25

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [Solved] Cant boot to system!! xinitrc corrupt

pressh wrote:
banshee28 wrote:
pressh wrote:

does the splash thing come up when you boot into single user mode?

How can I change that? Its basically automatic from the beginning?

if you use grub you have to add 'single' to the kernel line in your grub config

Thats the thing, I dont think I used grub, just a simple splash screen, but I cant remember the name of the app?


Arch64, AMD64, LXDE

Offline

#8 2009-01-07 02:28:12

xelados
Member
Registered: 2007-06-02
Posts: 314
Website

Re: [Solved] Cant boot to system!! xinitrc corrupt

GRUB is your bootloader. You're using either it or LILO. You have to add "single" to the kernel line for Arch to enter single-user mode. You can do that by setting the cursor over Arch's GRUB entry and hitting 'e'. Select the kernel line and hit 'e' again. Then hit enter and 'b' to boot from it.

Offline

#9 2009-01-07 23:02:45

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [Solved] Cant boot to system!! xinitrc corrupt

xelados wrote:

GRUB is your bootloader. You're using either it or LILO. You have to add "single" to the kernel line for Arch to enter single-user mode. You can do that by setting the cursor over Arch's GRUB entry and hitting 'e'. Select the kernel line and hit 'e' again. Then hit enter and 'b' to boot from it.

Bingo!!

That worked. I changed it and set .xinitrc back to start openbox! Now I need to get rid of that splash screen and boot back to a shell!

Thanks everyone for the help cool


Arch64, AMD64, LXDE

Offline

Board footer

Powered by FluxBB