Logging in as root

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
meisthfox
Black ninja
Black ninja
Posts: 33
Joined: 13 Jun 2014, 04:24
Distribution: Porteus-XFCE-v3.0-x86_64
Location: Bridgeport, CT

Logging in as root

Post#1 by meisthfox » 14 Jun 2014, 12:22

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 ?

User avatar
brokenman
Site Admin
Site Admin
Posts: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Logging in as root

Post#2 by brokenman » 14 Jun 2014, 13:42

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
How do i become super user?
Wear your underpants on the outside and put on a cape.

meisthfox
Black ninja
Black ninja
Posts: 33
Joined: 13 Jun 2014, 04:24
Distribution: Porteus-XFCE-v3.0-x86_64
Location: Bridgeport, CT

Re: Logging in as root

Post#3 by meisthfox » 14 Jun 2014, 15:06

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 ?

User avatar
brokenman
Site Admin
Site Admin
Posts: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Logging in as root

Post#4 by brokenman » 14 Jun 2014, 16:47

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.
How do i become super user?
Wear your underpants on the outside and put on a cape.

meisthfox
Black ninja
Black ninja
Posts: 33
Joined: 13 Jun 2014, 04:24
Distribution: Porteus-XFCE-v3.0-x86_64
Location: Bridgeport, CT

Re: Logging in as root

Post#5 by meisthfox » 14 Jun 2014, 18:10

Thanx so much ........

Post Reply