[linux] ISO USB's booten niet. Bios probleem?

Bas G. Roufs Nederlands (gmail.com) basroufs op gmail.com
Wo mei 9 22:06:19 CEST 2018


Beste allemaal.

Dank voor de inbreng van enkelen van u tot nu toe.

> Ik kan alleen booten van usb als de stick in usb zit tijdens opstarten. Dan
> kan ik via bios de optie starten van usb kiezen.
> Is bij u de stick aangesloten bij opstartopties kiezen

Ja zeker. Elke keer doe ik ISO stick in een usb poort voordat ik de PC aandoe of herstart. 

> kan ik via bios de optie starten van usb kiezen.

Zo'n optie zou je inderdaad verwachten wanneer je de BIOS binnen gaat terwijl de USB al 
is aangesloten. Desalniettemin verschijnt deze niet. 

> > Inmiddels heb ik drie USB sleutels geprobeerd en een X aantal
> > programma's binnen Linux.  .......
> 
> Wat is precies de output van file en fdisk voor deze iso?
> 
> # file mijn-Kubuntu-live-cd.iso
> # fdisk -l mijn-Kubuntu-live-cd.iso

Goede vraag. Ik zet de terminal even aan :-).

Dit krijg ik te zien bij de ISO op de HOME directory:

bas op Viaconsensus-camino:~$ file kubuntu-18.04-desktop-amd64.iso
kubuntu-18.04-desktop-amd64.iso: DOS/MBR boot sector; partition 2 : ID=0xef, start-CHS 
(0x3ff,254,63), end-CHS (0x3ff,254,63), startsector 3572460, 4672 sectors


*bas op Viaconsensus-camino*:*~*$ fdisk -l kubuntu-18.04-desktop-amd64.iso 
*Disk kubuntu-18.04-desktop-amd64.iso: 1,8 GiB, 1868038144 bytes, 3648512 sectors* 
*Device*                           *Boot* *  Start* *    End* *Sectors* * Size* *Id* *Type* 




De USB sleutel die ik wil benutten als ISO USB, zet ik eers om in een gewone FAT32 en 
daarna in een ISO USB via mkusb. Aan het eind van de rit krijg ik de instructie de USB 
sleutel eruit te halen en er weer opnieuw in te doen. Dat doe ik. Het hele terminalverhaal 
dat hiermee samenhangt, stuur ik als bijlage mee. 

Vervolgens ga ik naar de usb-stick en probeer ik daar de "file" proef uit te voeren. Dat 
levert een warrig resultaat op:

Strength =  70 op 10: Plan 9 executable, SPARC [] 
*bas op Viaconsensus-camino*:*/media/bas/Kubuntu 18.04 LTS amd64*$ Disk 
kubuntu-18.04-desktop-amd64.iso: 1,8 GiB, 1868038144 bytes, 3648512 sectors 
*bas op Viaconsensus-camino*:*/media/bas/Kubuntu 18.04 LTS amd64*$ Units: sectors of 1 
* 512 = 512 bytes 
*bas op Viaconsensus-camino*:*/media/bas/Kubuntu 18.04 LTS amd64*$ Sector size 
(logical/physical): 512 bytes / 512 bytes 
*bas op Viaconsensus-camino*:*/media/bas/Kubuntu 18.04 LTS amd64*$ I/O size 
(minimum/optimal): 512 bytes / 512 bytes 
*bas op Viaconsensus-camino*:*/media/bas/Kubuntu 18.04 LTS amd64*$ Disklabel type: 
dos 
*bas op Viaconsensus-camino*:*/media/bas/Kubuntu 18.04 LTS amd64*$ Disk identifier: 
0x721678c7 
*bas op Viaconsensus-camino*:*/media/bas/Kubuntu 18.04 LTS amd64*$  
*bas op Viaconsensus-camino*:*/media/bas/Kubuntu 18.04 LTS amd64*$ Device 
                          Boot   Start     End Sectors  Size Id Type 
*bas op Viaconsensus-camino*:*/media/bas/Kubuntu 18.04 LTS amd64*$ kubuntu-18.04-
desktop-amd64.iso1 *          0 3648511 3648512  1,8G  0 Empty 
*bas op Viaconsensus-camino*:*/media/bas/Kubuntu 18.04 LTS amd64*$ kubuntu-18.04-
desktop-amd64.iso2      3572460 3577131    4672  2,3M ef EFI (FAT-12/16/32) 
*bas op Viaconsensus-camino*:*/media/bas/Kubuntu 18.04 LTS amd64*$ 

File en fdisk proeven op de usb sleutel leveren geeen zinnig resultaat op.

Dank voor het meedenken. 

HG,
Bas.






======
Bas G. Roufs, Utrecht, NL, EU.
BasRoufs op gmail.com
+31 6 446 835 10
Signature (Open PGP Key):
9379B029FEA91C141D8AB325DB8F897299B3020D
------------- volgend deel ------------
Een HTML-bijlage is gescrubt...
URL: <https://lists.nllgg.nl/pipermail/linux/attachments/20180509/ed0c3b6b/attachment-0001.html>
------------- volgend deel ------------
Een niet-tekst bijlage is gescrubt...
Naam: Bas G. Roufs.vcf
Type: text/vcard
Grootte: 260 bytes
Omschrijving: niet beschikbaar
URL : <https://lists.nllgg.nl/pipermail/linux/attachments/20180509/ed0c3b6b/attachment-0002.vcf>
------------- volgend deel ------------
bas op Viaconsensus-camino:~$ mkusb
---------------------------------------------------------------------
Usage: mkusb [input-file]      # optional parameter
---------------------------------------------------------------------
d:  dus , guidus, mkusb-dus    - New, easy to use
e: Eleven, sudo -H mkusb-11    - Classic user interface
n: NoX,    sudo mkusb-nox      - original text mode
b: Bas,    sudo mkusb-bas      - basic text mode for old/basic linux
q: Quit
---------------------------------------------------------------------
Select version of mkusb (d/e/n/b/q) d
 dus 12.3.0 
[sudo] password for bas: 
live system or temporary superuser permissions
Live drive, that is booted from: /dev/sdb
cands=3
sda
Hitachi_HTS723232A7A364
298,1G
ata
built-in device
sdc
SanDisk_Ultra_Fit
14,3G
usb
USB or memory card
sdd
Kingston_DataTraveler_3.0
14,4G
usb
USB or memory card
p_target: target=/dev/sdd
live system or temporary superuser permissions
Restore  /dev/sdd 
to an MSDOS partition table and a
partition with a FAT32 file system
MODEL            NAME   FSTYPE LABEL        SIZE
DataTraveler 3.0 sdd                       14,4G
                 ??sdd1 vfat   BAS-ISO-USB 14,4G
restore
/dev/sdd                                                                                                                                                                                        
ballebas                                                                                                                                                                                        
-----
live system or temporary superuser permissions
Trying to unmount partitions if mounted on the target device
umount: /dev/sdd: not mounted.
umount: /dev/sdd1: not mounted.
--------------------------------------------------------------------------------
gpt_zap: done
1024+0 records in
1024+0 records out
1048576 bytes (1,0 MB, 1,0 MiB) copied, 0,0017555 s, 597 MB/s
mkfs.fat 4.1 (2017-01-24)
/dev/sdd1 has 64 heads and 32 sectors per track,
hidden sectors 0x0800;
logical sector size is 512,
using 0xf8 media descriptor, with 30216192 sectors;
drive number 0x80;
filesystem has 2 32-bit FATs and 16 sectors per cluster.
FAT size is 14752 sectors, and provides 1886666 clusters.
There are 32 reserved sectors.
Volume ID is 479239f6, volume label BALLEBAS   .
 Done :-) 
 created MSDOS partition table and FAT file system 
Wait 5 seconds and a little more ...
Model: Kingston DataTraveler 3.0 (scsi)
Disk /dev/sdd: 15,5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  15,5GB  15,5GB  primary  fat32        boot

 
MODEL            NAME   FSTYPE LABEL
DataTraveler 3.0 sdd           
                 ??sdd1 vfat   BALLEBAS
p_clean:
live system or temporary superuser permissions
clean if necessary and quit
bas op Viaconsensus-camino:~$ sudo mkusb
---------------------------------------------------------------------
Usage: mkusb [input-file]      # optional parameter
---------------------------------------------------------------------
d:  dus , guidus, mkusb-dus    - New, easy to use
e: Eleven, sudo -H mkusb-11    - Classic user interface
n: NoX,    sudo mkusb-nox      - original text mode
b: Bas,    sudo mkusb-bas      - basic text mode for old/basic linux
q: Quit
---------------------------------------------------------------------
Select version of mkusb (d/e/n/b/q) d
 dus 12.3.0 
Drive that contains source file: /dev/sdb
Live drive, that is booted from: /dev/sdb
cands=3
sda
Hitachi_HTS723232A7A364
298,1G
ata
built-in device
sdc
SanDisk_Ultra_Fit
14,3G
usb
USB or memory card
sdd
Kingston_DataTraveler_3.0
14,4G
usb
USB or memory card
p_target: target=/dev/sdd
 Clone/extract  system from the source
'/home/bas/kubuntu-18.04-desktop-amd64.iso'
to the target device (drive) '/dev/sdd'
MODEL            NAME   FSTYPE LABEL     SIZE
DataTraveler 3.0 sdd                    14,4G
                 ??sdd1 vfat   BALLEBAS 14,4G
/home/bas/kubuntu-18.04-desktop-amd64.iso
/dev/sdd
-----
source=/home/bas/kubuntu-18.04-desktop-amd64.iso
target=/dev/sdd
source=/home/bas/kubuntu-18.04-desktop-amd64.iso
ls -l  /home/bas/kubuntu-18.04-desktop-amd64.iso
-rw-rw-r-- 1 bas bas 1868038144 mei  5 23:41 /home/bas/kubuntu-18.04-desktop-amd64.iso
Making a USB boot drive or memory card ..........................
The iso file SHOULD BE loop mounted on a temporary file READ-ONLY:
mount: /tmp/dus.Ij7654G8MX: WARNING: device write-protected, mounted read-only.
gpt_zap: done

Installing '/home/bas/kubuntu-18.04-desktop-amd64.iso' to '/dev/sdd' ... :

< "/home/bas/kubuntu-18.04-desktop-amd64.iso" pv -s 1868038144 | dd bs=4096  of=/dev/sdd
 Please wait for sync until 'Done' is written 
 (flushing file system buffers to the device)
1,74GiB 0:03:08 [9,46MiB/s] [================================================================================================================================================>] 100%            
456064+0 records in
456064+0 records out
1868038144 bytes (1,9 GB, 1,7 GiB) copied, 389,07 s, 4,8 MB/s
Syncing the device ...
 Done :-) 
p_clean:
clean if necessary and return
clean if necessary and quit
bas op Viaconsensus-camino:~$ 
------------- volgend deel ------------
Een niet-tekst bijlage is gescrubt...
Naam: Bas G. Roufs.vcf
Type: text/vcard
Grootte: 260 bytes
Omschrijving: niet beschikbaar
URL : <https://lists.nllgg.nl/pipermail/linux/attachments/20180509/ed0c3b6b/attachment-0003.vcf>
------------- volgend deel ------------
Een niet-tekst bijlage is gescrubt...
Naam: signature.asc
Type: application/pgp-signature
Grootte: 659 bytes
Omschrijving: This is a digitally signed message part.
URL : <https://lists.nllgg.nl/pipermail/linux/attachments/20180509/ed0c3b6b/attachment-0001.sig>


Meer informatie over de Linux maillijst