RE: accessing CD fs from initrd
/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: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] 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 > [EMAIL PROTECTED] More majordomo info at > http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: accessing CD fs from initrd
> I suppose any live CDs based distributions (like knopix) do such >things too Only using (syslinux), mkisofs and mksquashfs here. Jan Engelhardt -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: accessing CD fs from initrd
Le Monday 25 July 2005 09:27, zvi Dubitzki("zvi Dubitzki" <[EMAIL PROTECTED]>) disait: Hello, > 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 'MkCDrec' makes a bootable CDs. Have look at it. It uses shells scripts only. So, it's easy to understand. If you want, I can mail you the initrd made by those scripts! If you're using Debian, have a look at bootcd-mkinitrd package ! I suppose any live CDs based distributions (like knopix) do such things too By the way, this is not the correct ML for these questions. Please use a list based on your GNU/Linux distribution ! -- Glennie "Personne ne survit au fait d'être estimé au-dessus de sa valeur." - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: accessing CD fs from initrd
Le Monday 25 July 2005 09:27, zvi Dubitzki(zvi Dubitzki [EMAIL PROTECTED]) disait: Hello, 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 'MkCDrec' makes a bootable CDs. Have look at it. It uses shells scripts only. So, it's easy to understand. If you want, I can mail you the initrd made by those scripts! If you're using Debian, have a look at bootcd-mkinitrd package ! I suppose any live CDs based distributions (like knopix) do such things too By the way, this is not the correct ML for these questions. Please use a list based on your GNU/Linux distribution ! -- Glennie Personne ne survit au fait d'être estimé au-dessus de sa valeur. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: accessing CD fs from initrd
I suppose any live CDs based distributions (like knopix) do such things too Only using (syslinux), mkisofs and mksquashfs here. Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
RE: accessing CD fs from initrd
/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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/