[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Matt Hughes <mhughes@littlefeet-inc.com>] (fwd)



>From owner-rtl Thu Jun  7 08:31:28 2001
Received: from ltfsd01.little-ft.com (mail.little-ft.com [63.215.255.3])
	by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f57EVRC27193
	for <rtl@rtlinux.org>; Thu, 7 Jun 2001 08:31:27 -0600
Received: by mail.littlefeet-inc.com with Internet Mail Service (5.5.2650.21)
	id <MMCFX3FG>; Thu, 7 Jun 2001 07:28:14 -0700
Message-ID: <B9F49C7F90DF6C4B82991BFA8E9D547B1159E0@BUFORD.littlefeet-inc.com>
From: Matt Hughes <mhughes@littlefeet-inc.com>
To: "'rtl@fsmlabs.com'" <rtl@fsmlabs.com>,
   "Rtl@Rtlinux.Org"
	 <rtl@rtlinux.org>,
   "'troy.davis@airbornedatasystems.com'"
	 <troy.davis@airbornedatasystems.com>
Subject: RE: [rtl] Booting from flash disk
Date: Thu, 7 Jun 2001 07:25:35 -0700 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"

To create the initrd image, you will want to create a 
filesystem of appropriate size, format, etc on a ram disk
or appropriately sized partition on your development machine.
Once it is mounted, you can create your root file system. 
When you are ready to go, unmount it, then create the image
with dd (i.e., something like 
"dd if=/dev/ram bs=1k count=15000 | gzip -9 > initrd.img.gz").
This would be appropriate for a 15 meg ram filesystem.
								Matt

> -----Original Message-----
> From: Troy Davis [mailto:troy.davis@airbornedatasystems.com]
> Sent: Wednesday, June 06, 2001 10:47 AM
> To: Rtl@Rtlinux.Org
> Subject: [rtl] Booting from flash disk
> 
> 
> Hello-
> 	I am following the instructions of Bernd Stahlbock on 
> his method of booting
> from a flashdisk using initrd and a ram drive.  Everything 
> works fine up
> until just after the partion check on boot:
> 
> Partition check:
>   sda:  sda1
>   hda:  hda1
> RAMDISK: Compressed image found at block 0
> [MS-DOS FS Rel.  12.FAT 0,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
> [me=0x0,cs=0,#f=0,fs=0,fl=0,ds=0,de=0,data=0,se=0,ts=0,ls=0,rc
> =0,fc=42949672
> 95]
> Transaction block size = 512
> Kernel panic: VFS: Unable to mount root fs on 01:00
> 
> 	I have initrd and ramdisk support compiled into the kernel.
> 	I've never used initrd before, so I don't know if it is 
> working correctly.
> My flashdisk is formatted as e2fs and only contains a boot 
> directory and
> initrd.img.gz.  One thing I could not do in following Bernd's 
> instructions
> is to use gzip to compress my file structure image.  I got 
> errors stating
> all of my devices in /dev were not 'a directory or a regular file -
> ignored'.  I used tar czf but I'm not sure that this will work.
> 	Is this error a file system error?  Or initrd?
> 
> 
> Troy Davis
> Airborne Data Systems, Inc.
> 
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
>