You are not logged in.

#1 2019-06-19 21:50:38

lmart
Member
Registered: 2019-01-04
Posts: 12

liveusb - use free space

Related Post: https://forums.bunsenlabs.org/viewtopic.php?id=5473

1. Downloaded bl-Helium-4-i386-cd and, verified checksum.
2. Successfully wrote the iso image to 32gb usb thumb drive with command: dd if=<file> of=<device> bs=4M; sync (re: https://www.debian.org/CD/faq/#write-usb).

Problem: The iso image is less than 2gb, yet when created using dd or Rufus (Win App) it uses the full 32gb.

Question: How can I use the nearly 30gb for data?

Thanks.

Offline

#2 2019-06-19 22:37:04

damo
....moderator....
Registered: 2015-08-20
Posts: 5,057

Re: liveusb - use free space

Are you trying to use  a live usb with persistence? Or trying to install BL?

dd writes to all the available space IIRC, but look at the manpages to see how to write only a certain number of bytes.

Have you thought of partitioning the device? You could dd the iso to the small partition, and install to the bigger one. (EDIT 2: not sure if that will allow it to be bootable though hmm )

EDIT: Or are you saying that you want to use the device to hold both the iso and other data? You can also use cp instead of dd BTW.

Last edited by damo (2019-06-19 22:58:05)


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Online

#3 2019-06-19 23:04:47

lmart
Member
Registered: 2019-01-04
Posts: 12

Re: liveusb - use free space

Thanks for your reply.

dd command will not allow me to install a live usb with persistence?
No, not trying to install BL?

OK, on my 2do list: dd writes to all the available space IIRC, but look at the manpages to see how to write only a certain number of bytes.

Yes, did not work: Have you thought of partitioning the device? You could dd the iso to the small partition, and install to the bigger one. (EDIT 2: not sure if that will allow it to be bootable though hmm )

Yes, part1 for the liveusb; part2 for other data: EDIT: Or are you saying that you want to use the device to hold both the iso and other data?

cp did not work for me: You can also use cp instead of dd BTW.

Last edited by damo (Today 16:58:05)

Offline

#4 2019-06-19 23:16:48

hhh
Meep!
Registered: 2015-09-17
Posts: 8,307
Website

Re: liveusb - use free space

cp should work. Assuming your ISO download is in ~/Downloads, that that is the only ISO in your Downloads folder and that your USB is /dev/sdb* , use...

cd Downloads
sudo cp *.iso /dev/sdb;sync

Note, NO number after the drive location.

Offline

#5 2019-06-20 01:02:02

damo
....moderator....
Registered: 2015-08-20
Posts: 5,057

Re: liveusb - use free space

And just to correct some of the crap suggestions I made earlier - to write a bootable live iso to a device, it should NOT be written to a partition. That makes it kind of difficult to use the device for anything else sad


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Online

#6 2019-06-20 10:20:05

lmart
Member
Registered: 2019-01-04
Posts: 12

Re: liveusb - use free space

hhh wrote:

cp should work. Assuming your ISO download is in ~/Downloads, that that is the only ISO in your Downloads folder and that your USB is /dev/sdb* , use...

cd Downloads
sudo cp *.iso /dev/sdb;sync

Note, NO number after the drive location.

Thanks.
I created a LiveUSB with those commands.It would not boot.

Offline

#7 2019-06-24 09:25:26

ohnonot
...again
Registered: 2015-09-29
Posts: 3,895
Website

Re: liveusb - use free space

lmart wrote:

Problem: The iso image is less than 2gb, yet when created using dd or Rufus (Win App) it uses the full 32gb.

Question: How can I use the nearly 30gb for data?

I think there's no simple solution to that question.
Bunsenlabs isn't designed for this; although it runs live, it doesn't cater to the needs of those that always want to run live.
As a workaround I'd suggest to put some sort of multiboot system on the usb drive, and the bl iso file itself. That should work as desired in the end.

Last edited by ohnonot (2019-06-24 09:26:35)

Offline

#8 2019-06-24 12:44:00

lmart
Member
Registered: 2019-01-04
Posts: 12

Re: liveusb - use free space

ohnonot wrote:
lmart wrote:

Problem: The iso image is less than 2gb, yet when created using dd or Rufus (Win App) it uses the full 32gb.

Question: How can I use the nearly 30gb for data?

I think there's no simple solution to that question.
Bunsenlabs isn't designed for this; although it runs live, it doesn't cater to the needs of those that always want to run live.
As a workaround I'd suggest to put some sort of multiboot system on the usb drive, and the bl iso file itself. That should work as desired in the end.


thanks for your reply
yumi appears to work for 32-bit, it does not appear to work for uefi 64-bit

Offline

#9 2019-06-24 14:05:28

ohnonot
...again
Registered: 2015-09-29
Posts: 3,895
Website

Re: liveusb - use free space

YUMI is not the only option in those search results.

Offline

#10 2019-06-25 11:06:14

lmart
Member
Registered: 2019-01-04
Posts: 12

Re: liveusb - use free space

ohnonot wrote:

YUMI is not the only option in those search results.

yes, thanks, working my way down the list, one at a time

Offline

Board footer

Powered by FluxBB