Timeline for How to boot a writable disk image (created with dd from Debian or another distribution) with GRUB?
Current License: CC BY-SA 4.0
22 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 19 at 11:03 | history | edited | ReflectYourCharacter | CC BY-SA 4.0 | added 17 characters in body |
| Feb 21 at 7:33 | history | undeleted | ReflectYourCharacter | ||
| Feb 20 at 19:47 | history | deleted | ReflectYourCharacter | via Vote | |
| Feb 17 at 11:43 | history | edited | ReflectYourCharacter | Add iso tag | |
| Feb 17 at 9:02 | history | undeleted | ReflectYourCharacter | ||
| Feb 16 at 21:22 | history | deleted | ReflectYourCharacter | via Vote | |
| Feb 16 at 21:18 | history | undeleted | ReflectYourCharacter | ||
| Sep 14, 2024 at 0:24 | history | deleted | ReflectYourCharacter | via Vote | |
| Sep 14, 2024 at 0:16 | history | undeleted | ReflectYourCharacter | ||
| Sep 14, 2024 at 0:05 | history | deleted | ReflectYourCharacter | via Vote | |
| S Sep 9, 2024 at 20:08 | history | bounty ended | CommunityBot | ||
| S Sep 9, 2024 at 20:08 | history | notice removed | CommunityBot | ||
| Sep 8, 2024 at 6:20 | comment | added | Bertrand125 | I know a way to boot a a disk image in read/write mode, but it requires to add a specific and modified initrd in the disk image. I don't know if it can work with LUKS encrypted filesystems, I have no knowledge of disk encryption. If you are interested, I can post the method in an answer. | |
| Sep 4, 2024 at 9:38 | comment | added | frostschutz | Otherwise it's more or less not possible, since GRUB does not emulate block devices for the kernel or anything. | |
| Sep 4, 2024 at 9:36 | comment | added | frostschutz | Basically your disk image is the one that needs to provide the functionality, more so than GRUB. If you want it to work out of the box, then create partitions (one for every partition in your disk image, since partitions inside partitions also don't work - another alternative might be LVM). That usually works since "mount by uuid" is possible then, regardless of device name or partition number; it is the most direct solution. | |
| Sep 4, 2024 at 9:29 | comment | added | frostschutz | You have to keep in mind, that any shenanigans you do in GRUB, you have to replicate when you actually boot kernel + initramfs. Even for Linux Live ISOs, it only works for those that do the loop-mounting in their initrds. And you can do that with any bootloader, if you extract the kernel+initrd beforehand (if they can't grab it from within the ISO like GRUB does). | |
| Sep 1, 2024 at 18:41 | history | edited | ReflectYourCharacter | CC BY-SA 4.0 | added 96 characters in body |
| S Sep 1, 2024 at 18:25 | history | bounty started | ReflectYourCharacter | ||
| S Sep 1, 2024 at 18:25 | history | notice added | ReflectYourCharacter | Authoritative reference needed | |
| Sep 1, 2024 at 18:25 | history | edited | ReflectYourCharacter | CC BY-SA 4.0 | Correct text and add more tags |
| Aug 30, 2024 at 18:02 | history | edited | ReflectYourCharacter | CC BY-SA 4.0 | edited body |
| Aug 30, 2024 at 17:54 | history | asked | ReflectYourCharacter | CC BY-SA 4.0 |