Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 377755 - LiveCD asks for a root password after booting. (autobuilds / install-x86-minimal-20110802.iso )
Summary: LiveCD asks for a root password after booting. (autobuilds / install-x86-mini...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: LiveCD/DVD/USB (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords: Bug
Depends on:
Blocks:
 
Reported: 2011-08-04 15:35 UTC by ivdwut
Modified: 2012-05-26 19:57 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ivdwut 2011-08-04 15:35:06 UTC
From the very beginning LiveCD asked me for a root password. There was no chance to set the new password or user. Standard combinations were also denied.

Reproducible: Always

Steps to Reproduce:
1. Boot from the LiveCD.

Actual Results:  
LiveCD asked for a root password.

Expected Results:  
The software should be loaded without password.
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2011-08-04 15:42:09 UTC
Could you state exactly which livecd media you're using?  A download URL for where you got it would also be helpful.
Comment 2 Panagiotis Christopoulos (RETIRED) gentoo-dev 2011-08-04 15:44:07 UTC
Also, the boot options you used.
Comment 3 ivdwut 2011-08-04 15:58:24 UTC
Ian, here is the link: http://distfiles.gentoo.org/releases/x86/autobuilds/current-iso/install-x86-minimal-20110802.iso

Panagiotis, what do you mean by the boot options?
I've changed some settings in BIOS, that's all.
Comment 4 Panagiotis Christopoulos (RETIRED) gentoo-dev 2011-08-04 16:05:50 UTC
In the first prompt you just pressed "enter" or you entered more options? (for example "gentoo-nofb nosata option2 option3 etc" )
Comment 5 ivdwut 2011-08-04 16:31:37 UTC
Panagiotis, I pressed enter.
Comment 6 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-08-04 16:56:43 UTC
(In reply to comment #3)
> Ian, here is the link:
> http://distfiles.gentoo.org/releases/x86/autobuilds/current-iso/install-x86-minimal-20110802.iso

Then I'll have to test this again as I got this working locally and thought it was working on poseidon as well.

> Panagiotis, what do you mean by the boot options?
> I've changed some settings in BIOS, that's all.

This has nothing to do with the boot settings. This is an issue with catalyst, openrc and how we build the stages / livecd.
Comment 7 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-08-19 03:03:25 UTC
Sorry for taking so long to address this bug - RL got in the way.
Can you confirm you're still hitting this issue with the 20110802 iso? I just tested it here on qemu-kvm and it booted fine. I've also tested 20110809 iso and it's also working fine.
Now that I've tested the CDs, I wonder if you may have have left the timeout expire and booted into your installed system instead of booting to the CD. One of the changes we got implemented recently is that the CD will after a timeout without a key being pressed try to boot the installed system instead of booting the CD.
Comment 8 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-08-19 03:05:19 UTC
@docs:

I'm adding you here as we should probably document in the handbook that the CD will only boot the install if the user presses a key. I'm sorry for not talking to you about it before, but it slipped my mind.
Comment 9 Team Anniversary gentoo-dev 2011-08-19 03:34:41 UTC
(In reply to comment #3)
> Ian, here is the link:
> http://distfiles.gentoo.org/releases/x86/autobuilds/current-iso/install-x86-minimal-20110802.iso
> 
> Panagiotis, what do you mean by the boot options?
> I've changed some settings in BIOS, that's all.

I cannot reproduce this on latest "install-x86-minimal-20110809.iso" which brings me to this question. Are you actually hitting ENTER after you see the boot prompt? If not then it's booting your first hard drive and this was recently implemented to the release images to allow remote installs were there is no user interaction after the first initial livecd boot.

@docs as jmbsvicetto pointed out, this should be noted on the handbook.

likewhoa
Comment 10 Sven Vermeulen (RETIRED) gentoo-dev 2011-08-23 16:12:59 UTC
Is it possible that this is only for x86 and amd64? Most installation instructions use different methods for booting the CD:
- in Alpha we ask the user to select the CD through SRM or MILO. /If/ the CD would indeed give a time-out, I would assume that the user gets back to the prompt (and not boot the disk)?
- ARM uses netboot
- HPPA works through the BOOT_ADMIN console, not sure what happens here
- IA64 talks about EFI (I guess that is the boot loader) where the user has to explicitly ask to boot from CD - perhaps here too if the timeout occurs, it goes back to EFI?
- MIPS uses netboot
- Sparc goes through OBP

For PPC/PPC64 I'm not sure if this also applies.

I'll update this for x86 and amd64 for now, but please tell me if this is necessary for others as well.
Comment 11 Sven Vermeulen (RETIRED) gentoo-dev 2011-08-23 16:23:17 UTC
Added the following paragraph for x86/amd64:

"""
When the boot prompt is shown, you get the option of displaying the available kernels (F1) and boot options (F2). If you make no selection within 20 seconds (either displaying information or using a kernel) then the LiveCD will fall back to booting from disk. This allows installations to reboot and try out their installed environment without the need to remove the CD from the tray (something well appreciated for remote installations). 
"""

In CVS, should show up on the site in an hour or so.

For other architectures, please verify the installation instructions for your architecture and see if a similar paragraph needs to be added or not.
Comment 12 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-10-24 17:27:43 UTC
Sven,

thanks for taking care of amd64/x86.

@release:
Can other arch release coordinators please check and or report whether this change applies to their arches?
Comment 13 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2012-05-06 23:07:02 UTC
@release:

Anything left to do here? amd64/x86 is done.
Comment 14 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2012-05-26 19:57:11 UTC
15:16 <@jmbsvicetto> armin76: ping
15:16 <@jmbsvicetto> armin76: bug 377755
15:16 <+willikins> jmbsvicetto: https://bugs.gentoo.org/377755 "LiveCD asks for a root password after booting. (autobuilds / install-x86-minimal-20110802.iso )"; Gentoo Release Media, LiveCD/DVD; UNCO; ivdwut:release
15:16 <@jmbsvicetto> armin76: what's your take on this? If you're ok, I'll close the bug as fixed
16:34 <@armin76> jmbsvicetto: go ahead