Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] Mounting an initrd file?
- Date: Wed, 31 May 2006 16:54:58 +0900
- From: "Stephen J. Turnbull" <email@example.com>
- Subject: Re: [tlug] Mounting an initrd file?
- References: <447D2FF6.firstname.lastname@example.org>
- Organization: The XEmacs Project
- User-agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b26 (linux)
>>>>> "Al" == Al Hoang <email@example.com> writes: Al> 4. Auto-generation tools for creating (ex. mkinitrd) don't Al> seem to be standardized. What's the canonical way to do this? "Bootstrap" and "standardized" don't mix, although GRUB seems to do a good job of hiding the difference. :-) First, since it's in a file, you will need a loopback file system. That's the -o loop option. AFAIK it's the same thing as using losetup, though. (losetup does have a manpage on my Debian sid system.) So basically running the changes on "mount -o loop -t FSTYPE /boot/initrd /mnt/foo" should eventually find it. My guess would be FSTYPE=cramfs. Maybe you can let mount do the guessing for you with FSTYPE=auto. The cpio thing is a good clue. One of the common initrd file systems is basically just a cpio file IIRC (I thought it was cramfs). You should just try listing contents with cpio or gzip | cpio; if that looks sane, unpack it and see what you get. -- School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Ask not how you can "do" free software business; ask what your business can "do for" free software.
- [tlug] Mounting an initrd file?
- From: Al Hoang
Home | Main Index | Thread Index
- Prev by Date: [tlug] Mounting an initrd file?
- Next by Date: Re: [tlug] Mounting an initrd file?
- Previous by thread: [tlug] Mounting an initrd file?
- Next by thread: Re: [tlug] Mounting an initrd file?
Home Page Mailing List Linux and Japan TLUG Members Links