mmkw43
Posts: 554
Joined: Tue Dec 24, 2013 6:18 pm

Can't boot -- cmdline.txt?

Mon Apr 04, 2016 9:18 pm

I accidently (it now appears) chose the option in raspi-config to boot to the command prompt with autologin rather than using a password (pi and raspberry -- never altered it.

So now when I rebooted, it stalls and goes nowhere.

Rebooted again and now in recovery mode -- is there anything I can do here? Can I edit the cmdline.txt? look like that's the only thing I have access to.

Am I screwed? Maybe I can take the card out and edit a file?

Thank you.

User avatar
DougieLawson
Posts: 39304
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Can't boot -- cmdline.txt?

Mon Apr 04, 2016 10:32 pm

Hold [SHIFT] during boot and you can trash & re-install your SDCard using the NOOBS "recovery" system.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

mmkw43
Posts: 554
Joined: Tue Dec 24, 2013 6:18 pm

Re: Can't boot -- cmdline.txt?

Mon Apr 04, 2016 10:36 pm

wonderful.

fuuuuu........

User avatar
DougieLawson
Posts: 39304
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Can't boot -- cmdline.txt?

Mon Apr 04, 2016 10:39 pm

mmkw43 wrote:wonderful.
Your other choice is another SDCard and a USB SDCard reader. Build a bootable card, boot the system from that. Mount the borken card in the reader, insert the reader into your RPI. Use the "rescue" system to fsck the bad card and get it back working. Or use the "rescue" system to recover your valuable data.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

mmkw43
Posts: 554
Joined: Tue Dec 24, 2013 6:18 pm

Re: Can't boot -- cmdline.txt?

Mon Apr 04, 2016 10:43 pm

Ok Doug -- thanks.

Return to “General discussion”