Page 1 of 1

Logging in as root

Posted: 14 Jun 2014, 12:22
by meisthfox
I know this topic has been discussed here before, but what is the latest fix(es) for
the problem of inability to become or log in as root ? I press esc after first screen,
then see "boot_", then type in "login=root" & then see "could not find kernal image :
login=root". Is there now a fix for this ?

Re: Logging in as root

Posted: 14 Jun 2014, 13:42
by brokenman
When you boot, and you get to the colored screen with the menu options .... pres TAB and then enter login=root.

If you want to make it permanent then edit the file /mnt/sdaxY/boot/systlinux/porteus.cfg as below. (change sdxY for your real path on your machine)

LABEL mate
MENU LABEL Graphics mode (mate)
KERNEL vmlinuz
APPEND initrd=initrd.xz login=root
TEXT HELP
Run Porteus the best way we can.
Try to autoconfigure graphics
card and use the maximum
allowed resolution
ENDTEXT

Re: Logging in as root

Posted: 14 Jun 2014, 15:06
by meisthfox
If I edit that file as you suggest, I'd be replacing my savefile cmd. :
APPEND initrd=initrd.xz changes=/mnt/sdb1/porteussave.dat
w/ the cmd. you posted : APPEND initrd=initrd.xz login=root.
Would I lose my ability to save changes ?

Re: Logging in as root

Posted: 14 Jun 2014, 16:47
by brokenman
You won't lose you changes if you add to this line. Change:

Code: Select all

APPEND initrd=initrd.xz changes=/mnt/sdb1/porteussave.dat
to

Code: Select all

APPEND initrd=initrd.xz changes=/mnt/sdb1/porteussave.dat login=root
The word 'APPEND' means 'add to' so anything you need to pass to the boot process, you just append here.

Re: Logging in as root

Posted: 14 Jun 2014, 18:10
by meisthfox
Thanx so much ........