Operating System - Linux
1829105 Members
2834 Online
109986 Solutions
New Discussion

run rescue mode wtih cdrom support

 
nash11
Frequent Advisor

run rescue mode wtih cdrom support

I can run the rescue mode in RH server , but is it possible to mount the cdrom in this mode , if yes , how to do it ? thx.
4 REPLIES 4
Alexander Chuzhoy
Honored Contributor

Re: run rescue mode wtih cdrom support

You didn't specify the version you use,however if you boot from redhat's CD into rescue - the CD is already mounted under /mnt/source
nash11
Frequent Advisor

Re: run rescue mode wtih cdrom support

thx reply , but I found that when I install package to it , it pop that it is read-only , is it possible to read something to the HD ? Thx.
Alexander Chuzhoy
Honored Contributor

Re: run rescue mode wtih cdrom support

to install the package from it use the following command:
rpm --root
/mnt/sysimage /mnt/source/RedHat/RPMS/packagename --force

By the way - it looks like you didn't take the time to assign points for answers...
Sergejs Svitnevs
Honored Contributor

Re: run rescue mode wtih cdrom support

To mount cdrom in the rescue mode You should create a block device first:

# mknod /tmp/tmpcdrom b 22 0
# mount -t iso9660 /tmp/tmpcdrom /cdrom

Regards