rockstor / rockstor-iso

scripts and files to create Rockstor iso file
18 stars 10 forks source link

rescue stage2 label incorrect #22

Open phillxnet opened 6 years ago

phillxnet commented 6 years ago

Thanks to forum member jakeyg in the following forum thread for highlighting this issue. When attempting to execute the "Rescue a Rockstor system" option such as for root password reset as per Rockstor docs: http://rockstor.com/docs/reset-root-password.html the root cannot be found. This is due to an incorrect boot parameter, made visible via the TAB key:

inst.stage2=hd:LABEL=Rockstor\x203.0\x20x86_64

which equates to a label of "Rockstor 3.0 x86_64" where as from the info available towards the beginning of "/run/initramfs/rdsoreport.txt" in the failed scenario we have the install media as having the label "Rockstor 3 x86_64".

Thus changing the inst.stage2 entry to the following:

inst.stage2=hd:LABEL=Rockstor\x203\x20x86_64

results in a successful rescue system boot.

Please update the following forum thread with this issues resolution: https://forum.rockstor.com/t/recovering-root-password/4027

quacktacular commented 5 years ago

Confirmed the workaround is still working (and necessary!) on latest installer.