Re: [slackware-sparcdevel] Updates, updates, updates

From: Phil Howard (phil@ipal.net)
Date: Mon Jan 08 2001 - 06:19:33 PST


Hank Leininger wrote:

> Tried to boot a box via CD, failed to mount the initrd image as root.
> (The kernel apparently doesn't realize that the initrd image is gzipped,
> and goes through trying to mount it directly as FAT and UFS before
> giving up.) Had this problem before; may be issues booting off my
> (Sun!) cdrom drive. Nbd, net-booting works.

I can't see where FAT or UFS is supported for initrd. The only support
I see in drivers/block/rd.c (2.4.0) is minix, ext2, romfs, and gzip.
The following code detects the gzip, so you might check to see if the
initrd image actually has these bytes, to see if the file is bad, or
something went wrong elsewhere.

        /*
         * If it matches the gzip magic numbers, return -1
         */
        if (buf[0] == 037 && ((buf[1] == 0213) || (buf[1] == 0236))) {
                printk(KERN_NOTICE
                       "RAMDISK: Compressed image found at block %d\n",
                       start_block);
                nblocks = 0;
                goto done;
        }

-- 
-----------------------------------------------------------------
| Phil Howard - KA9WGN |   Dallas   | http://linuxhomepage.com/ |
| phil-nospam@ipal.net | Texas, USA | http://phil.ipal.org/     |
-----------------------------------------------------------------



This archive was generated by hypermail 2b30 : Thu Sep 19 2002 - 11:00:02 PDT