LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Unable to mount cdrom after booting into initrd from CD !!! (https://www.linuxquestions.org/questions/linux-kernel-70/unable-to-mount-cdrom-after-booting-into-initrd-from-cd-636440/)

ENVee 04-19-2008 10:04 AM

Unable to mount cdrom after booting into initrd from CD !!!
 
Hello,

I have created a boot CD using the stage2_eltorito GRUB image.
I placed my kernel and initrd image inside the boot directory.
Also , I have placed the kernel modules in another directory on the CD.
My objective is to try and create an install CD for an LFS System that I have already created(not a LiveCD)
This is only the first step towards achieving that.

The kernel boots fine and also mounts the initrd. I have installed busybox (latest version) in this initrd. In the linuxrc script , I mount the /proc and /sys file systems.

My problem : :(
-------------
At the 'ash' shell , I am not able to mount the CDROM from which I just booted. I have created the device node hda for the cdrom and infact on digging deeper in the /proc/ide files , I see that the media type for the ide for hda is infact cdrom. However , I do not see an entry in /sys/block for hda. Although there is an entry for hdb in /sys/block.

When I try to mount the cdrom for e.g. :
mount -t iso9660 /dev/hda /mnt/cdrom

I get the error : No such device or address.

I am stumped.:confused:

Can somebody please help me how to mount my cdrom once I have booted from the CD and also mounted the initrd image ?

ENVee 04-19-2008 11:37 AM

ADDITIONAL INFO : I built the kernel using 2.6.24.3 sources


All times are GMT -5. The time now is 11:07 PM.