summaryrefslogtreecommitdiff
path: root/Hurd/LiveCD.mdwn
blob: 0abce84893b4038b8a4c718b82166b0ab042689d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## <a name="Live_CD"> Live-CD </a>

It would be nice if we had a bootable Hurd Live-CD like Knoppix. This could be use by those who want to try out the Hurd before they commit to installing it on their hard disks. And a bootable Hurd CD would enable us to have a native installer instead of relying on Linux. Please add comments and suggestions.

Here's an outline of the things that need to be done.

* We need to be able get a bootloader for CDs
  * This isn't much of a problem. I've already been successful in using grub and El-torito HD emulation to boot gnumach off of a CD. There may be some minor tweaking of grub code necessary to detect which device to use for booting (instead of having the user select which device (hd0,hd1,etc.) from the grub menu).

* We need a bootstrap filesystem translator
  * This would be something like a statically linked iso9660fs translator. Compiling a statically linked iso9660fs translator is easy enough, though it doesn't boot. I don't currently know whether this is because the translator was never meant to be a bootstrap filesystem, or if there is a simple bug which has never been flushed out because the translator has never been used at boot time before. I've had trouble debugging this problem because I haven't yet figured out a way to use a remote gdb with gnumach. Theoretically you could use the "boot" command to overcome this problem, but "boot" for me mangles the terminal and exits in different manner than an actual boot.

* We need a ramdisk to enable write access
  * I think we could fake this with Farid Hajii's [memfs](http://www.fprintf.net/hurd/) translator and writing an ext2 filesystem to it. From the mem-fs README...
> memfs-1 is a translator that provides a memory-based file of fixed size. This file can, just like bigfile, contain a regular filesystem.
  * We could set a mem-fs translator anywhere on the CD you needed write access, including having softlinks to the contents of the root directory and chrooting to this new directory.

Those are the essentials. Here is a list of the things which would be nice to have for a Live-CD.

* Knoppix like script for starting up X
* DHCP support for easy network setup
* (add your favorite feature here)

Here's a mailing-list [thread](http://lists.debian.org/debian-hurd/2003/debian-hurd-200308/msg00172.html) discussing some of these issues.

-- [[Main/GregBuchholz]] - 21 Oct 2003