| View previous topic :: View next topic |
| Author |
Message |
serene LXF regular

Joined: Sun Jun 19, 2005 1:43 pm Posts: 101
|
Posted: Sun Jul 15, 2012 11:13 pm Post subject: Boot From Local File On Disk [SOLVED] |
|
|
Hi.
What would be the best approach to booting a custom Debian Squeeze from a local file on disk ?
I've considered;
- .iso
- iscsi
I wish to also avoid virtualiztions, i.e. VirtualBox etc.
I'm not turning up much info on better alternatives to the above.
Thank you.
Serene |
|
| Back to top |
|
 |
ajgreeny LXF regular
Joined: Wed May 10, 2006 9:18 pm Posts: 407 Location: Oxfordshire.
|
|
| Back to top |
|
 |
serene LXF regular

Joined: Sun Jun 19, 2005 1:43 pm Posts: 101
|
Posted: Wed Jul 18, 2012 12:08 am Post subject: |
|
|
Thanks ajgreeny.
Is it your opinion that the 'only' way to boot from a file is via .iso ? |
|
| Back to top |
|
 |
ajgreeny LXF regular
Joined: Wed May 10, 2006 9:18 pm Posts: 407 Location: Oxfordshire.
|
Posted: Wed Jul 18, 2012 8:32 pm Post subject: |
|
|
| serene wrote: | Thanks ajgreeny.
Is it your opinion that the 'only' way to boot from a file is via .iso ? | I've no idea about that. _________________ Ubuntu 10.04 user, and loving it! |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 7995 Location: Warrington, UK
|
Posted: Wed Jul 18, 2012 10:58 pm Post subject: |
|
|
If you don't want to use an emulator, then most likely yes. the reason is that a bootloader can only boot from a restricted list of media types, most of which are physical devices. An ISO image is the only file type, AFAIK, that GRUB can boot from.
You could mount the file on another computer and set up network booting, but that is ridiculously complex for most uses.
Why do you have to boot from a file, why not a partition on your hard disk, or a USB device? _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
serene LXF regular

Joined: Sun Jun 19, 2005 1:43 pm Posts: 101
|
Posted: Sun Jul 22, 2012 4:11 am Post subject: |
|
|
Thanks Nelz.
The reason I wish to boot from a file is to eventually load all the OS into memory. I have a client that is attempting to verify boot file integrity via sha256sum for any corruption or tampering.
Cheers.
Serene |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 7995 Location: Warrington, UK
|
Posted: Sun Jul 22, 2012 9:37 am Post subject: |
|
|
Then I'd create a hybrid ISO, one that can be booted from CD or USB stick and give the client the ISO as well as the boot medium, that way they can check the integrity themselves.
Using the live CD approach can get everything down to two files, the kernel and the root filesystem as a squashfs. _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
serene LXF regular

Joined: Sun Jun 19, 2005 1:43 pm Posts: 101
|
Posted: Sun Jul 22, 2012 5:52 pm Post subject: |
|
|
Nelz, you're real good.
Cheers
[SOLVED] |
|
| Back to top |
|
 |
Rhakios Moderator

Joined: Thu Apr 07, 2005 12:18 am Posts: 7473 Location: Midlands, UK
|
Posted: Mon Jul 23, 2012 8:44 pm Post subject: |
|
|
There we go, set as solved properly. _________________ Bye, Rhakios |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|