how to reinstall base OS on bbb if purge command has been used to uninstall all packages

48 views
Skip to first unread message

Amrinder Singh

unread,
May 12, 2020, 6:27:41 PM5/12/20
to BeagleBoard
hi all,
i have a beaglebone black and ive somehow ended up using 'apt-get purge *' which i believe has uninstalled the kernel as well. any ideas on how to get out of this situation?

PS: the intent is to use beaglebone black image of kali linux on it but somehow it couldnt be booted from sd card

Robert Nelson

unread,
May 12, 2020, 6:32:54 PM5/12/20
to Beagle Board
You can manually read /var/log/apt/history.log to see what got removed
and when, and then slowly piece together what happened..

But you'll probably just have to start from a fresh image.

Regards,

--
Robert Nelson
https://rcn-ee.com/

Amrinder Singh

unread,
May 12, 2020, 6:45:40 PM5/12/20
to BeagleBoard
i could only access the board using remote ssh login and as of now, the board doesnt have an ip address. i tried installing a new image using the microsd card, but it isnt working either. 

Robert Nelson

unread,
May 12, 2020, 6:55:48 PM5/12/20
to Beagle Board
On Tue, May 12, 2020 at 5:45 PM Amrinder Singh
<amrinder...@gmail.com> wrote:
>
> i could only access the board using remote ssh login and as of now, the board doesnt have an ip address. i tried installing a new image using the microsd card, but it isnt working either.

Which image did you write to the microSD, and what it "doing" or "not doing"?

Amrinder Singh

unread,
May 12, 2020, 7:14:32 PM5/12/20
to BeagleBoard
i wrote debian 7.5 (eMMC flasher) to micro SD card. when i try to boot with or without using the card, all 4 leds of the board remain "ON" continuously. 

Robert Nelson

unread,
May 12, 2020, 7:19:37 PM5/12/20
to Beagle Board
On Tue, May 12, 2020 at 6:14 PM Amrinder Singh
<amrinder...@gmail.com> wrote:
>
> i wrote debian 7.5 (eMMC flasher) to micro SD card. when i try to boot with or without using the card, all 4 leds of the board remain "ON" continuously.

Sorry, i'm not debugging 7.5 and that old 3.8.x based kernel from 2014.

Grab the latest SD IoT image:

https://beagleboard.org/latest-images

Amrinder Singh

unread,
May 12, 2020, 8:36:02 PM5/12/20
to BeagleBoard
well, i tried using debian10.3-iot but it still isnt working. 
 i powered off the board, then i put the microsd card in the slot and switched the board on keeping the S2 button pressed. there was no activity on the LED lights. and when i dont press the S2 button, all 4 LED lights stay ON continuously. 

Robert Nelson

unread,
May 12, 2020, 9:07:24 PM5/12/20
to Beagle Board
What application did you use to write the image to the microSD?

Ecther.io?

Or that Win32DiskImager (which has been known to be broken for the
last few months..)

Amrinder Singh

unread,
May 12, 2020, 9:10:03 PM5/12/20
to BeagleBoard
i used dd. i only have linux/mac.

jonnymo

unread,
May 12, 2020, 9:22:21 PM5/12/20
to Beagle Board
Etcher works with Linux and Mac: 

It's fine for uSD cards less than 64GB, otherwise you need to format the card as  ExFAT first. 

Jon

On Tue, May 12, 2020 at 6:10 PM Amrinder Singh <amrinder...@gmail.com> wrote:
i used dd. i only have linux/mac.

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/f0c56bd8-070d-43a5-9889-ca4e78eea349%40googlegroups.com.

Amrinder Singh

unread,
May 12, 2020, 10:09:19 PM5/12/20
to BeagleBoard
thank you so much guys. the issue got resolved. i guess the problem was with the flash software. i was using command line but etcher worked just fine..
thanks again

Regards 
Amrinder

Dennis Lee Bieber

unread,
May 13, 2020, 1:13:23 PM5/13/20
to Beagleboard
On Tue, 12 May 2020 18:21:48 -0700, in gmane.comp.hardware.beagleboard.user
jonnymo <jonnymovo-Re5JQE...@public.gmane.org> wrote:

>Etcher works with Linux and Mac:
>https://www.balena.io/etcher/
>
>It's fine for uSD cards less than 64GB, otherwise you need to format the
>card as ExFAT first.

And if it truly is a Mac, recommend using
https://www.sdcard.org/downloads/formatter/ for formatting the card first.


--
Dennis L Bieber

Reply all
Reply to author
Forward
0 new messages