snapcube
Posts: 4
Joined: Mon Sep 08, 2014 4:14 pm

Multi OS without destroying the current Raspbian

Mon Sep 08, 2014 6:09 pm

Hi ! I have a raspberry b+ and I have installed Raspian on it without NOOBS.
I installed few things and configured them hardly :mrgreen: .

Now I'd like to install PwnPi on the same SD card but I don't know how to proceed to avoid to have to reinstall all.

Thanks for reading this :) I would be grateful if someone could help me.

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

Re: Multi OS without destroying the current Raspbian

Mon Sep 08, 2014 6:12 pm

Go to Tesco or Sainsburys and spend £8. Get a new SDCard it will be easier in the long run.
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.

snapcube
Posts: 4
Joined: Mon Sep 08, 2014 4:14 pm

Re: Multi OS without destroying the current Raspbian

Mon Sep 08, 2014 6:13 pm

Realy ? Is that so hard to achieve ?

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: Multi OS without destroying the current Raspbian

Mon Sep 08, 2014 6:13 pm

Easy answer, 2 SD cards......
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: Multi OS without destroying the current Raspbian

Mon Sep 08, 2014 6:19 pm

snapcube wrote:Realy ? Is that so hard to achieve ?
2 SD cards is hard ?

Very easy to achieve with a VM setup but I can't see a Pi handling VMs.
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

snapcube
Posts: 4
Joined: Mon Sep 08, 2014 4:14 pm

Re: Multi OS without destroying the current Raspbian

Mon Sep 08, 2014 6:20 pm

Ok thank you for your answers I'll buy a new card

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

Re: Multi OS without destroying the current Raspbian

Mon Sep 08, 2014 6:24 pm

NOOBS has reformatted the SDCard as part of the install. It's non-trivial to undo that stuff so that you can add a couple of extra partitions for your new OS.

You new OS is shipped as a ready to go SDCard image (don't know how it's partitioned) and isn't in a format that's compatible with NOOBS.
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.

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: Multi OS without destroying the current Raspbian

Mon Sep 08, 2014 6:35 pm

I'd always recommend 3 SD cards for each Pi you own. They are are hardly HDD prices unless you're looking at very large sizes, and I'd never commit a huge amount of information to anything as tetchy and unreliable as flash memory. 8GB is plenty, if you want a load of storage for your dodgy movies, use a USB HDD.
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

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

Re: Multi OS without destroying the current Raspbian

Mon Sep 08, 2014 6:36 pm

DougieLawson wrote:NOOBS has reformatted the SDCard as part of the install. It's non-trivial to undo that stuff so that you can add a couple of extra partitions for your new OS.

You new OS is shipped as a ready to go SDCard image (don't know how it's partitioned) and isn't in a format that's compatible with NOOBS.
He is not using Nobs "Hi ! I have a raspberry b+ and I have installed Raspian on it without NOOBS."


The OP maybe http://www.berryterminal.com/doku.php/berryboot

You would need to create a disk image in a format compatable, not straightforward ;)
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

User avatar
socialdefect
Posts: 110
Joined: Mon Jun 25, 2012 9:02 pm
Location: Tilburg, the Netherlands
Contact: Website

Re: Multi OS without destroying the current Raspbian

Mon Sep 08, 2014 11:37 pm

Can you? YES you can.
Is it practical? NO it's not

You can resize your partitions to fit another OS by using Gparted from your Linux desktop or a livecd for the root partition cannot be resized while mounted.

Next you can boot Raspbian to install the other image using dd but not in the same way you would normaly do since the image has two partitions in it so you need to figure out the where the first block of the second partition starts and copy from there on. (F-up possibilities are endless here)

Once installed there is no bootloader so every time you'd like to switch OS you need to edit the bootcmd.txt file manually.

If you're still interested I can give you a more detailed answer.
== If it's not broke... I'm not done fixing it! ==

Return to “Beginners”