You are not logged in.

#1 2022-07-12 17:34:13

Registered: 2022-05-27
Posts: 12

get a .sh bash script on an iso

i'm messing around with making a install script myself just cause i end up bricking my system lot lol.
anyway i'm trying to get the script in an iso that a vm can use
if i use mkisofs from the cdrtools (i think) package it makes a iso but if i boot it in a vm i get … g?raw=true
in qemu

what do i have to do to add the .sh file and keep the iso bootable on both a vm and an actual pc (if it makes a difference)

Mod Edit - Replaced oversized image with link.
CoC - Pasting pictures and code

Last edited by Slithery (2022-07-12 17:57:26)


#2 2022-07-12 17:58:49

From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,381

Re: get a .sh bash script on an iso

You need to add the file to an already bootable iso instead of just creating a new blank iso containing only that file.
What exact commands are you using to generate your iso?

If you are looking to create a bootable Arch installation iso then take a look at...

No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles


#3 2022-07-13 23:59:18

Registered: 2022-05-27
Posts: 12

Re: get a .sh bash script on an iso

long wait for reply sry
completely seperate ( i think ) problem now
anyway use mkarchiso with my .sh in airootfs etc
if i try to write that iso (or a normal iso from a mirror) with any of these methods it just kinda dosent do anything. not much more info than that. same thing on 2 different 16g flash drives.
honestly no idea so


Board footer

Powered by FluxBB