mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Roger Heflin" <rheflin@atipa.com>
To: "'zvi Dubitzki'" <zvidubitzki@hotmail.com>,
	<linux-kernel@vger.kernel.org>
Subject: RE: accessing CD fs from initrd
Date: Mon, 25 Jul 2005 10:25:20 -0500	[thread overview]
Message-ID: <EXCHG2003yxdZjfNLnl00000512@EXCHG2003.microtech-ks.com> (raw)
In-Reply-To: <BAY17-F4D75DC4B383C374A1BCD3BCCA0@phx.gbl>


/dev/cdrom is a link to the proper device, if that link is not
on the initrd /dev/cdrom won't work.

I previously had some statically linked linuxrc C code (I don't
have the code anymore- it was a work-for-hire), that scanned
the various locations that the cd could be (/dev/hd[abcd...])
and looked for specific files that it expected to be on the
cd, once it found it it setup real-root-dev to be proper for
that device.

This work rather nicely in situations where the location of
the cd drive was not the same from one machine to another,
and was rather simple to write.

                        Roger 

> -----Original Message-----
> From: linux-kernel-owner@vger.kernel.org 
> [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of zvi Dubitzki
> Sent: Monday, July 25, 2005 2:28 AM
> To: linux-kernel@vger.kernel.org
> Subject: accessing CD fs from initrd
> 
> Hi there
> 
> I want to be CC-ed on a possible answer to the following question.
> I have not found yet an answer to the question in the Linux archives.
> 
> In need access the CD filesystem (iso9660) from within the 
> Linux initrd or right after that (make it root fs).
> I need an example for that since allocating enough ramdisk 
> space (ramdisk_size=90k in kernel command line)  + loading 
> the cdrom.o module at the initrd did not help  mount the CD 
> device (/dev/cdrom)  at the initrd Also I need know how to 
> pivot between the initrd and the CD filesystem
> 
> I am actually using Isolinux/syslinux, but can make test on a 
> regular Linux .
> Any pointer to a literature will also be welcomed .
> 
> thanks
> 
> Zvi Dubitzki
> 
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar - get it now! 
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
> 
> -
> To unsubscribe from this list: send the line "unsubscribe 
> linux-kernel" in the body of a message to 
> majordomo@vger.kernel.org More majordomo info at  
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


      parent reply	other threads:[~2005-07-25 15:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-25  7:27 zvi Dubitzki
2005-07-25 10:23 ` Glennie Vignarajah
2005-07-25 10:47   ` Jan Engelhardt
2005-07-25 15:25 ` Roger Heflin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=EXCHG2003yxdZjfNLnl00000512@EXCHG2003.microtech-ks.com \
    --to=rheflin@atipa.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zvidubitzki@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®