Results 1 to 10 of 11
I just completed an install of SUSE 10.2 Gnome and I know see myself at the Login screen that is wanting a username and password. No where during installation did ...
- 01-06-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 6
10.2 - New Install: Can't Login
I just completed an install of SUSE 10.2 Gnome and I know see myself at the Login screen that is wanting a username and password. No where during installation did I ever get a chance to enter a username or password. For some reason. during install I had to use the text version of the installer and not the graphical version. Not sure if that had any issues with it. If anyone has any ideas, I would love to hear them. Thanks in advance!
- 01-06-2007 #2
probably the simplest thing to do in your case would be to install the yast2firstrun package during the install so that it does the user/graphics/other setup once the install is done.
the other thing you could do if you don't want to reinstall would be to boot into failsafe, login as root and create a new user with these commands:
Edit::Code:useradd -m -G users,wheel,audio -s /bin/bash your_user_name passwd your_user_name
If you haven't gotten a chance to enter the root password during install, you could either try for a reinstall or you could do this:
1. Grab a livecd such as Knoppix
2. Execute following commands to setup root and user password
now reboot into your SUSE install and see if it works.Code:su - mount -o rw /dev/hda1 /mnt/hda1 <--- I am assuming hda1 is your root partition chroot /mnt/hda1 /bin/bash passwd <--- allows you to setup root password useradd -m -G users,wheel,audio -s /bin/bash your_user_name <-- setting up a user passwd your_user_name <-- changing that user's password exit
Last edited by AlexK; 01-06-2007 at 12:20 AM.
Life is complex, it has a real part and an imaginary part.
- 01-06-2007 #3Just Joined!
- Join Date
- Jan 2007
- Posts
- 6
Thank you for your fast reply.
Does root require a password? Forgive me for being so niave. I have alot to learn about linux.
I would rather not try reinstalling because it took me 4 hrs to do it the first time (which included the time I wanted to throw my burner out the window). But if I must I will.
On a side note: If I were to reinstall, which version is better, KDE or Gnome? and is there a install guide that is pretty easy to follow?
- 01-06-2007 #4
Yeah, I realized that after posting the message. try suggestions above in edited message.
i.e.
If you haven't gotten a chance to enter the root password during install, you could either try for a reinstall or you could do this:
1. Grab a livecd such as Knoppix
2. Execute following commands to setup root and user password
now reboot into your SUSE install and see if it works.Code:su - mount -o rw /dev/hda1 /mnt/hda1 <--- I am assuming hda1 is your root partition chroot /mnt/hda1 /bin/bash passwd <--- allows you to setup root password useradd -m -G users,wheel,audio -s /bin/bash your_user_name <-- setting up a user passwd your_user_name <-- changing that user's password exit
Also if you are not sure which is your linux partition in Knoppix, look at output from this command:
that is lowercase L and not I or 1.Code:fdisk -l
It will show you all partitions on all disks on your computer. Look for one with a filesystem type of ReiserFS or Linux and replace hda1 in above code snippets with the proper name of the linux partition.Life is complex, it has a real part and an imaginary part.
- 01-08-2007 #5Just Joined!
- Join Date
- Jan 2007
- Posts
- 6
Ok I tried doing the commands above. But when I got to this command:
I got a "cannot execute binary file" errorCode:chroot /mnt/hda1 /bin/bash passwd
Once again I tried reinstalling and still to no avail, not any where was there a place to enter a password of any type. I'm open to any and all suggestions. Also which version of 10.2 is best? KDE or Gnome? Thanks for all the help so far
Edit:
Ok I figured out what I was doing wrong with the above error. But now when I try to change the root password I get the following errors:
Cannot open /dev/urandom for reading: No such file or directory
Cannot create salt for blowfish crypt
And then im told that the password was not changed.
- 01-08-2007 #6Just Joined!
- Join Date
- Jan 2007
- Posts
- 6
My last thought on this is that if /dev/urandom does not exist, Is there a way to write this directory/file to the disk? I already tried a reinstall and it had the same results.
- 01-08-2007 #7
Originally Posted by zalez
No
But you must be root to change any passwords.
In you first post you said "see myself at the Login screen "
So you must have at least entered a user name.
- 01-08-2007 #8Just Joined!
- Join Date
- Jan 2007
- Posts
- 6
Right now I am using a live cd as Alex has suggested and followed his instructions. That is where I get the error msg about /dev/urandom not existing. My first post I was saying that it seemed like the install went fine, the machine rebooted and came up to a login screen asking for a username and password. During install I was never offered the chance to enter a username or password.
Recap:
First problem is no username was entered nor a root password. So I can't login to 10.2.
Second Problem is when using a live cd to change/set a root password I get the following errors:
Cannot open /dev/urandom for reading: No such file or directory
Cannot create salt for blowfish crypt
I'm hoping that fixing the second problem will then allow me to fix the first problem.
Note: I have already tried reinstalling
- 01-09-2007 #9
god, im such an idiot... forgot to hit enter in the code which i copied in from my previous post. I am terribly sorry for misposting like that.
Anyways, try this in the live cd:
Once again, only if Linux is installed on the first partition of the first hard drive should you use hda1 as in the above examples. To find out which partition Linux is installed, remember to look at the output of this command:Code:su - mount -o rw /dev/hda1 /mnt/hda1 chroot /mnt/hda1 /bin/bash passwd useradd -m -G users,wheel,audio -s /bin/bash your_user_name passwd your_user_name exit
and replace hda1 accordinglyCode:fdisk -l
Life is complex, it has a real part and an imaginary part.
- 01-09-2007 #10Just Joined!
- Join Date
- Jan 2007
- Posts
- 6
This is what the results are from fdisk -l :
I have been using /dev/hda6 because that is what I am assuming is my root. With that I have been getting the errors:Code:Disk /dev/hda: 20.0 GB, 20020396032 bytes 255 heads, 63 sectors/track, 2434 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 2 2434 19543072+ f W95 Ext'd (LBA) /dev/hda5 819 890 578340 82 Linux swap / Solaris /dev/hda6 891 1543 5245191 83 Linux /dev/hda7 1544 2434 7156926 83 Linux
Cannot open /dev/urandom for reading: No such file or directory
Cannot create salt for blowfish crypt


Reply With Quote