You are not logged in.

#1 2018-04-22 01:14:02

c8h10n4o2montreal
Member
From: Montreal
Registered: 2018-02-25
Posts: 5

what to write a .ISO with

Very new Bunsenlabs user here.

I am using Bunsenlabs on my dektop. Since everything works (for me) I want to also use it on a laptop. What program can I use to write the .ISO to a USB? Ignorant me tried searching for imagewriter (used it with openSUSE) but it was not found.

genisoimage and grml2usb are installed (using Synaptic), but although I can see them when searching with alt+F3 nothing happens when selected.

Can anyone tell me what I am doing wrong or suggest a program to write images with?

Thanks.

Last edited by c8h10n4o2montreal (2018-04-22 01:22:44)

Offline

#2 2018-04-22 01:29:33

hhh
Meep!
Registered: 2015-09-17
Posts: 7,916
Website

Re: what to write a .ISO with

If you are on BL and you want to write an image to a USB stick just use cp as root. Check the drive dropdown in gparted for your USB stick (Main Menu>Settings>GParted, upper-right corner of the gparted GUI window), on my system it shows that it's /dev/sdb1

Use cp as root, but leave out the number at the end. In a terminal...

sudo -s

Enter your password so you are root, and switch to the directory the ISO is in. Example...

cd Downloads

Then run the cp copy command using the right ISO filename and the right drive WITHOUT THE NUMBER AT THE END. Example...

cp bl-Deuterium-amd64_20170429.iso /dev/sdb;sync

Reboot when the terminal prompt resets and boot to your USB stick.

Offline

#3 2018-04-22 01:35:54

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 706

Re: what to write a .ISO with

To find the USB drive you can use fdisk -l as well.


Real Men Use Linux

Offline

#4 2018-04-22 01:47:02

hhh
Meep!
Registered: 2015-09-17
Posts: 7,916
Website

Re: what to write a .ISO with

DeepDayze wrote:

To find the USB drive you can use fdisk -l as well.

If you're root, yes...

rachel@tyrell-corp:~$ fdisk -l
fdisk: cannot open /dev/sda: Permission denied
fdisk: cannot open /dev/sdb: Permission denied
rachel@tyrell-corp:~$ sudo -s
[sudo] password for rachel: 
root@tyrell-corp:/home/rachel# fdisk -l
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x013d3095

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048 482187263 482185216 229.9G 83 Linux
/dev/sda2       482189310 488396799   6207490     3G  5 Extended
/dev/sda5       482189312 488396799   6207488     3G 82 Linux swap / Solaris




Disk /dev/sdb: 7.2 GiB, 7761035264 bytes, 15158272 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x02750814

Device     Boot   Start     End Sectors  Size Id Type
/dev/sdb1  *          0 1894399 1894400  925M  0 Empty
/dev/sdb2       1857692 1862299    4608  2.3M ef EFI (FAT-12/16/32)
root@tyrell-corp:/home/rachel#

Obviously my USB is not 230G large. /dev/sdb it is!

Offline

#5 2018-04-22 01:50:41

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 706

Re: what to write a .ISO with

Yes true you'll have to be root (sudo) to use fdisk -l but that is another way to look for the device name of your USB stick.

Last edited by DeepDayze (2018-04-22 01:51:03)


Real Men Use Linux

Offline

#6 2018-04-22 05:48:01

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

Re: what to write a .ISO with

No need for cumbersome 'GParted' and or sudo-hungry 'fdisk -l'. 'lsblk' is the command - no sudo, and command is simple.

Without inserted USB drive:

$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.9G  0 disk 
├─sda1   8:1    0   200M  0 part 
├─sda2   8:2    0  31.1G  0 part 
├─sda3   8:3    0 619.9M  0 part 
└─sda4   8:4    0   434G  0 part /

With inserted USB drive:

$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.9G  0 disk 
├─sda1   8:1    0   200M  0 part 
├─sda2   8:2    0  31.1G  0 part 
├─sda3   8:3    0 619.9M  0 part 
└─sda4   8:4    0   434G  0 part /
sdc      8:32   1  29.9G  0 disk 
└─sdc1   8:33   1  29.9G  0 part 

Apparently, in this case the /dev/sdc is the USB drive, and this particular one has single partition /dev/sdc1.


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

Offline

#7 2018-04-22 14:35:32

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: what to write a .ISO with

I guess Etcher is also supposed to work with the ISO, in case someone is afraid of the terminal. Did not test it yet though.

Offline

#8 2018-04-23 08:53:29

D219
Member
Registered: 2017-02-23
Posts: 29

Re: what to write a .ISO with

martix wrote:

I guess Etcher is also supposed to work with the ISO, in case someone is afraid of the terminal. Did not test it yet though.

I did, not with BL ISO, but Etcher work fine for all kind of Debian and Ubuntu based ISO.

It will not work for Windows ISO though, since they require some more processing that Etcher didn't implement.

Offline

#9 2018-05-05 17:31:23

topernic
New Member
Registered: 2018-05-05
Posts: 2

Re: what to write a .ISO with

I just formatted by usb stick to fat32 and set the boot flag. I then extracted the iso to the usb partion. Boots great.
It works on several iso's. It works with Gparted iso. It did not work with Manjaro.
Fastest way for me and you can have other partitions on the stick.

Last edited by topernic (2018-05-05 17:32:16)

Offline

#10 2018-05-05 18:40:42

topernic
New Member
Registered: 2018-05-05
Posts: 2

Re: what to write a .ISO with

topernic wrote:

I just formatted by usb stick to fat32 and set the boot flag. I then extracted the iso to the usb partion. Boots great.
It works on several iso's. It works with Gparted iso. It did not work with Manjaro.
Fastest way for me and you can have other partitions on the stick.

This only works for UEFI systems that are not in the secure mode.

Offline

#11 2018-05-06 09:04:11

dolly
Miss Mixunderstand
From: /lab1
Registered: 2015-10-03
Posts: 366

Re: what to write a .ISO with


Keep BunsenLabs #!yish please.

Offline

Board footer

Powered by FluxBB