Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 04-19-2008, 10:04 AM   #1
LQ Newbie
Registered: Jul 2007
Posts: 18

Rep: Reputation: 0
Unable to mount cdrom after booting into initrd from CD !!!


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.

Can somebody please help me how to mount my cdrom once I have booted from the CD and also mounted the initrd image ?
Old 04-19-2008, 11:37 AM   #2
LQ Newbie
Registered: Jul 2007
Posts: 18

Original Poster
Rep: Reputation: 0
ADDITIONAL INFO : I built the kernel using sources


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to mount cdrom JussiKp Linux - Newbie 2 12-14-2006 08:10 PM
Unable to Mount CDROM Madone_SL_5.5 Linux - Newbie 6 10-29-2006 04:01 PM
Unable to Build ELDK3.1 for kernel 2.4.25. On Booting Unable to mount root fs.. kannath Debian 0 05-11-2006 09:26 AM
unable to mount cdrom adhara Linux - Hardware 3 12-16-2003 08:32 AM
Unable to mount cdrom jreed Linux - General 11 08-28-2002 02:52 PM

All times are GMT -5. The time now is 03:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration