black_tiger
Posts: 1
Joined: Thu Mar 19, 2020 5:36 pm

Boot from microsd on laptop

Thu Mar 19, 2020 5:43 pm

Im trying to boot the raspbian OS from the microsd card (inserted to my laptop).
My raspberry overclocked, and i need some files for my current web development project.
I've tried the Oracle VirtualBox software in as a virtual enviorment and failed.
Please help me fix this problem, for it will save me some valuable time (re-making those web pages files, which exist on the OS microsd)
this is my first post, hope this is the right forum.

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5623
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Boot from microsd on laptop

Thu Mar 19, 2020 6:45 pm

black_tiger wrote:
Thu Mar 19, 2020 5:43 pm
Im trying to boot the raspbian OS from the microsd card (inserted to my laptop).
My raspberry overclocked, and i need some files for my current web development project.
I've tried the Oracle VirtualBox software in as a virtual enviorment and failed.
Please help me fix this problem, for it will save me some valuable time (re-making those web pages files, which exist on the OS microsd)
this is my first post, hope this is the right forum.
You shouldn't need to (literally) boot Raspbian in a virtual Linux environment. All you need is either Linux filesystem-compatible tools for your laptop's O.S. (what is it? - I'm guessing a version of Windows) or something like a Live Linux system on a USB stick/DVD if your laptop has enough USB ports and/or a SD card slot. It may even be possible to arrange for the PC specific version of Raspbian: viewforum.php?f=116 to be run as a "Live Linux System". Certainly such exist for Debian, Ubuntu and others.
Whilst I can't give you detailed help, hopefully there are enough hints there that a bit of web searching will get you going again.
W.r.t. your Pi - all you state is that "My raspberry overclocked" - some more detail about what has happened, why you can't use it anymore etc. may help us to advise you whether it can be got working again. For example, if it's not booting from the current card, have you tried a different SD card with a fresh install w/o any overclocking etc. active? If that works you could then recover those web pages from the original card via a USB card reader.
HTH
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Boot from microsd on laptop

Thu Mar 19, 2020 6:47 pm

black_tiger wrote:
Thu Mar 19, 2020 5:43 pm
Im trying to boot the raspbian OS from the microsd card (inserted to my laptop).
My raspberry overclocked, and i need some files for my current web development project.
I've tried the Oracle VirtualBox software in as a virtual enviorment and failed.
Please help me fix this problem, for it will save me some valuable time (re-making those web pages files, which exist on the OS microsd)
this is my first post, hope this is the right forum.

Raspbian Buster Operating System is only suitable for Raspberry Pi Single Board Computers and Compute Module.

It is not possible to boot any other PC / Laptop.

It is not possible to use in VirtualBox because it can not emulate the ARM CPU Architecture.
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Boot from microsd on laptop

Thu Mar 19, 2020 6:48 pm

Welcome to the Raspberry Pi forums.

black_tiger wrote:
Thu Mar 19, 2020 5:43 pm
Im trying to boot the raspbian OS from the microsd card (inserted to my laptop).
My raspberry overclocked, and i need some files for my current web development project.
I've tried the Oracle VirtualBox software in as a virtual enviorment and failed.
Please help me fix this problem, for it will save me some valuable time (re-making those web pages files, which exist on the OS microsd)
this is my first post, hope this is the right forum.


"Im trying to boot the raspbian OS from the microsd card (inserted to my laptop)."

Is this laptop a fairly normal everyday PC or Mac?

If so, you can't boot that hardware using the Raspbian Operating System. Raspbian will only boot and run on Raspberry Pi arm-based hardware.



Edit: playing Snap again. The forum software used to warn when that was happening...

alphanumeric
Posts: 2547
Joined: Tue Jan 19, 2016 2:17 pm
Location: Sydney, Nova Scotia, Canada

Re: Boot from microsd on laptop

Thu Mar 19, 2020 7:51 pm

The first question is, can said laptop even boot from the SD Card slot? I ask because mine cannot boot from its card reader writer SD card slot. There is no BIOS option to do this, period. If yours is also like this it makes no difference what is on the card, its not accessible on boot up.

User avatar
Botspot
Posts: 1263
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

Re: Boot from microsd on laptop

Fri Mar 20, 2020 1:47 am

Very strange nobody has looked past the surface and seen the real question: How to recover data from the filesystem of a Raspbian SD card?

Answer: Your laptop (Windows) cannot access the type of filesystem Raspberry Pi uses. Windows can access NTFS partitions and FAT32 partitions. That's why your laptop likely showed you only the boot partition, but not the root partition.
The root partition is EXT4, a type of partition that Windows is clueless on how to show you.

If you have a linux laptop handy, use that to access the filesystem. (Raspbian is Linux)
But if not, probably the easiest way is to buy a second SD card which I'll call card 2. Boot the Pi on card 2, plug in card 1 using a usb card reader, and copy off the files.

To keep this from happening again, back up your Pi regularly. Easy - just use SD Card Copier from the menu to copy everything from card 1 to card 2.
If card 1 fails, gets lost, gets cracked, or doesn't boot, just switch to card 2 (the backup) and keep going.

Sidenote: If accessing card 1's filesystem is not enough, but you need to boot it like you asked - easy. I've made a handy Raspbian utility called Pi-Power-Tools to edit Sd cards and Raspbian images.

In your case, you would be interested in the boot option: select the usb card reader containing the damaged card 1, then click boot.
Image

You can play around with the desktop and type commands in the console, just as if you actually booted card 1.
https://github.com/Botspot/Pi-Power-Tools
I've developed the most intuitive RaspiOS img editor on the planet.
With a GUI similar to Gparted, managing imgs and sd cards is a breeze!
Boot it in a VM, Flash from the Internet at top speed, Mount (to drop in files), Shrink/Expand, Repair, and more.
https://github.com/Botspot/Pi-Power-Tools
> 400 users! 8-)

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Boot from microsd on laptop

Fri Mar 20, 2020 8:44 am

Botspot wrote:
Fri Mar 20, 2020 1:47 am
Very strange nobody has looked past the surface and seen the real question: How to recover data from the filesystem of a Raspbian SD card?



Re-read the first response, from a Moderator.

User avatar
bensimmo
Posts: 4626
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Boot from microsd on laptop

Fri Mar 20, 2020 8:55 am

One method would be to get the RaspberryPi Desktop x86 and boot to that on a pendrive or CD if you can.
You can then read the uSD card (if it has the drivers for the SD card) and you can save to the harddrive or Google Drive etc
Or
Installing Ubuntu/RPD Desktop to a virtual machine of some sort.

Or
Install the Windows Linux Subsystem and read via that (I think you can do that now)

Or
Use diskinternal Linux reader
https://www.diskinternals.com/linux-reader/

EDIT
Or
If your router has a USB port to create a Samba share etc (mine does that came from my ISP). You can access it via that, at least with my Technicolor as it support ext3/4 )



While you are there, go into the FAT folder windows can see, edit config.txt and remove the overclocking settings, especially the you one.
You may be able to use you Pi again.

Return to “Beginners”