20
votes
Accepted
No internet connection in chroot environment (customizing iso)
You have internet connection, as evidenced by the ping to 8.8.8.8. You just don't have DNS name resolution.
See the file /etc/resolv.conf in your root file system and copy it to the chroot ...
19
votes
Accepted
can you roll your own .iso for USB stick? (What I really want is 'overlayroot')
Live systems avoid having to write to their underlying storage using a variety of techniques (running entirely from memory, overlaying a RAM-based file system on top of a read-only file system, etc.); ...
16
votes
How to Create Bootable Windows 10 image in Debian?
I tried the Win7 solution described by Microsoft on a Windows machine:
https://www.microsoft.com/en-us/download/windows-usb-dvd-download-tool
and obtained the
0x80080005 error
so went to Debian ...
15
votes
Accepted
tee iso contents into dd or directly to /dev/sda?
Using dd is not safer or faster or less reliable. In fact, here, it introduces two additional risks of failure. Neither risk is likely to be a problem in practice if people follow those instructions ...
13
votes
can you roll your own .iso for USB stick? (What I really want is 'overlayroot')
In short, to answer the question in the title: yes, you can. But you might not want to.
You are combining together several unrelated concepts.
EFI and BIOS (as used by LILO) are boot methods. Either ...
11
votes
How can an image file be created for a directory?
There is no equivalent tool for ext4. As you say, you can achieve an equivalent effect using a loop device -
Create an empty image file with more than enough space to store your files. - truncate -s ...
11
votes
Accepted
Why use dd instead of cp to create bootable disk?
One difference is efficiency, and thus speed. For example, you could get the bytes one by one and copy them to the device, with cat if it had the idealized implementation or in older systems, for ...
11
votes
Accepted
How to create a virtual ISO file from /dev/sr0
Turns out the solution was easy using 'mount --bind'.
The 'fake' ISO can be shared and VLC opens it like a DVD, with full menu support.
touch dvd.iso
sudo mount --bind /dev/sr0 dvd.iso
9
votes
Accepted
Extract the contents of an ISO image to a folder in one step
There's multiple programs that can just treat an ISO-9660 file as an archive. 7z is a popular one: 7z x yourfile.iso works.
If this is a modern Linux with a user session manager running, udisksctl ...
8
votes
What's the best way to join files again after splitting them?
Files Spliting
Split By Size
If you want to split big file into small files and choose name and size of small output files this is the way.
split -b 500M videos\BigVideoFile.avi SmallFile.
In this ...
8
votes
How to make a fully bootable ISO from Alpine Linux Edge?
Alpine is shipped with several helper scripts, one of those is setup-alpine.
This scripts support an answer file, as you can see:
usage: setup-alpine [-ahq] [-c FILE | -f FILE]
Setup Alpine Linux
...
8
votes
Accepted
why yum-config-manager isnt part of rhel 7.6
The yum-config-manager program is not a standalone package. It is part of yum-utils package, thus:
yum install yum-utils
7
votes
Accepted
7
votes
How to modify an installation ISO and keep it bootable?
The dumpet output indicates the original contains two ElTorito boot images: one for BIOS-style boot and another for UEFI. After specifying the first boot image for BIOS with mkisofs options, you would ...
7
votes
Extract the contents of an ISO image to a folder in one step
osirrox -indev rhel-server-7.6-x86_64-dvd.iso -extract / /home/ron/rhel7.6dvd
osirrox is a special invocation of the xorriso tool.
https://www.gnu.org/software/xorriso/
6
votes
Accepted
Boot ISO File located on LVM from GRUB2
Like frostschutz said, appending live-media=/dev/mapper/Fedora-root findiso=ISO/kali-linux-2019.1a-amd64.iso to kernel command-line parameters worked. So this is how it looks the new menuentry that ...
6
votes
Accepted
What is the difference between Red Hat Enterprise Linux boot ISO and the same Binary DVD
Understanding the various RHEL .iso files
boot.iso
Used to install the operating system from another source
(such as a http repository of the binary files). Can also be used to
enter Rescue ...
6
votes
Accepted
What does "Supported ISO: no" mean in Fedora installer?
The option "Test this media" actually sets the rd.live.check dracut command line option, which in turn triggers Anaconda, the installer, to test the installation media, by running the ...
6
votes
Accepted
Infer windows 7/8/10 ISOs official URLs from Linux
Going to either:
https://www.microsoft.com/en-us/software-download/windows8ISO
https://www.microsoft.com/en-us/software-download/windows10ISO
and changing the user agent to something else than ...
5
votes
How to burn debian iso to usb
The Debian installation guide now recommends the simpler cp command to write an ISO image to a USB drive:
# cp debian.iso /dev/sdX
# sync
This requires root or sudo access and sdX is the relevant USB ...
5
votes
Cannot create partitions in gparted after imaging iso
Posting this here just to clarify @Abhik Bose's answer.
After imaging iso using dd the USB drive has multiple partition tables at the beginning of the disk.
gparted versions below v0.28 have ISO ...
5
votes
Accepted
General question about `dd`, iso images and linux devices
Cloning and extraction
I have an iso image (it's a windows installation disk), but I do not
want to burn dvd. I want to create a bootable usb flash drive instead.
And I want to use linux tools ...
5
votes
Accepted
Bootable ISO vs. Partitioning
BIOS machines boot disks.
UEFI machines boot the UEFI partition
So neither of those boot just any partition.
If you're looking to have a bootable ISO booting from a partition, you can add the ISO ...
5
votes
Accepted
GRUB Boot ISO/disk image from NTFS partition
So, as a solution;
Background: I'm using Arch Linux. It uses mkinitcpio to generate its initramfs (and the early userspace(!)). Because we are booting a filesystem image from the NTFS, we need to ...
5
votes
Accepted
How to modify an installation ISO and keep it bootable?
To expand on and adumbrate the useful information @telcoM has provided above I provide this procedure which landed me with a working (i.e. EFI bootable, Wn10_20H2_v2_English_x64.iso) ISO. My intent ...
5
votes
Accepted
mkisofs error - boot image...efibot.img not an allowable size
It appears that I needed the -no-emul-boot option twice. One for each boot image (BIOS & EFI). The final working configuration was:
/usr/bin/mkisofs -J -R -T -V "NGS-8.4-0 Server" \
...
4
votes
How to Create Bootable Windows 10 image in Debian?
This worked for me even with legacy/CSM boot (Ubuntu 16.04, Windows 10 Version 1511 32bit; you can use genisoimage instead of mkisofs as well, mkisofs is just a symlink):
mkisofs \
-no-emul-boot \
...
4
votes
How to Create Bootable Windows 10 image in Debian?
FAT32 is just working for a hard to find 2018 MS-image, and exfat is hassle. After trying a lot of complex how to's that did not work, this 2 step solution succeeded:
Make an ntfs-partion on the USB ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
iso × 437linux × 88
debian × 45
mount × 45
boot × 40
bootable × 40
system-installation × 35
dd × 30
ubuntu × 28
grub2 × 28
usb × 26
live-usb × 25
centos × 24
mkisofs × 22
uefi × 20
rhel × 19
windows × 19
dvd × 18
usb-drive × 15
grub × 14
livecd × 14
disk-image × 13
arch-linux × 12
fedora × 10
filesystems × 10