You are not logged in.

#1 2016-11-20 04:54:51

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

[SOLVED] Installing Bunsenlabs to USB using virtual box

I have set up Virtual Box in my Windows 7 and when trying to install Bunsenlabs, I only see the virtual HDD on the list and not the connected USB drives. I have also added my USB drives in the USB section of machine settings. But still, I get the same result.

Screen shot here

Did I set up the virtual machine wrong?

Mod edit -- fixed image url

Last edited by linux_user (2016-12-17 14:00:27)


"Blind faith to authority is the greatest enemy of truth."

Offline

#2 2016-11-20 09:25:12

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: [SOLVED] Installing Bunsenlabs to USB using virtual box

i can't see the screenshot.

to answer your question, i don't think virtualbox recognizes physical peripherals by default, requires additional setup (guest additions?) - please read virtualbox faq & documentation, surely they have a lot on this sort of problem.

but, taking a step back, you want to install bunsenlabs into a vortual machine?
you don't need a usb bootable medium for that.
simply point the virtual machine setup wizard (the big friendly "New" button) to the .iso you downloaded.

Offline

#3 2016-11-20 17:14:23

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] Installing Bunsenlabs to USB using virtual box

ohnonot wrote:

i can't see the screenshot.

to answer your question, i don't think virtualbox recognizes physical peripherals by default, requires additional setup (guest additions?) - please read virtualbox faq & documentation, surely they have a lot on this sort of problem.

but, taking a step back, you want to install bunsenlabs into a vortual machine?
you don't need a usb bootable medium for that.
simply point the virtual machine setup wizard (the big friendly "New" button) to the .iso you downloaded.

The USB is not to install linux from. It is to install linux to. USB stick is the target device. I want a on the go OS, since I don't have a computer at this point, and am using various computers (friends, family etc...).

To see the image, right click on the url and choose 'open image in a new tab'. You should be able to see it now.

Regarding the additional set ups to Virtualbox, I had added the USB filters in the machine settings, but not working. I shall further see what I can do with that error.

Last edited by linux_user (2016-11-20 17:16:04)


"Blind faith to authority is the greatest enemy of truth."

Offline

#4 2016-11-20 19:52:46

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] Installing Bunsenlabs to USB using virtual box

...
To see the image, right click on the url and choose 'open image in a new tab'. You should be able to see it now.

You need to use [ url ] tags wink


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2016-11-20 20:33:28

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [SOLVED] Installing Bunsenlabs to USB using virtual box

Hmm I may be missing something here (I usually am!)  but why not just boot Bunsenlabs in the VM, insert the USB, (you probably do need guest additions), and use the dd command to write the bunsen iso to the usb drive.

Have you considered that method or is there something preventing you from doing it that way?


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#6 2016-11-20 21:50:05

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: [SOLVED] Installing Bunsenlabs to USB using virtual box

well half of my answer is still valid: you need to get busy with virtualbox, how it handles host peripherals & filsystems, most probably guest additions.
i sympathise, i know it can be a bitch.

but if you have 2 usb sticks & 2 usb ports, i suggest installing from the live usb to the other usb, it will be easier.
also keep in mind that installing TO a usb is not as easy as one might think; please search the forums, there's more than one article on that.

Offline

#7 2016-11-21 01:45:40

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [SOLVED] Installing Bunsenlabs to USB using virtual box

ohnonot wrote:

also keep in mind that installing TO a usb is not as easy as one might think;


Amen to that...


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#8 2016-11-21 08:31:24

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: [SOLVED] Installing Bunsenlabs to USB using virtual box

Horizon_Brave wrote:
ohnonot wrote:

also keep in mind that installing TO a usb is not as easy as one might think;


Amen to that...

WRONG!

Installing BL and/or debian to usb is straightforward. (Just take care of where will you put grub.) See this, for example.

What is non trivial is making Live-with-persistance usb installation.

I have impression that lots of people don't get that those two (install-to-usb and Live-with-persistance) are different things.


Postpone all your duties; if you die, you won't have to do them ..

Offline

#9 2016-11-21 18:21:20

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] Installing Bunsenlabs to USB using virtual box

I tried installing the distro to USB and making a live persistent USB stick too. Both failed.. here's the thread https://forums.bunsenlabs.org/viewtopic.php?id=2966

However, I'll try iMBeCil's suggestion and try this http://crunchbang.org/forums/viewtopic. … 99#p263599

Last edited by linux_user (2016-11-21 18:22:28)


"Blind faith to authority is the greatest enemy of truth."

Offline

#10 2016-11-21 18:34:47

cloverskull
Member
Registered: 2015-10-01
Posts: 348

Re: [SOLVED] Installing Bunsenlabs to USB using virtual box

Hey guys,

VirtualBox is an easy way to end up with a persistent USB install of linux. I've documented it here: https://forums.bunsenlabs.org/viewtopic.php?id=1642

linux_user, give the linked thread a look and hopefully it'll help you out.

The key thing is you need to NOT create any virtual disk. You need to expose the USB drive to the VM. I believe my write-up has instructions for this. Then you just treat the USB like any old target installation media (I think it mounts to /dev/sda) and you don't have to do anything special at all. Then boot your computer from the USB drive and it'll just work.

Offline

#11 2016-11-21 20:06:33

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [SOLVED] Installing Bunsenlabs to USB using virtual box

iMBeCil wrote:
Horizon_Brave wrote:
ohnonot wrote:

also keep in mind that installing TO a usb is not as easy as one might think;


Amen to that...

WRONG!

Installing BL and/or debian to usb is straightforward. (Just take care of where will you put grub.) See this, for example.

What is non trivial is making Live-with-persistance usb installation.

I have impression that lots of people don't get that those two (install-to-usb and Live-with-persistance) are different things.

You are correct in that I was indeed mixing up installing the OS to a USB  statically... and installing the OS as a live image with persistance...

I still don't see the need or merrit of doing the Live with Persistance option though  :S


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#12 2016-11-21 20:36:34

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: [SOLVED] Installing Bunsenlabs to USB using virtual box

Horizon_Brave wrote:

I still don't see the need or merrit of doing the Live with Persistance option though  :S

Hm ... I believe that it has to do with supported hardware ... For example, once you install BL (or most of other distros) to the USB, it is installed - or rather 'adjusted' - for that particular hardware on which you did the installation. Consequently, using this particular USB on other hardware might not work at all, or not work optimally. (Graphics and sound and WiFi spring to mind ...)

OTOH, Live is designed to support the widest range of hardware possible, and therefore it will run on almost anything. Ergo, it is highly transferable between different hardware. There lies the beauty of Live-with-Persistance ... wink

That's how I understand it, anyhow ...


Postpone all your duties; if you die, you won't have to do them ..

Offline

#13 2016-11-22 18:27:28

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] Installing Bunsenlabs to USB using virtual box

iMBeCil wrote:
Horizon_Brave wrote:

I still don't see the need or merrit of doing the Live with Persistance option though  :S

Hm ... I believe that it has to do with supported hardware ... For example, once you install BL (or most of other distros) to the USB, it is installed - or rather 'adjusted' - for that particular hardware on which you did the installation. Consequently, using this particular USB on other hardware might not work at all, or not work optimally. (Graphics and sound and WiFi spring to mind ...)

OTOH, Live is designed to support the widest range of hardware possible, and therefore it will run on almost anything. Ergo, it is highly transferable between different hardware. There lies the beauty of Live-with-Persistance ... wink

That's how I understand it, anyhow ...

Perfect....


"Blind faith to authority is the greatest enemy of truth."

Offline

#14 2016-11-22 22:57:56

stevep
MX Linux Developer
Registered: 2016-08-08
Posts: 381

Re: [SOLVED] Installing Bunsenlabs to USB using virtual box

Live sessions with persistence are orders of magnitude faster that a true install-to-USB for older, smaller, slower thumb drives.  The reason is that there are no constant writes to the drive with a Live USB, which are very slow on those older drives, plus data is read off the drive in compressed form and decompressed in the computer, which also speeds things up for reads.

Offline

#15 2016-11-22 23:01:48

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [SOLVED] Installing Bunsenlabs to USB using virtual box

iMBeCil wrote:
Horizon_Brave wrote:

I still don't see the need or merrit of doing the Live with Persistance option though  :S

Hm ... I believe that it has to do with supported hardware ... For example, once you install BL (or most of other distros) to the USB, it is installed - or rather 'adjusted' - for that particular hardware on which you did the installation. Consequently, using this particular USB on other hardware might not work at all, or not work optimally. (Graphics and sound and WiFi spring to mind ...)

OTOH, Live is designed to support the widest range of hardware possible, and therefore it will run on almost anything. Ergo, it is highly transferable between different hardware. There lies the beauty of Live-with-Persistance ... wink

That's how I understand it, anyhow ...

Imbecil, that is a very...very concise and neat explanation that I never thought about about the hardware specific options.   

But I have one question.

What is it that is "adjusted" to the particular hardware where I did the install? Does this affect installing to a HDD/SDD as well? If I install Debian/Bunsen to a HDD on a laptop... and I remove that HDD and boot it from another  computer NOT of the same architecture, you're saying it wouldn't work properly?   

Why is this? Installing to a USB or HDD/SDD should install the kernel being used ...but the drivers and what not are loaded during boot time right? So for a USB install, I should in theory be able to move it to any computer and the drivers for graphics, sound, and wifi should still be loaded at boot (provided the kernel has them)?

I mean that's the point of the udev/hal  process/daemon right? to be able to load drivers and supporting modules dynamically?
So if I have this right (please tell me if I don't>..)  that sort of blurs the line and need between a full USB install and Live install w/ persistence?



stevep wrote:

Live sessions with persistence are orders of magnitude faster that a true install-to-USB for older, smaller, slower thumb drives.  The reason is that there are no constant writes to the drive with a Live USB, which are very slow on those older drives, plus data is read off the drive in compressed form and decompressed in the computer, which also speeds things up for reads.


stevep, also great explanation... When you say that the the true full  install to the USB will make constant writes to the hard drive.  Why would it do this? If I fully installed the OS to the USB, why and what would it be writing to the PC's Hard drive? Shouldn't all writes be to the USB itself? 

And also in that case, where does a live USB write to? RAM of the PC?

Last edited by Horizon_Brave (2016-11-22 23:11:18)


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#16 2016-11-23 15:32:17

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: [SOLVED] Installing Bunsenlabs to USB using virtual box

Horizon_Brave wrote:

What is it that is "adjusted" to the particular hardware where I did the install? Does this affect installing to a HDD/SDD as well? If I install Debian/Bunsen to a HDD on a laptop... and I remove that HDD and boot it from another  computer NOT of the same architecture, you're saying it wouldn't work properly?

Huh ... lots of questions to answer ... you very demanding HB, no?  big_smile  big_smile

Well, one simple thing springs in mind: few people were complaining that the Live BL (or good old #!) did work, the installation went OK, but when they restarted their installation for the first time, only blank screen were shown. The solution was sometimes adding few parameters to the kernel in GRUB.

Some time ago, I witnessed myself that the Live #! worked with my WiFi, but installed version didn't ... I had to add certain drivers.

And so on and on ...

Furthermore, the Live tries hard to optimally use your screen graphicwise. Installed version sometimes requires xorg.conf tweaking, which is - obviously - both video-card and monitor dependent.

HDD/SSD? If you have some special controller or setup (like RAID) or your disks are encrypted, then I expect that working installation on one hardware will not really work as expected on some other - unrelated - hardware.

On the other side of the spectrum, I have impression that 'simple' BL installations on HDD/SSD and/or USB (without exotic hardware and exotic requirements) really are transferable between different hardware, with no serious problems.

HTH.


Postpone all your duties; if you die, you won't have to do them ..

Offline

#17 2016-11-23 18:00:19

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [SOLVED] Installing Bunsenlabs to USB using virtual box

iMBeCil wrote:

Huh ... lots of questions to answer ... you very demanding HB, no?  big_smile  big_smile

HTH.


big_smile  I'm a harsh mistress. Apologies if I press too much at times... I just like to get a fresh and fundamental view and scope of things. I try not to accept things just as they are or because someone said so.. Thanks for your answer though!


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#18 2016-11-23 21:13:49

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: [SOLVED] Installing Bunsenlabs to USB using virtual box

You're welcome HB.

Horizon_Brave wrote:
iMBeCil wrote:

Huh ... lots of questions to answer ... you very demanding HB, no?  big_smile  big_smile

HTH.


big_smile  I'm a harsh mistress. Apologies if I press too much at times... I just like to get a fresh and fundamental view and scope of things. I try not to accept things just as they are or because someone said so.

Sensible attitude, keep it that way ...  wink  wink


Postpone all your duties; if you die, you won't have to do them ..

Offline

#19 2016-11-23 22:12:37

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [SOLVED] Installing Bunsenlabs to USB using virtual box

iMBeCil wrote:

You're welcome HB.

Horizon_Brave wrote:
iMBeCil wrote:

Huh ... lots of questions to answer ... you very demanding HB, no?  big_smile  big_smile

HTH.


big_smile  I'm a harsh mistress. Apologies if I press too much at times... I just like to get a fresh and fundamental view and scope of things. I try not to accept things just as they are or because someone said so.

Sensible attitude, keep it that way ...  wink  wink

It annoys some people but hey...I like being curious.  Anyway, hope I haven't de-railed this thread too much ...

Last edited by Horizon_Brave (2016-11-23 22:17:07)


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#20 2016-11-26 18:08:46

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] Installing Bunsenlabs to USB using virtual box

Horizon_Brave wrote:
iMBeCil wrote:

You're welcome HB.

Horizon_Brave wrote:

big_smile  I'm a harsh mistress. Apologies if I press too much at times... I just like to get a fresh and fundamental view and scope of things. I try not to accept things just as they are or because someone said so.

Sensible attitude, keep it that way ...  wink  wink

It annoys some people but hey...I like being curious.  Anyway, hope I haven't de-railed this thread too much ...

As the guy who posted this thread I can say, nope you haven't derailed anything.. Your post is what made iMBeCil write that explanation which I believe is valuable to anyone reading this post...

I, in fact, wanted a live persistent system but many of my attempts failed with various different errors, https://forums.bunsenlabs.org/viewtopic.php?id=2966 , which is why I tried installing it to the USB itself using virtual box.

Last edited by linux_user (2016-11-26 18:09:41)


"Blind faith to authority is the greatest enemy of truth."

Offline

Board footer

Powered by FluxBB