02-02-2010
Another workaround:
if you installed grub as boot loader, you can edit the kernel parameters before booting via grub. Add a 'init=/bin/sh' parameter, and boot. That gives you a root shell. Remount the root filesystem, like 'mount -o remount,rw /'. create the user account you seem to be missing (useradd, see manpage). remount the file system readonly, like 'mount -o remount,rw /'. exit the shell, aka reboot. That should have created a valid user.
I do not know Ubuntu that well, but that should work generically on any linux which has grub. W/o grub, you can achieve the same if you have a boot CD somewhere.
9 More Discussions You Might Find Interesting
1. SCO
Can i change the password on the SCO GUI interface login page and if so how?
When I try to login it just goes right back to the login screen. If anyone has any suggestions, please reply. :confused: (3 Replies)
Discussion started by: qphillips
3 Replies
2. Solaris
Hi experts,
I've installed Solaris 8 to Sunfire V480. After installation I only could login to the server using CLI command. Can you show me how to start the login GUI? I use standard SUN graphic monitor and keyboard.
Thanks in advanced.
VN (26 Replies)
Discussion started by: vntiger
26 Replies
3. Linux
hi
iam installed mandriva spring 2009
iam unble to login into gui using root
how to enable it
where the settings are stored (5 Replies)
Discussion started by: seshumohan
5 Replies
4. Solaris
I have 2 queries:
1.how do we monitor failed GUI logins...? I think the /var/adm/loginlog will log
only failed logins happened at /dev/console and virtual terminals..
2.How to use cron scheduler to display a message when a user is working in GUI Terminal window irrespective of in which... (1 Reply)
Discussion started by: saagar
1 Replies
5. Solaris
I have a Sun Ultra 45 that was working perfectly until i upgraded it to Update 9 with a zfs filesystem. The box is sparc based and has an internal video card. When i boot it up, i receive an X server error and, while checking /var/dt/Xerrors, the following message is displayed
Fatal server... (9 Replies)
Discussion started by: goose25
9 Replies
6. Fedora
Hi all,
I am able to login via putty to a fedora 10 workstation.
But when i try to login via physical screen connected to workstation, it just gives me a blank screen and i cant see any options to enter username and passwd. How do i get the physical GUI to work.
$ who -r
... (4 Replies)
Discussion started by: lramsb4u
4 Replies
7. Solaris
Solaris machine is at # prompt not able to login in GUI mode :
I want to login solaris server in GUI mode from # prompt.
---------- Post updated 12-30-11 at 11:36 AM ---------- Previous update was 12-29-11 at 02:23 PM ----------
Hi,
Please send me some guidelines regarding this....
as... (2 Replies)
Discussion started by: sunray
2 Replies
8. UNIX for Dummies Questions & Answers
I am not too new with linux. Since I installed a new version (2011) of Mandriva, I am unable to login via the gui (I'm currently using the live version of the same dvd free with Linux Format mag). I can login from a console as it has picked up the previous version's /home, but when I try to login... (2 Replies)
Discussion started by: richardmellersh
2 Replies
9. Shell Programming and Scripting
hii all,
I am unable to login into GUI mode in solaris 10. It is only prompting me to command mode credentials not going further to GUI mode.. Please help..
Thanks & regards,
Bhagi (3 Replies)
Discussion started by: bhargav90
3 Replies
LEARN ABOUT CENTOS
grub-reboot
GRUB-REBOOT(8) System Administration Utilities GRUB-REBOOT(8)
NAME
grub-reboot - set the default boot entry for GRUB, for the next boot only
SYNOPSIS
grub-reboot [OPTION] MENU_ENTRY
DESCRIPTION
Set the default boot menu entry for GRUB, for the next boot only.
-h, --help
print this message and exit
-V, --version
print the version information and exit
--boot-directory=DIR
expect GRUB images under the directory DIR/grub instead of the /boot/grub directory
MENU_ENTRY is a number, a menu item title or a menu item identifier. Please note that menu items in submenus or sub-submenus require speci-
fying the submenu components and then the menu item component. The titles should be separated using the greater-than character (>) with no
extra spaces. Depending on your shell some characters including > may need escaping. More information about this is available in the GRUB
Manual in the section about the 'default' command.
REPORTING BUGS
Report bugs to <bug-grub@gnu.org>.
SEE ALSO
grub-set-default(8), grub-editenv(1)
The full documentation for grub-reboot is maintained as a Texinfo manual. If the info and grub-reboot programs are properly installed at
your site, the command
info grub-reboot
should give you access to the complete manual.
grub-reboot (GRUB) 2.02-2ubuntu8.3 July 2018 GRUB-REBOOT(8)