diff options
author | bencollins <tailor@grayson> | 2001-11-14 01:58:05 -0500 |
---|---|---|
committer | Ben Collins <bcollins@ubuntu.com> | 2006-06-01 13:18:13 -0400 |
commit | 0db1faff2cb07c0de84a6d79aa15dac91ea116ca (patch) | |
tree | 7955b7a61704e766049f92a8123c5d43b699fca4 /tilo | |
parent | c177e670c1142fddb595eb8a603500f8c330e705 (diff) | |
download | silo-0db1faff2cb07c0de84a6d79aa15dac91ea116ca.tar.gz |
[silo @ 48]
Set root device to 0x0100 for ramdisk, not 0x0200, which is floppy.#
Diffstat (limited to 'tilo')
-rw-r--r-- | tilo/tilo.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tilo/tilo.c b/tilo/tilo.c index 20efd80..a6ae3e9 100644 --- a/tilo/tilo.c +++ b/tilo/tilo.c @@ -249,9 +249,11 @@ int kernel_number; printf ("Can't find HdrS tag in kernel\n"); prom_halt (); } - - q[2] &= 0xffff0000; /* reset root flags */ - q[3] = 0x02000000; /* set root device and flags */ + + /* reset root flags */ + q[2] &= 0xffff0000; + /* Set root device and flags. Basically read-write. 0x0100 is ramdisk */ + q[3] = 0x01000000; q[4] = image_table[kernel_number].root_start; q[5] = image_table[ROOT_IMAGE].packed_len; |